Codeforces Round 461 (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
922 Codeforces Round 461 (Div. 2) FINISHED False 7200 213799499 Feb. 7, 2018, 5:15 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 8522 ) B Magic Forest PROGRAMMING brute force 1300

B'Imp is in a magic forest, where xorangles grow (wut?) A xorangle of order n is such a non-degenerate triangle, that lengths of its sides are integers not exceeding n, and the xor-sum of the lengths is equal to zero. Imp has to count the number of distinct xorangles of order n to get out of the forest. Formally, for a given integer n you have to find the number of such triples (a, xe2 x80 x89b, xe2 x80 x89c), that: The only line contains a single integer n (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x892500). Print the number of xorangles of order n. The only xorangle in the first sample is (3, xe2 x80 x895, xe2 x80 x896). '...

Tutorials

57605

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
46469255 vjudge4 B Dec. 2, 2018, 6:28 a.m. OK Clang++17 Diagnostics TESTS 44 46 0 1300
46469154 vjudge3 B Dec. 2, 2018, 6:23 a.m. OK Clang++17 Diagnostics TESTS 44 62 0 1300
35440973 TuM0xA B Feb. 18, 2018, 9 a.m. OK FPC TESTS 44 15 1638400 1300
35090035 vladimirbait B Feb. 9, 2018, 12:49 p.m. OK FPC TESTS 44 15 1638400 1300
35080859 leedinh B Feb. 9, 2018, 6:58 a.m. OK FPC TESTS 44 15 1638400 1300
35120557 Ivan2020 B Feb. 10, 2018, 10:33 a.m. OK FPC TESTS 44 30 1638400 1300
66083163 1942938446 B Dec. 1, 2019, 2:14 a.m. OK FPC TESTS 44 31 0 1300
56184211 chaorenhaha B June 28, 2019, 3:12 a.m. OK FPC TESTS 44 31 0 1300
36991888 rabbitcxk B April 5, 2018, 8:20 a.m. OK FPC TESTS 44 31 3072000 1300
36348861 andriybosik2002 B March 17, 2018, 9:15 a.m. OK FPC TESTS 44 31 3072000 1300
56184213 chaorenhaha B June 28, 2019, 3:12 a.m. OK FPC TESTS 44 46 0 1300
47478551 chaorenhaha B Dec. 25, 2018, 1:17 a.m. OK FPC TESTS 44 46 0 1300
35617909 kenchi2 B Feb. 24, 2018, 8:05 a.m. OK GNU C TESTS 44 15 1843200 1300
36274359 vjudge1 B March 14, 2018, 12:04 p.m. OK GNU C TESTS 44 15 1843200 1300
36180416 _abhinav__ B March 10, 2018, 10:04 p.m. OK GNU C TESTS 44 15 1843200 1300
36075123 vjudge4 B March 8, 2018, 3:06 p.m. OK GNU C TESTS 44 15 1843200 1300
35869360 Arishenk B March 3, 2018, 5:49 a.m. OK GNU C TESTS 44 15 1843200 1300
35204449 nish29 B Feb. 13, 2018, 3:46 p.m. OK GNU C TESTS 44 15 1843200 1300
35184854 Mrinmoy_31415 B Feb. 12, 2018, 5:12 p.m. OK GNU C TESTS 44 15 1843200 1300
35123548 nor22 B Feb. 10, 2018, 12:14 p.m. OK GNU C TESTS 44 15 1843200 1300
35116815 vjudge1 B Feb. 10, 2018, 8:28 a.m. OK GNU C TESTS 44 15 1843200 1300
35099924 e.nipul B Feb. 9, 2018, 5:10 p.m. OK GNU C TESTS 44 15 1843200 1300
38711604 20050901 B May 29, 2018, 7:11 a.m. OK GNU C++ TESTS 44 15 0 1300
35990045 vjudge4 B March 6, 2018, 11:38 a.m. OK GNU C++ TESTS 44 15 1843200 1300
35587448 vjudge4 B Feb. 23, 2018, 3:20 a.m. OK GNU C++ TESTS 44 15 1843200 1300
35221819 monk50108 B Feb. 14, 2018, 2:12 a.m. OK GNU C++ TESTS 44 15 1843200 1300
35221251 vjudge1 B Feb. 14, 2018, 12:57 a.m. OK GNU C++ TESTS 44 15 1843200 1300
35178712 Z1154990071 B Feb. 12, 2018, 1:12 p.m. OK GNU C++ TESTS 44 15 1843200 1300
35175385 vjudge5 B Feb. 12, 2018, 10:52 a.m. OK GNU C++ TESTS 44 15 1843200 1300
35166237 tpsoete B Feb. 12, 2018, 1:16 a.m. OK GNU C++ TESTS 44 15 1843200 1300
36048911 vjudge5 B March 7, 2018, 3:08 p.m. OK GNU C++ TESTS 44 15 1843200 1300
35155010 xuanwojiuxin B Feb. 11, 2018, 2 p.m. OK GNU C++ TESTS 44 15 1843200 1300
35051321 zero1998 B Feb. 8, 2018, 8:53 a.m. OK GNU C11 TESTS 44 15 1843200 1300
36213407 XG20 B March 12, 2018, 1:56 a.m. OK GNU C11 TESTS 44 15 1843200 1300
35161282 maph4cker B Feb. 11, 2018, 6:45 p.m. OK GNU C11 TESTS 44 15 1843200 1300
35133186 vjudge2 B Feb. 10, 2018, 5:48 p.m. OK GNU C11 TESTS 44 15 1843200 1300
35130461 0xA B Feb. 10, 2018, 3:59 p.m. OK GNU C11 TESTS 44 15 1843200 1300
35072212 Cyberologist B Feb. 8, 2018, 8:52 p.m. OK GNU C11 TESTS 44 15 1843200 1300
35054225 DrTennant B Feb. 8, 2018, 10:29 a.m. OK GNU C11 TESTS 44 30 1843200 1300
60497583 You_Know_Who B Sept. 13, 2019, 5:03 p.m. OK GNU C11 TESTS 44 31 0 1300
59037345 Cloud_ B Aug. 18, 2019, 3:17 p.m. OK GNU C11 TESTS 44 31 0 1300
61883100 alwaysF B Oct. 5, 2019, 1:43 a.m. OK GNU C11 TESTS 44 31 0 1300
35090883 RoyalLin B Feb. 9, 2018, 1:12 p.m. OK GNU C++11 TESTS 44 15 1843200 1300
35904307 bimaoe B March 4, 2018, 1 a.m. OK GNU C++11 TESTS 44 15 1843200 1300
35616799 Francleene B Feb. 24, 2018, 7 a.m. OK GNU C++11 TESTS 44 15 1843200 1300
35571347 Hope_amasser B Feb. 22, 2018, 11:19 a.m. OK GNU C++11 TESTS 44 15 1843200 1300
35537568 xyzzxy B Feb. 21, 2018, 4:21 a.m. OK GNU C++11 TESTS 44 15 1843200 1300
35435107 rzy_99 B Feb. 18, 2018, 3:05 a.m. OK GNU C++11 TESTS 44 15 1843200 1300
35204933 Madeline B Feb. 13, 2018, 4:05 p.m. OK GNU C++11 TESTS 44 15 1843200 1300
35151990 shreerhs B Feb. 11, 2018, 11:56 a.m. OK GNU C++11 TESTS 44 15 1843200 1300
35125297 QuartZ_Z B Feb. 10, 2018, 1:15 p.m. OK GNU C++11 TESTS 44 15 1843200 1300
35122018 IMIMIMIIM B Feb. 10, 2018, 11:25 a.m. OK GNU C++11 TESTS 44 15 1843200 1300
38421974 alechuang98 B May 19, 2018, 7:45 a.m. OK GNU C++14 TESTS 44 15 307200 1300
39017290 Nitish_cet B June 7, 2018, 11:15 a.m. OK GNU C++14 TESTS 44 15 1638400 1300
36147733 etman.x.x B March 10, 2018, 10:59 a.m. OK GNU C++14 TESTS 44 15 1843200 1300
36041697 szarki B March 7, 2018, 11:26 a.m. OK GNU C++14 TESTS 44 15 1843200 1300
36032922 vjudge3 B March 7, 2018, 5:05 a.m. OK GNU C++14 TESTS 44 15 1843200 1300
35899634 _I_am_back_ B March 3, 2018, 6:47 p.m. OK GNU C++14 TESTS 44 15 1843200 1300
35865578 walht B March 3, 2018, 12:48 a.m. OK GNU C++14 TESTS 44 15 1843200 1300
35587442 ykl1161180908 B Feb. 23, 2018, 3:19 a.m. OK GNU C++14 TESTS 44 15 1843200 1300
35795052 acIN1go B Feb. 28, 2018, 7:33 p.m. OK GNU C++14 TESTS 44 15 1843200 1300
36199334 DANDROZAVR B March 11, 2018, 12:30 p.m. OK GNU C++14 TESTS 44 15 1843200 1300
47464212 Bars B Dec. 24, 2018, 4:55 p.m. OK GNU C++17 TESTS 44 15 0 1300
49545854 stillnotyet B Feb. 6, 2019, 10:19 p.m. OK GNU C++17 TESTS 44 15 204800 1300
35971390 vjudge5 B March 5, 2018, 4:10 p.m. OK GNU C++17 TESTS 44 15 1843200 1300
35765765 maozkurt B Feb. 27, 2018, 2:35 p.m. OK GNU C++17 TESTS 44 15 1843200 1300
35915785 vjudge2 B March 4, 2018, 9:59 a.m. OK GNU C++17 TESTS 44 15 1843200 1300
35915791 vjudge3 B March 4, 2018, 9:59 a.m. OK GNU C++17 TESTS 44 15 1843200 1300
36243135 mayorovmp B March 13, 2018, 9:15 a.m. OK GNU C++17 TESTS 44 15 1945600 1300
36284121 savelyevlad B March 14, 2018, 6:02 p.m. OK GNU C++17 TESTS 44 15 1945600 1300
36072831 leiouleiou B March 8, 2018, 1:42 p.m. OK GNU C++17 TESTS 44 15 1945600 1300
36162049 vjudge5 B March 10, 2018, 4:13 p.m. OK GNU C++17 TESTS 44 15 1945600 1300
35043467 jizhiyi B Feb. 8, 2018, 4:17 a.m. OK GNU C++17 Diagnostics TESTS 44 951 99328000 1300
35093111 yermak0v B Feb. 9, 2018, 2:19 p.m. OK GNU C++17 Diagnostics TESTS 44 951 100966400 1300
35056141 ritvik_sangwan B Feb. 8, 2018, 11:37 a.m. OK GNU C++17 Diagnostics TESTS 44 966 101478400 1300
50151284 vjudge3 B Feb. 19, 2019, 7:33 a.m. OK Haskell TESTS 44 46 102400 1300
35379434 faultrit B Feb. 17, 2018, 12:24 a.m. OK Haskell TESTS 44 93 53248000 1300
35169973 danielfleischman B Feb. 12, 2018, 6:13 a.m. OK Haskell TESTS 44 108 53248000 1300
69684066 insane_28 B Jan. 28, 2020, 4:29 p.m. OK Java 8 TESTS 44 109 0 1300
68688785 vjudge4 B Jan. 13, 2020, 5:03 a.m. OK Java 8 TESTS 44 109 0 1300
55229964 Vatsal53 B June 7, 2019, 4:56 a.m. OK Java 8 TESTS 44 109 0 1300
49600625 Samez B Feb. 7, 2019, 5 p.m. OK Java 8 TESTS 44 109 0 1300
35106142 tomash_em B Feb. 9, 2018, 9:34 p.m. OK Java 8 TESTS 44 109 20684800 1300
35067615 varchd250295 B Feb. 8, 2018, 5:30 p.m. OK Java 8 TESTS 44 109 20684800 1300
56399389 geekymanas B July 1, 2019, 4:08 p.m. OK Java 8 TESTS 44 124 0 1300
60357640 codrex B Sept. 10, 2019, 4:51 p.m. OK Java 8 TESTS 44 124 0 1300
69683945 insane_28 B Jan. 28, 2020, 4:27 p.m. OK Java 8 TESTS 44 124 0 1300
65699726 bluesky111 B Nov. 25, 2019, 10:10 a.m. OK Java 8 TESTS 44 124 0 1300
35179318 karpengold B Feb. 12, 2018, 1:33 p.m. OK JavaScript TESTS 44 46 5939200 1300
59876421 david_varela B Sept. 2, 2019, 12:05 a.m. OK Kotlin TESTS 44 124 0 1300
59876455 david_varela B Sept. 2, 2019, 12:08 a.m. OK Kotlin TESTS 44 140 0 1300
50573081 nemars B Feb. 27, 2019, 4:30 p.m. OK Mono C# TESTS 44 46 0 1300
37845431 og.kostya B May 2, 2018, 4:33 p.m. OK Mono C# TESTS 44 46 7987200 1300
35058869 Xtreemist B Feb. 8, 2018, 12:59 p.m. OK Mono C# TESTS 44 46 9318400 1300
35800349 NaRkoZ B March 1, 2018, 2:34 a.m. OK Mono C# TESTS 44 46 9318400 1300
64715344 ansergeyg B Nov. 11, 2019, 9:28 p.m. OK Mono C# TESTS 44 62 0 1300
64714957 ansergeyg B Nov. 11, 2019, 9:08 p.m. OK Mono C# TESTS 44 62 0 1300
35412077 ToToshka45 B Feb. 17, 2018, 11:46 a.m. OK MS C# TESTS 44 46 9216000 1300
35067885 Samyrai B Feb. 8, 2018, 5:40 p.m. OK MS C# TESTS 44 46 9318400 1300
35152225 Resonanc3 B Feb. 11, 2018, 12:06 p.m. OK MS C# TESTS 44 46 9318400 1300
35165297 marius123 B Feb. 11, 2018, 11:21 p.m. OK MS C# TESTS 44 46 9318400 1300
35411985 ToToshka45 B Feb. 17, 2018, 11:46 a.m. OK MS C# TESTS 44 46 9318400 1300
35127876 msz301005 B Feb. 10, 2018, 2:31 p.m. OK MS C++ TESTS 44 15 2048000 1300
36208191 vjudge4 B March 11, 2018, 6:37 p.m. OK MS C++ TESTS 44 15 2048000 1300
36148094 karine_ayrs B March 10, 2018, 11:12 a.m. OK MS C++ TESTS 44 15 2048000 1300
36048517 vjudge1 B March 7, 2018, 2:54 p.m. OK MS C++ TESTS 44 15 2048000 1300
35576405 neyvanov B Feb. 22, 2018, 3 p.m. OK MS C++ TESTS 44 15 2048000 1300
35553209 1998.8 B Feb. 21, 2018, 4:02 p.m. OK MS C++ TESTS 44 15 2048000 1300
35544052 lkitrossky B Feb. 21, 2018, 10:28 a.m. OK MS C++ TESTS 44 15 2048000 1300
35128679 Zol.Fyodor B Feb. 10, 2018, 2:57 p.m. OK MS C++ TESTS 44 15 2048000 1300
35127964 molberte B Feb. 10, 2018, 2:34 p.m. OK MS C++ TESTS 44 15 2048000 1300
35118791 vjudge5 B Feb. 10, 2018, 9:31 a.m. OK MS C++ TESTS 44 15 2048000 1300
53289374 viajero B April 25, 2019, 3:04 p.m. OK MS C++ 2017 TESTS 44 31 0 1300
59869865 kchau B Sept. 1, 2019, 6:51 p.m. OK MS C++ 2017 TESTS 44 31 0 1300
56983624 vjudge2 B July 13, 2019, 2:57 p.m. OK MS C++ 2017 TESTS 44 31 409600 1300
56983704 116c B July 13, 2019, 3 p.m. OK MS C++ 2017 TESTS 44 31 409600 1300
63288585 Mad112233 B Oct. 24, 2019, 11:07 a.m. OK MS C++ 2017 TESTS 44 46 307200 1300
36218092 secondwtq B March 12, 2018, 8:35 a.m. OK Ocaml TESTS 44 15 3788800 1300
35051823 FluxIion_ B Feb. 8, 2018, 9:09 a.m. OK PascalABC.NET TESTS 44 31 13209600 1300
36415383 Abdyrahym.A B March 19, 2018, 3:53 p.m. OK PascalABC.NET TESTS 44 46 13209600 1300
37278822 mr.Abdu B April 13, 2018, 8:38 a.m. OK PascalABC.NET TESTS 44 46 13209600 1300
48014975 katalama B Jan. 5, 2019, 9:44 p.m. OK PHP TESTS 44 280 0 1300
35073351 kosolapovvp B Feb. 8, 2018, 10:13 p.m. OK PHP TESTS 44 452 6041600 1300
35289787 naiev B Feb. 15, 2018, 10:46 a.m. OK PyPy 2 TESTS 44 93 21811200 1300
35093237 iit2014101 B Feb. 9, 2018, 2:22 p.m. OK PyPy 2 TESTS 44 124 21811200 1300
35053988 Wavator B Feb. 8, 2018, 10:21 a.m. OK PyPy 2 TESTS 44 124 21811200 1300
36940051 frmsaul B April 4, 2018, 5:22 a.m. OK PyPy 2 TESTS 44 124 23244800 1300
51122401 ashok123 B March 10, 2019, 9:57 a.m. OK PyPy 2 TESTS 44 140 512000 1300
66020222 vjudge5 B Nov. 30, 2019, 7:05 a.m. OK PyPy 2 TESTS 44 156 409600 1300
35075966 nealzane B Feb. 9, 2018, 2:12 a.m. OK PyPy 2 TESTS 44 170 21913600 1300
64776718 vjudge4 B Nov. 13, 2019, 4:53 a.m. OK PyPy 2 TESTS 44 202 512000 1300
35146115 GXF000 B Feb. 11, 2018, 8:19 a.m. OK PyPy 3 TESTS 44 93 20172800 1300
35096057 Marble1 B Feb. 9, 2018, 3:32 p.m. OK PyPy 3 TESTS 44 93 20172800 1300
35069036 RagnarArdal B Feb. 8, 2018, 6:21 p.m. OK PyPy 3 TESTS 44 93 20275200 1300
35046077 2014CAIS01 B Feb. 8, 2018, 6:09 a.m. OK PyPy 3 TESTS 44 93 20275200 1300
35051314 golikovnik B Feb. 8, 2018, 8:53 a.m. OK PyPy 3 TESTS 44 93 20377600 1300
35044275 cy1999 B Feb. 8, 2018, 4:53 a.m. OK PyPy 3 TESTS 44 93 20377600 1300
35058366 sas1905 B Feb. 8, 2018, 12:44 p.m. OK PyPy 3 TESTS 44 108 20275200 1300
35225682 egozverev B Feb. 14, 2018, 8:05 a.m. OK PyPy 3 TESTS 44 108 20377600 1300
35053826 Wavator B Feb. 8, 2018, 10:16 a.m. OK PyPy 3 TESTS 44 109 20172800 1300
35049039 bulyg107 B Feb. 8, 2018, 7:49 a.m. OK PyPy 3 TESTS 44 109 20172800 1300
35159534 kouhaku111 B Feb. 11, 2018, 5:20 p.m. OK Python 2 TESTS 44 623 4812800 1300
35077258 ito2307 B Feb. 9, 2018, 4 a.m. OK Python 2 TESTS 44 639 4812800 1300
35197966 laoliumang B Feb. 13, 2018, 11:41 a.m. OK Python 2 TESTS 44 654 4812800 1300
38985143 Ali_Pi B June 6, 2018, 6:22 a.m. OK Python 2 TESTS 44 655 204800 1300
35066174 shiyuankongbu B Feb. 8, 2018, 4:43 p.m. OK Python 2 TESTS 44 655 4608000 1300
43241244 kaif_7 B Sept. 22, 2018, 10:09 a.m. OK Python 2 TESTS 44 717 0 1300
35116361 franckmy B Feb. 10, 2018, 8:11 a.m. OK Python 2 TESTS 44 764 4608000 1300
35084850 rondou B Feb. 9, 2018, 9:40 a.m. OK Python 2 TESTS 44 779 4608000 1300
66022911 vjudge4 B Nov. 30, 2019, 7:53 a.m. OK Python 2 TESTS 44 780 102400 1300
35121364 Vincent_de_Comarmond B Feb. 10, 2018, 11:02 a.m. OK Python 2 TESTS 44 780 4710400 1300
35221097 Kirillov_Alexey B Feb. 14, 2018, 12:37 a.m. OK Python 3 TESTS 44 62 6758400 1300
36675487 atharva456 B March 27, 2018, 5:32 p.m. OK Python 3 TESTS 44 93 8499200 1300
40740049 orailly B July 25, 2018, 11:53 a.m. OK Python 3 TESTS 44 140 0 1300
40735846 orailly B July 25, 2018, 9:55 a.m. OK Python 3 TESTS 44 514 0 1300
35110731 jstztzy B Feb. 10, 2018, 3:56 a.m. OK Python 3 TESTS 44 545 5632000 1300
35047441 Yee_172 B Feb. 8, 2018, 6:57 a.m. OK Python 3 TESTS 44 545 5632000 1300
36208266 Bamal B March 11, 2018, 6:42 p.m. OK Python 3 TESTS 44 576 5632000 1300
35107733 Gleb_Dubosarskii B Feb. 9, 2018, 11:21 p.m. OK Python 3 TESTS 44 576 5632000 1300
35062902 vfrc123 B Feb. 8, 2018, 2:51 p.m. OK Python 3 TESTS 44 577 5632000 1300
66027560 vjudge5 B Nov. 30, 2019, 9:08 a.m. OK Python 3 TESTS 44 592 0 1300
35192897 YOUSIKI B Feb. 13, 2018, 7:44 a.m. OK Ruby TESTS 44 327 6451200 1300
35125400 dito5554 B Feb. 10, 2018, 1:18 p.m. OK Ruby TESTS 44 546 6656000 1300
35094518 PerplexingPegasus B Feb. 9, 2018, 2:55 p.m. OK Ruby TESTS 44 546 6656000 1300
35122858 fcbruce B Feb. 10, 2018, 11:52 a.m. OK Rust TESTS 44 15 1433600 1300

remove filters

Back to search problems