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 |
282
|
Codeforces Round 173 (Div. 2) |
FINISHED |
False |
7200 |
374509797 |
March 13, 2013, 3:30 p.m. |
Problems
B'Since most contestants do not read this part, I have to repeat that Bitlandians are quite weird. They have their own jobs, their own working method, their own lives, their own sausages and their own games! Since you are so curious about Bitland, I 'll give you the chance of peeking at one of these games. BitLGM and BitAryo are playing yet another of their crazy-looking genius-needed Bitlandish games. They 've got a sequence of n non-negative integers a1, xe2 x80 x89a2, xe2 x80 x89..., xe2 x80 x89an. The players make moves in turns. BitLGM moves first. Each player can and must do one of the two following actions in his turn: The player who cannot make a move loses. You 're given the initial sequence a1, xe2 x80 x89a2, xe2 x80 x89..., xe2 x80 x89an. Determine who wins, if both players plays optimally well and if BitLGM and BitAryo start playing the described game in this sequence. The first line contains an integer n (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x893). The next line contains n integers a1, xe2 x80 x89a2, xe2 x80 x89..., xe2 x80 x89an (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ai xe2 x80 x89< xe2 x80 x89300). Write the name of the winner (provided that both players play optimally well). Either "BitLGM" or "BitAryo" (without the quotes).'... |
Tutorials
Submissions
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
40990113 |
ReaLNero1 |
D |
July 30, 2018, 11:36 p.m. |
OK |
GNU C++ |
TESTS |
117 |
62 |
409600 |
|
2100 |
38550205 |
Scut82 |
D |
May 23, 2018, 3:25 a.m. |
OK |
GNU C++ |
TESTS |
117 |
92 |
409600 |
|
2100 |
38310740 |
Scut82 |
D |
May 16, 2018, 6:19 a.m. |
OK |
GNU C++ |
TESTS |
117 |
92 |
4198400 |
|
2100 |
40631986 |
-Bata |
D |
July 22, 2018, 9:43 a.m. |
OK |
GNU C++ |
TESTS |
117 |
498 |
28569600 |
|
2100 |
58630908 |
rainboy |
D |
Aug. 11, 2019, 7:46 p.m. |
OK |
GNU C11 |
TESTS |
117 |
310 |
27443200 |
|
2100 |
57897094 |
lopare |
D |
July 28, 2019, 2:03 p.m. |
OK |
GNU C++11 |
TESTS |
117 |
62 |
0 |
|
2100 |
50889939 |
vjudge1 |
D |
March 6, 2019, 12:49 p.m. |
OK |
GNU C++11 |
TESTS |
117 |
62 |
0 |
|
2100 |
68744194 |
YHHxBULIATANIA |
D |
Jan. 14, 2020, 3:29 a.m. |
OK |
GNU C++11 |
TESTS |
117 |
62 |
0 |
|
2100 |
43005367 |
Hahahahahahahhahaha |
D |
Sept. 17, 2018, 3:38 p.m. |
OK |
GNU C++11 |
TESTS |
117 |
62 |
409600 |
|
2100 |
38979712 |
Z0RR0 |
D |
June 5, 2018, 9:58 p.m. |
OK |
GNU C++11 |
TESTS |
117 |
62 |
5836800 |
|
2100 |
42762154 |
M_H_H_7 |
D |
Sept. 11, 2018, 11:22 a.m. |
OK |
GNU C++11 |
TESTS |
117 |
92 |
102400 |
|
2100 |
57278744 |
surbhi_88 |
D |
July 18, 2019, 11:55 a.m. |
OK |
GNU C++11 |
TESTS |
117 |
92 |
102400 |
|
2100 |
64860428 |
Cadenza |
D |
Nov. 14, 2019, 2:45 a.m. |
OK |
GNU C++11 |
TESTS |
117 |
92 |
614400 |
|
2100 |
57085969 |
scientificuber |
D |
July 15, 2019, 8:51 a.m. |
OK |
GNU C++11 |
TESTS |
117 |
122 |
102400 |
|
2100 |
61801214 |
zxyl |
D |
Oct. 3, 2019, 7:04 p.m. |
OK |
GNU C++11 |
TESTS |
117 |
186 |
204800 |
|
2100 |
43915975 |
Ahmed- |
D |
Oct. 6, 2018, 6:50 p.m. |
OK |
GNU C++14 |
TESTS |
117 |
62 |
0 |
|
2100 |
55126763 |
z3r0dmg |
D |
June 5, 2019, 1:12 p.m. |
OK |
GNU C++14 |
TESTS |
117 |
62 |
102400 |
|
2100 |
39205699 |
haimeo1201 |
D |
June 13, 2018, 4:05 a.m. |
OK |
GNU C++14 |
TESTS |
117 |
62 |
102400 |
|
2100 |
38599263 |
Kallaseldor |
D |
May 25, 2018, 2:15 a.m. |
OK |
GNU C++14 |
TESTS |
117 |
62 |
102400 |
|
2100 |
60014686 |
varadadesikan1 |
D |
Sept. 4, 2019, 11:28 a.m. |
OK |
GNU C++14 |
TESTS |
117 |
92 |
102400 |
|
2100 |
69258926 |
Tomukaro |
D |
Jan. 21, 2020, 4:28 p.m. |
OK |
GNU C++14 |
TESTS |
117 |
92 |
409600 |
|
2100 |
45988380 |
n_dao107 |
D |
Nov. 20, 2018, 8:13 a.m. |
OK |
GNU C++14 |
TESTS |
117 |
92 |
409600 |
|
2100 |
42109929 |
usernameson |
D |
Aug. 26, 2018, 5:08 a.m. |
OK |
GNU C++14 |
TESTS |
117 |
92 |
409600 |
|
2100 |
45896050 |
barni120400 |
D |
Nov. 17, 2018, 10:30 p.m. |
OK |
GNU C++14 |
TESTS |
117 |
92 |
716800 |
|
2100 |
44893330 |
margy |
D |
Oct. 26, 2018, 5 a.m. |
OK |
GNU C++14 |
TESTS |
117 |
92 |
716800 |
|
2100 |
65886733 |
mati9977 |
D |
Nov. 27, 2019, 11:14 p.m. |
OK |
GNU C++17 |
TESTS |
117 |
62 |
409600 |
|
2100 |
46240230 |
dmkozyrev |
D |
Nov. 26, 2018, 7:22 a.m. |
OK |
GNU C++17 |
TESTS |
117 |
62 |
3481600 |
|
2100 |
60287765 |
chamow |
D |
Sept. 9, 2019, 4:25 a.m. |
OK |
GNU C++17 |
TESTS |
117 |
92 |
102400 |
|
2100 |
50676115 |
vladalos |
D |
March 2, 2019, 9:20 a.m. |
OK |
GNU C++17 |
TESTS |
117 |
92 |
102400 |
|
2100 |
69228831 |
Spiritum |
D |
Jan. 21, 2020, 8:35 a.m. |
OK |
GNU C++17 |
TESTS |
117 |
92 |
204800 |
|
2100 |
61922684 |
Phortox |
D |
Oct. 5, 2019, 1:46 p.m. |
OK |
GNU C++17 |
TESTS |
117 |
92 |
409600 |
|
2100 |
68747316 |
SoSooding |
D |
Jan. 14, 2020, 5:16 a.m. |
OK |
GNU C++17 |
TESTS |
117 |
92 |
409600 |
|
2100 |
52219984 |
ruo |
D |
April 2, 2019, 5:57 a.m. |
OK |
GNU C++17 |
TESTS |
117 |
92 |
409600 |
|
2100 |
49964449 |
JovanB |
D |
Feb. 15, 2019, 7:54 p.m. |
OK |
GNU C++17 |
TESTS |
117 |
92 |
409600 |
|
2100 |
59792949 |
GaryMr |
D |
Aug. 31, 2019, 7:44 a.m. |
OK |
GNU C++17 |
TESTS |
117 |
92 |
110387200 |
|
2100 |
49908393 |
xodiac |
D |
Feb. 14, 2019, 1:03 p.m. |
OK |
Java 8 |
TESTS |
117 |
342 |
0 |
|
2100 |
58630857 |
Dukkha |
D |
Aug. 11, 2019, 7:44 p.m. |
OK |
Java 8 |
TESTS |
117 |
1184 |
37171200 |
|
2100 |
55433341 |
CtrlAlt |
D |
June 11, 2019, 12:37 p.m. |
OK |
MS C++ 2017 |
TESTS |
117 |
622 |
27340800 |
|
2100 |
remove filters
Back to search problems