Codeforces Round 156 (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
255 Codeforces Round 156 (Div. 2) FINISHED False 7200 382026597 Dec. 16, 2012, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 878 ) E Furlo and Rublo and Game PROGRAMMING games implementation math 2200

B'Furlo and Rublo play a game. The table has n piles of coins lying on it, the i-th pile has ai coins. Furlo and Rublo move in turns, Furlo moves first. In one move you are allowed to: The player who can 't make a move, loses. Your task is to find out, who wins in the given game if both Furlo and Rublo play optimally well. The first line contains integer n (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8977777) -- the number of piles. The next line contains n integers a1, xe2 x80 x89a2, xe2 x80 x89..., xe2 x80 x89an (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ai xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89777777777777) -- the sizes of piles. The numbers are separated by single spaces. Please, do not use the %lld specifier to read or write 64-bit integers in xd0 xa1++. It is preferred to use the cin, cout streams or the %I64d specifier. If both players play optimally well and Furlo wins, print "Furlo", otherwise print "Rublo". Print the answers without the quotes.'...

Tutorials

Codeforces Round #156 tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
2807011 Artem533 E Dec. 22, 2012, 1:41 p.m. OK Delphi TESTS 72 46 0 2200
2782539 SirCodeLight E Dec. 16, 2012, 5:29 p.m. OK Delphi TESTS 72 62 102400 2200
3747077 MrJigan1488 E May 19, 2013, 6:48 p.m. OK Delphi TESTS 72 312 67072000 2200
4204715 AHTuTTuTyX E July 30, 2013, 2:14 p.m. OK Delphi TESTS 72 436 16076800 2200
4204714 AHTuTTuTyX E July 30, 2013, 2:14 p.m. OK Delphi TESTS 72 436 16076800 2200
2803977 AleksanderBalobanov E Dec. 21, 2012, 2:21 p.m. OK Delphi TESTS 72 781 241356800 2200
2796479 Deception E Dec. 20, 2012, 2:12 a.m. OK FPC TESTS 72 156 28057600 2200
2783846 vlad107 E Dec. 16, 2012, 10:11 p.m. OK FPC TESTS 72 171 28057600 2200
2911196 gxnncrx1993 E Jan. 13, 2013, 1:08 p.m. OK GNU C TESTS 72 46 0 2200
3912360 moji E June 18, 2013, 5:02 a.m. OK GNU C++ TESTS 72 46 0 2200
3503963 Choojae E April 11, 2013, 1:42 p.m. OK GNU C++ TESTS 72 46 0 2200
3351848 nardy E March 18, 2013, 1:50 p.m. OK GNU C++ TESTS 72 46 0 2200
3203549 nikusha24 E Feb. 27, 2013, 4:38 p.m. OK GNU C++ TESTS 72 46 0 2200
3134370 H3X E Feb. 15, 2013, 7:15 p.m. OK GNU C++ TESTS 72 46 0 2200
3031634 himanshu1595 E Jan. 29, 2013, 4:35 a.m. OK GNU C++ TESTS 72 46 0 2200
3014893 sameer47 E Jan. 27, 2013, 5:06 a.m. OK GNU C++ TESTS 72 46 0 2200
2924548 hariprasath E Jan. 14, 2013, 3:54 p.m. OK GNU C++ TESTS 72 46 0 2200
2903836 _Skyboy E Jan. 11, 2013, 3:14 a.m. OK GNU C++ TESTS 72 46 0 2200
2875249 Master_Prog E Jan. 5, 2013, 2:13 p.m. OK GNU C++ TESTS 72 46 0 2200
2785353 cxlove E Dec. 17, 2012, 6:53 a.m. OK GNU C++0x TESTS 72 46 0 2200
6829127 lucaslima E June 6, 2014, 10:37 p.m. OK GNU C++0x TESTS 72 92 0 2200
6686109 gagaga5-gagaga E May 23, 2014, 8:48 a.m. OK GNU C++0x TESTS 72 92 819200 2200
2784124 hex539 E Dec. 17, 2012, 1:41 a.m. OK GNU C++0x TESTS 72 140 24064000 2200
7615766 vishalkarve15 E Aug. 28, 2014, 5:56 p.m. OK GNU C++0x TESTS 72 186 1228800 2200
7364165 hyoussef E Aug. 7, 2014, 1:23 a.m. OK GNU C++0x TESTS 72 216 3993600 2200
2818453 Misha-Plus E Dec. 23, 2012, 8:43 a.m. OK GNU C++0x TESTS 72 234 1024000 2200
7355810 osama.afifi E Aug. 5, 2014, 8:21 p.m. OK GNU C++0x TESTS 72 248 13004800 2200
6302650 marat.snowbear E April 8, 2014, 10:24 p.m. OK GNU C++0x TESTS 72 278 40755200 2200
2796392 Xerxes E Dec. 19, 2012, 11:53 p.m. OK GNU C++0x TESTS 72 328 21811200 2200
39184516 Devil_G E June 12, 2018, 8:09 a.m. OK GNU C++11 TESTS 72 62 0 2200
25306905 milmillin E March 7, 2017, 3:30 a.m. OK GNU C++11 TESTS 72 62 1843200 2200
17129551 freebsdx E April 2, 2016, 12:01 p.m. OK GNU C++11 TESTS 72 62 2048000 2200
26657976 vjudge1 E April 25, 2017, 10:28 a.m. OK GNU C++11 TESTS 72 62 2150400 2200
18050207 NotPassedCET4 E May 24, 2016, 4:02 a.m. OK GNU C++11 TESTS 72 62 26316800 2200
62118689 vjudge3 E Oct. 8, 2019, 2:03 p.m. OK GNU C++11 TESTS 72 92 0 2200
57898110 lopare E July 28, 2019, 2:28 p.m. OK GNU C++11 TESTS 72 92 0 2200
57821663 py_ultron E July 26, 2019, 11:51 p.m. OK GNU C++11 TESTS 72 92 0 2200
55750971 Big_black_jujube E June 19, 2019, 12:44 p.m. OK GNU C++11 TESTS 72 92 0 2200
51315216 xiaolin3 E March 14, 2019, 11:10 p.m. OK GNU C++11 TESTS 72 92 0 2200
55517872 vjudge5 E June 13, 2019, 6:37 a.m. OK GNU C++14 TESTS 72 92 0 2200
55514000 vjudge5 E June 13, 2019, 3:23 a.m. OK GNU C++14 TESTS 72 92 0 2200
27280983 vjudge3 E May 22, 2017, 9:46 a.m. OK GNU C++14 TESTS 72 92 0 2200
58169017 Laura_Cornei E Aug. 2, 2019, 10:24 a.m. OK GNU C++14 TESTS 72 92 614400 2200
28932407 P0LyFish E July 27, 2017, 2:28 p.m. OK GNU C++14 TESTS 72 92 1945600 2200
26248133 RayaBurong25.1 E April 10, 2017, 6:34 a.m. OK GNU C++14 TESTS 72 92 2048000 2200
38785500 brimix__ E May 30, 2018, 9:17 p.m. OK GNU C++14 TESTS 72 92 3379200 2200
37671453 3rbi E April 27, 2018, 8:13 p.m. OK GNU C++14 TESTS 72 92 3379200 2200
53182153 imnotreal E April 23, 2019, 8:14 a.m. OK GNU C++14 TESTS 72 154 7065600 2200
34035904 newgate E Jan. 8, 2018, 9:01 p.m. OK GNU C++14 TESTS 72 154 25907200 2200
55517639 vjudge5 E June 13, 2019, 6:28 a.m. OK GNU C++17 TESTS 72 92 0 2200
55514317 vjudge5 E June 13, 2019, 3:43 a.m. OK GNU C++17 TESTS 72 92 0 2200
55513821 vjudge2 E June 13, 2019, 3:10 a.m. OK GNU C++17 TESTS 72 92 0 2200
55513802 hentaijav E June 13, 2019, 3:09 a.m. OK GNU C++17 TESTS 72 92 0 2200
58160080 vjudge3 E Aug. 2, 2019, 7:07 a.m. OK GNU C++17 TESTS 72 92 614400 2200
40558039 Hamzqq9 E July 19, 2018, 8:09 p.m. OK GNU C++17 TESTS 72 122 0 2200
55514588 vjudge5 E June 13, 2019, 3:59 a.m. OK GNU C++17 TESTS 72 124 0 2200
55607950 manh9203 E June 16, 2019, 2:51 a.m. OK GNU C++17 TESTS 72 156 16793600 2200
44458482 Obada-AlAbbadi E Oct. 17, 2018, 7:04 p.m. OK GNU C++17 TESTS 72 186 307200 2200
50643831 chinmay0906 E March 1, 2019, 3:03 p.m. OK GNU C++17 TESTS 72 312 20070400 2200
8064722 Lesha E Oct. 3, 2014, 4:03 a.m. OK Haskell TESTS 72 842 4300800 2200
2786336 uwi E Dec. 17, 2012, 10:15 a.m. OK Java 6 TESTS 72 93 0 2200
2799780 wackloner E Dec. 20, 2012, 8:03 p.m. OK Java 6 TESTS 72 859 49254400 2200
2790401 llaki E Dec. 18, 2012, 10:41 a.m. OK Java 6 TESTS 72 1076 102400 2200
2832289 ixxa E Dec. 27, 2012, 8:54 a.m. OK Java 6 TESTS 72 1187 15462400 2200
2829570 ftiasch E Dec. 26, 2012, 3:44 p.m. OK Java 6 TESTS 72 1562 19148800 2200
2847270 arya5691 E Dec. 28, 2012, 6:20 a.m. OK Java 6 TESTS 72 1687 244736000 2200
2832283 ixxa E Dec. 27, 2012, 8:51 a.m. OK Java 6 TESTS 72 1953 15462400 2200
2832258 ixxa E Dec. 27, 2012, 8:33 a.m. OK Java 6 TESTS 72 2000 204800 2200
3957418 Azat_Yusupov E June 25, 2013, 12:07 a.m. OK Java 7 TESTS 72 187 0 2200
7444594 Abkreno94 E Aug. 14, 2014, 10:29 a.m. OK Java 7 TESTS 72 310 136294400 2200
14039796 vjudge4 E Nov. 3, 2015, 9:57 a.m. OK Java 7 TESTS 72 312 10649600 2200
2798988 yasser_adel E Dec. 20, 2012, 2:19 p.m. OK Java 7 TESTS 72 437 46694400 2200
2799400 Gzs_iceberg E Dec. 20, 2012, 4:59 p.m. OK Java 7 TESTS 72 531 20275200 2200
2820196 aste E Dec. 23, 2012, 7:12 p.m. OK Java 7 TESTS 72 546 307200 2200
4800607 travm12 E Oct. 15, 2013, 10:22 p.m. OK Java 7 TESTS 72 780 307200 2200
2787852 islam-al-aarag E Dec. 17, 2012, 3:21 p.m. OK Java 7 TESTS 72 796 144588800 2200
17383874 alibaba E April 19, 2016, 6:44 a.m. OK Java 7 TESTS 72 872 39628800 2200
62596724 surajsingireddy E Oct. 15, 2019, 2:23 a.m. OK Java 8 TESTS 72 248 0 2200
27563349 RP_9 E June 4, 2017, 11:51 a.m. OK Java 8 TESTS 72 248 0 2200
29375605 aabdelzaher E Aug. 12, 2017, 11:10 a.m. OK Java 8 TESTS 72 342 20684800 2200
26129740 pitfall E April 4, 2017, 6:11 p.m. OK Java 8 TESTS 72 342 20684800 2200
21998488 Sehnsucht E Nov. 2, 2016, 5:40 p.m. OK Java 8 TESTS 72 404 30617600 2200
62596636 surajsingireddy E Oct. 15, 2019, 2:19 a.m. OK Java 8 TESTS 72 498 0 2200
62591512 Taran_1407 E Oct. 14, 2019, 9:30 p.m. OK Java 8 TESTS 72 530 6758400 2200
2878561 marspeople E Jan. 6, 2013, 2:19 p.m. OK MS C++ TESTS 72 46 0 2200
2803874 tomas.svab E Dec. 21, 2012, 1:28 p.m. OK MS C++ TESTS 72 46 0 2200
6127678 Sema17 E March 23, 2014, 9:06 p.m. OK MS C++ TESTS 72 92 0 2200
3405812 harhrayr E March 25, 2013, 9:08 p.m. OK MS C++ TESTS 72 140 0 2200
4056940 poopi E July 13, 2013, 12:17 a.m. OK MS C++ TESTS 72 156 0 2200
2798153 ballon E Dec. 20, 2012, 12:17 p.m. OK MS C++ TESTS 72 156 0 2200
2788415 BIT_silence E Dec. 17, 2012, 5:43 p.m. OK MS C++ TESTS 72 156 0 2200
9096918 MrBear E Dec. 12, 2014, 10:03 p.m. OK MS C++ TESTS 72 186 0 2200
2787411 AplusB E Dec. 17, 2012, 1:50 p.m. OK MS C++ TESTS 72 1015 24064000 2200
2787392 AplusB E Dec. 17, 2012, 1:47 p.m. OK MS C++ TESTS 72 1703 44134400 2200
2806505 daidailanlan E Dec. 22, 2012, 11:38 a.m. OK Python 2 TESTS 72 187 6451200 2200
2786277 xlk E Dec. 17, 2012, 10 a.m. OK Python 2 TESTS 72 187 6451200 2200
2785720 hanfei19910905 E Dec. 17, 2012, 8:05 a.m. OK Python 2 TESTS 72 187 6451200 2200
2787635 ghafi007 E Dec. 17, 2012, 2:37 p.m. OK Python 2 TESTS 72 203 6451200 2200
2784654 YuukaKazami E Dec. 17, 2012, 4:31 a.m. OK Ruby TESTS 72 437 11468800 2200
35855581 ______u______ E March 2, 2018, 8:03 p.m. OK Ruby TESTS 72 468 37273600 2200
35855296 ______n______ E March 2, 2018, 7:58 p.m. OK Ruby TESTS 72 468 37273600 2200
35854853 _____i_____ E March 2, 2018, 7:50 p.m. OK Ruby TESTS 72 468 37273600 2200
35854822 _____k_____ E March 2, 2018, 7:50 p.m. OK Ruby TESTS 72 468 37273600 2200
35843689 ______h______ E March 2, 2018, 3:16 p.m. OK Ruby TESTS 72 468 37273600 2200
35843544 ______k______ E March 2, 2018, 3:14 p.m. OK Ruby TESTS 72 468 37273600 2200
35843276 ______i______ E March 2, 2018, 3:09 p.m. OK Ruby TESTS 72 468 37273600 2200
35841225 ______M______ E March 2, 2018, 2:32 p.m. OK Ruby TESTS 72 468 37273600 2200

remove filters

Back to search problems