Codeforces Round 119 (Div. 2)

Solutions are presented as using the least memory and the fastest execution time. It also takes the top 10 most recent solutions from each language. If you want to limit to a specific index, click the "Solved" button and go to that problem.

ContestId
Name
Phase
Frozen
Duration (Seconds)
Relative Time
Start Time
189 Codeforces Round 119 (Div. 2) FINISHED False 7200 400516163 May 10, 2012, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 3973 ) B Counting Rhombi PROGRAMMING brute force math 1400

B"You have two positive integers w and h. Your task is to count the number of rhombi which have the following properties: Count the number of such rhombi. Let us remind you that a rhombus is a quadrilateral whose four sides all have the same length. The first line contains two integers w and h (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89w, xe2 x80 x89h xe2 x80 x89 xe2 x89 xa4 xe2 x80 x894000) -- the rectangle's sizes. Print a single number -- the number of sought rhombi. Please do not use the %lld specifier to read or write 64-bit integers in xd0 xa1++. It is preferred to use cin, cout streams or the %I64d specifier. In the first example there exists only one such rhombus. Its vertices are located at points (1, xe2 x80 x890), (2, xe2 x80 x891), (1, xe2 x80 x892), (0, xe2 x80 x891)."...

Tutorials

Codeforces Round #119 — Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
27400452 vjudge5 B May 28, 2017, 4:11 a.m. OK GNU C++ TESTS 26 30 0 1400
27399253 vjudge4 B May 28, 2017, 2:18 a.m. OK GNU C++ TESTS 26 30 0 1400
27399142 vjudge2 B May 28, 2017, 2:04 a.m. OK GNU C++ TESTS 26 30 0 1400
31207027 vjudge4 B Oct. 11, 2017, 5:39 a.m. OK GNU C++ TESTS 26 30 0 1400
27399094 vjudge4 B May 28, 2017, 1:59 a.m. OK GNU C++ TESTS 26 30 0 1400
31300246 Rocksus B Oct. 14, 2017, 9:49 a.m. OK GNU C++ TESTS 26 30 0 1400
31046730 _QWOiNYUIVMPFSBKLiGSMAP_ B Oct. 5, 2017, 8:35 p.m. OK GNU C++ TESTS 26 30 0 1400
27423611 vjudge5 B May 29, 2017, 5:42 a.m. OK GNU C++ TESTS 26 30 0 1400
27400550 vjudge2 B May 28, 2017, 4:20 a.m. OK GNU C++ TESTS 26 30 0 1400
27400496 vjudge5 B May 28, 2017, 4:15 a.m. OK GNU C++ TESTS 26 30 0 1400
66619094 a.h.rajabi B Dec. 11, 2019, 6:05 a.m. OK GNU C11 TESTS 26 62 0 1400
64495834 kaiboy B Nov. 7, 2019, 11:40 p.m. OK GNU C11 TESTS 26 62 0 1400
51436045 vjudge1 B March 18, 2019, 6:28 a.m. OK GNU C11 TESTS 26 62 0 1400
55564042 hitman_28 B June 14, 2019, 2:19 p.m. OK GNU C11 TESTS 26 62 0 1400
64480561 kaiboy B Nov. 7, 2019, 3:47 p.m. OK GNU C11 TESTS 26 62 0 1400
29521037 ea6102 B Aug. 17, 2017, 7:38 a.m. OK GNU C++11 TESTS 26 30 0 1400
27582756 mrwhite B June 5, 2017, 12:31 p.m. OK GNU C++11 TESTS 26 30 0 1400
57822472 py_ultron B July 27, 2019, 12:37 a.m. OK GNU C++11 TESTS 26 30 0 1400
27452911 tudoropris11 B May 30, 2017, 5:26 p.m. OK GNU C++11 TESTS 26 30 0 1400
55418611 Scut82 B June 11, 2019, 4:45 a.m. OK GNU C++11 TESTS 26 30 0 1400
38711233 SJ_1397 B May 29, 2018, 6:50 a.m. OK GNU C++11 TESTS 26 30 0 1400
32569937 SandraS B Nov. 23, 2017, 8:40 a.m. OK GNU C++11 TESTS 26 30 0 1400
32233818 Princ_iple B Nov. 12, 2017, 3:27 a.m. OK GNU C++11 TESTS 26 30 0 1400
28543392 AbdallaMaher B July 14, 2017, 8:50 a.m. OK GNU C++11 TESTS 26 30 1945600 1400
35958936 Rebirth_A B March 5, 2018, 8:06 a.m. OK GNU C++11 TESTS 26 30 2048000 1400
32561459 MuhammedMokbelQ_Q B Nov. 22, 2017, 8:45 p.m. OK GNU C++14 TESTS 26 30 0 1400
67590573 CoderAnshu B Dec. 25, 2019, 9:30 a.m. OK GNU C++14 TESTS 26 30 0 1400
62262641 Omkar99 B Oct. 10, 2019, 12:42 p.m. OK GNU C++14 TESTS 26 30 0 1400
59588207 San007 B Aug. 27, 2019, 6:59 p.m. OK GNU C++14 TESTS 26 30 0 1400
56725813 Level.UP B July 8, 2019, 7:38 p.m. OK GNU C++14 TESTS 26 30 0 1400
56153552 dwai009 B June 27, 2019, 9:09 a.m. OK GNU C++14 TESTS 26 30 0 1400
51781444 JavierDlg B March 24, 2019, 5:05 a.m. OK GNU C++14 TESTS 26 30 0 1400
48276589 Oddity B Jan. 12, 2019, 6:01 a.m. OK GNU C++14 TESTS 26 30 0 1400
32573409 Heshamovic B Nov. 23, 2017, 11:27 a.m. OK GNU C++14 TESTS 26 30 0 1400
31925187 Dalenator B Oct. 31, 2017, 3 p.m. OK GNU C++14 TESTS 26 30 0 1400
51903329 vjudge1 B March 27, 2019, 2:21 p.m. OK GNU C++17 TESTS 26 30 0 1400
47501575 adarshagr8 B Dec. 25, 2018, 6:17 p.m. OK GNU C++17 TESTS 26 30 0 1400
51993902 __REXX__ B March 29, 2019, 10:47 p.m. OK GNU C++17 TESTS 26 30 0 1400
52337812 pranavn10 B April 5, 2019, 8:55 a.m. OK GNU C++17 TESTS 26 30 0 1400
54079193 praveenojha33 B May 14, 2019, 12:39 a.m. OK GNU C++17 TESTS 26 30 0 1400
58978476 landcold7 B Aug. 18, 2019, 2:40 a.m. OK GNU C++17 TESTS 26 30 0 1400
69484190 TheWitcher B Jan. 24, 2020, 6:51 p.m. OK GNU C++17 TESTS 26 30 0 1400
36262747 Ashishgup B March 14, 2018, 12:25 a.m. OK GNU C++17 TESTS 26 30 1945600 1400
36137435 pun250 B March 10, 2018, 5:28 a.m. OK GNU C++17 TESTS 26 30 1945600 1400
36651988 QuwsarOhi B March 26, 2018, 7:23 p.m. OK GNU C++17 TESTS 26 30 3686400 1400
52821605 saurabhs1206 B April 16, 2019, 12:15 p.m. OK Java 8 TESTS 26 216 0 1400
58099836 MohamedK B July 31, 2019, 11:23 p.m. OK Java 8 TESTS 26 216 0 1400
31280992 sjain281297 B Oct. 13, 2017, 5:15 p.m. OK Java 8 TESTS 26 218 0 1400
32073874 kocko B Nov. 5, 2017, 10:50 a.m. OK Java 8 TESTS 26 218 0 1400
58628847 BiggestPrime B Aug. 11, 2019, 6:41 p.m. OK Java 8 TESTS 26 248 0 1400
47379256 deepak4669 B Dec. 22, 2018, 7:37 p.m. OK Java 8 TESTS 26 248 0 1400
36036444 CharlesDai B March 7, 2018, 7:59 a.m. OK Java 8 TESTS 26 248 20684800 1400
35472647 Tarun B Feb. 19, 2018, 2:06 p.m. OK Java 8 TESTS 26 248 20684800 1400
35445538 chuongk B Feb. 18, 2018, 12:25 p.m. OK Java 8 TESTS 26 248 20684800 1400
32199494 Ahmad_Elsagheer B Nov. 10, 2017, 3:47 p.m. OK Java 8 TESTS 26 278 0 1400
54440611 d.kruglov B May 21, 2019, 8:26 a.m. OK Kotlin TESTS 26 280 0 1400
54439914 Satellite B May 21, 2019, 8:03 a.m. OK Kotlin TESTS 26 342 0 1400
28273472 vjudge3 B July 4, 2017, 7:17 a.m. OK MS C++ TESTS 26 30 2048000 1400
65430910 vjudge3 B Nov. 20, 2019, 12:02 p.m. OK MS C++ TESTS 26 62 0 1400
54279780 vjudge5 B May 17, 2019, 12:51 p.m. OK MS C++ TESTS 26 62 0 1400
53817288 vjudge3 B May 6, 2019, 11:20 a.m. OK MS C++ TESTS 26 62 0 1400
53394580 vjudge4 B April 27, 2019, 8:32 a.m. OK MS C++ TESTS 26 62 0 1400
53309167 vjudge5 B April 26, 2019, 5:12 a.m. OK MS C++ TESTS 26 62 0 1400
53270897 vjudge1 B April 25, 2019, 6:11 a.m. OK MS C++ TESTS 26 62 0 1400
53190095 vjudge2 B April 23, 2019, 12:25 p.m. OK MS C++ TESTS 26 62 0 1400
54280375 vjudge3 B May 17, 2019, 1:06 p.m. OK MS C++ TESTS 26 92 0 1400
53473658 vjudge1 B April 28, 2019, 2:08 p.m. OK MS C++ TESTS 26 156 0 1400
56973845 2462478392 B July 13, 2019, 11:25 a.m. OK MS C++ 2017 TESTS 26 62 0 1400
27940874 Ferume B June 21, 2017, 8:29 a.m. OK PyPy 2 TESTS 26 154 22016000 1400
38780680 KeyurJain B May 30, 2018, 5:12 p.m. OK PyPy 3 TESTS 26 218 21094400 1400
61777504 Voneone B Oct. 3, 2019, 12:08 p.m. OK PyPy 3 TESTS 26 280 1228800 1400
62038545 bergus B Oct. 7, 2019, 5:01 a.m. OK PyPy 3 TESTS 26 466 1536000 1400
62824086 ashok123 B Oct. 17, 2019, 5:29 p.m. OK PyPy 3 TESTS 26 1058 1945600 1400
57602302 shiv1470 B July 23, 2019, 4:19 p.m. OK PyPy 3 TESTS 26 1122 1945600 1400
35591889 Vito_Corleone B Feb. 23, 2018, 8:55 a.m. OK Python 2 TESTS 26 124 4608000 1400
26689211 arpitkath B April 26, 2017, 5:50 p.m. OK Python 2 TESTS 26 124 4710400 1400
42010631 nilesh8757 B Aug. 23, 2018, 11:58 p.m. OK Python 2 TESTS 26 342 0 1400
67442418 mota_haathi B Dec. 22, 2019, 7:58 p.m. OK Python 2 TESTS 26 404 0 1400
60272649 rajat_2548 B Sept. 8, 2019, 4:15 p.m. OK Python 2 TESTS 26 1996 102400 1400
29606209 Qumeric B Aug. 19, 2017, 6:36 p.m. OK Python 3 TESTS 26 124 0 1400
37026877 _4C3_ B April 6, 2018, 4:49 p.m. OK Python 3 TESTS 26 154 7065600 1400
55714770 MajAK B June 18, 2019, 12:08 p.m. OK Python 3 TESTS 26 218 0 1400
49691471 deadguy B Feb. 10, 2019, 11:29 a.m. OK Python 3 TESTS 26 218 0 1400
66540383 hjq000 B Dec. 9, 2019, 11:16 a.m. OK Python 3 TESTS 26 248 0 1400
60322240 Mohd. B Sept. 9, 2019, 9:14 p.m. OK Python 3 TESTS 26 248 0 1400
59705840 ashwin2000 B Aug. 30, 2019, 12:37 p.m. OK Python 3 TESTS 26 248 0 1400
53661329 Mohamed_Ayman B May 2, 2019, 7:52 a.m. OK Python 3 TESTS 26 248 0 1400
42123685 Mk_Python_v1 B Aug. 26, 2018, 1:51 p.m. OK Python 3 TESTS 26 248 0 1400
35843638 ______u______ B March 2, 2018, 3:16 p.m. OK Ruby TESTS 26 154 6451200 1400
35843618 ______n______ B March 2, 2018, 3:15 p.m. OK Ruby TESTS 26 154 6451200 1400
35843391 _____i_____ B March 2, 2018, 3:11 p.m. OK Ruby TESTS 26 154 6451200 1400
35843184 _____k_____ B March 2, 2018, 3:06 p.m. OK Ruby TESTS 26 154 6451200 1400
35838288 ______h______ B March 2, 2018, 1:29 p.m. OK Ruby TESTS 26 154 6451200 1400
35838287 ______k______ B March 2, 2018, 1:29 p.m. OK Ruby TESTS 26 154 6451200 1400
35838170 ______i______ B March 2, 2018, 1:27 p.m. OK Ruby TESTS 26 154 6451200 1400
35835804 ______M______ B March 2, 2018, 12:39 p.m. OK Ruby TESTS 26 154 6451200 1400

remove filters

Back to search problems