Codeforces Round 180 (Div. 1)

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
297 Codeforces Round 180 (Div. 1) FINISHED False 7200 365437799 April 19, 2013, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 3626 ) A Parity Game PROGRAMMING constructive algorithms 1700

B'You are fishing with polar bears Alice and Bob. While waiting for the fish to bite, the polar bears get bored. They come up with a game. First Alice and Bob each writes a 01-string (strings that only contain character "0" and "1") a and b. Then you try to turn a into b using two types of operations: You can use as many operations as you want. The problem is, is it possible to turn a into b? The parity of a 01-string is 1 if there is an odd number of "1"s in the string, and 0 otherwise. The first line contains the string a and the second line contains the string b (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89|a|, xe2 x80 x89|b| xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891000). Both strings contain only the characters "0" and "1". Here |x| denotes the length of the string x. Print "YES" (without quotes) if it is possible to turn a into b, and "NO" (without quotes) otherwise. In the first sample, the steps are as follows: 01011 xe2 x80 x89 xe2 x86 x92 xe2 x80 x891011 xe2 x80 x89 xe2 x86 x92 xe2 x80 x89011 xe2 x80 x89 xe2 x86 x92 xe2 x80 x890110'...

Tutorials

Tutorial for E

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
6268715 yosupo A April 6, 2014, 6:40 a.m. OK D TESTS 79 30 0 1700
3564922 Gassa A April 19, 2013, 3:35 p.m. OK D TESTS 79 62 0 1700
7373409 hos.lyric A Aug. 8, 2014, 5:32 a.m. OK D TESTS 79 62 1433600 1700
3611424 wasyapetya A April 23, 2013, 1:24 p.m. OK Delphi TESTS 79 15 0 1700
3609653 ruban A April 23, 2013, 7:13 a.m. OK Delphi TESTS 79 15 0 1700
3574815 Zugzug A April 19, 2013, 5:19 p.m. OK Delphi TESTS 79 15 0 1700
3566981 Golovanov399 A April 19, 2013, 3:53 p.m. OK Delphi TESTS 79 15 0 1700
3565013 Misha100896 A April 19, 2013, 3:37 p.m. OK Delphi TESTS 79 15 0 1700
3960688 AleksanderBalobanov A June 25, 2013, 3:54 p.m. OK Delphi TESTS 79 15 102400 1700
3648834 mr_justadog A April 28, 2013, 4 p.m. OK Delphi TESTS 79 15 102400 1700
3581667 katushka A April 20, 2013, 3:38 p.m. OK Delphi TESTS 79 15 102400 1700
3578434 freemen A April 20, 2013, 4:19 a.m. OK Delphi TESTS 79 15 102400 1700
3576825 annikura A April 19, 2013, 7:30 p.m. OK Delphi TESTS 79 15 102400 1700
3579374 waitnote A April 20, 2013, 8:10 a.m. OK FPC TESTS 79 15 0 1700
3565280 JustN A April 19, 2013, 3:41 p.m. OK FPC TESTS 79 15 0 1700
4098434 KTS A July 18, 2013, 9:46 a.m. OK FPC TESTS 79 15 307200 1700
3962739 MeoMeoo A June 26, 2013, 7:32 a.m. OK FPC TESTS 79 15 307200 1700
3720910 Jebemvisvi A May 14, 2013, 4:05 p.m. OK FPC TESTS 79 15 307200 1700
3717914 Nik_Storm_2010 A May 13, 2013, 6:27 p.m. OK FPC TESTS 79 15 307200 1700
3662227 y.kemaev A May 3, 2013, 6:49 a.m. OK FPC TESTS 79 15 307200 1700
3654745 ig_dug A April 30, 2013, 1:24 p.m. OK FPC TESTS 79 15 307200 1700
3610195 Rubanenko A April 23, 2013, 9:22 a.m. OK FPC TESTS 79 15 307200 1700
3583009 KnightSaber77 A April 21, 2013, 1:17 a.m. OK FPC TESTS 79 15 307200 1700
4932321 vis10326 A Oct. 30, 2013, 7:07 a.m. OK GNU C TESTS 79 15 0 1700
3609911 aman2604 A April 23, 2013, 8:18 a.m. OK GNU C TESTS 79 15 0 1700
3579002 deepti A April 20, 2013, 6:44 a.m. OK GNU C TESTS 79 15 0 1700
3578979 deepti A April 20, 2013, 6:40 a.m. OK GNU C TESTS 79 15 0 1700
3578274 can A April 20, 2013, 3:36 a.m. OK GNU C TESTS 79 15 0 1700
3578259 want_sleep A April 20, 2013, 3:31 a.m. OK GNU C TESTS 79 15 0 1700
3564968 kawatea A April 19, 2013, 3:36 p.m. OK GNU C TESTS 79 15 0 1700
20789150 DevilOnField A Sept. 21, 2016, 6:03 a.m. OK GNU C TESTS 79 30 0 1700
5637423 nick894 A Jan. 8, 2014, 12:01 p.m. OK GNU C TESTS 79 30 0 1700
5496203 acafterwa A Dec. 23, 2013, 8:59 a.m. OK GNU C TESTS 79 30 0 1700
4922984 AloneWolf A Oct. 28, 2013, 7:37 p.m. OK GNU C++ TESTS 79 15 0 1700
4918169 vjudge3 A Oct. 28, 2013, 7:38 a.m. OK GNU C++ TESTS 79 15 0 1700
4917905 vjudge1 A Oct. 28, 2013, 4:40 a.m. OK GNU C++ TESTS 79 15 0 1700
4917891 vjudge1 A Oct. 28, 2013, 4:34 a.m. OK GNU C++ TESTS 79 15 0 1700
4917884 vjudge1 A Oct. 28, 2013, 4:27 a.m. OK GNU C++ TESTS 79 15 0 1700
4917865 vjudge4 A Oct. 28, 2013, 4:17 a.m. OK GNU C++ TESTS 79 15 0 1700
4913638 vjudge1 A Oct. 27, 2013, 2:24 p.m. OK GNU C++ TESTS 79 15 0 1700
4913627 vjudge4 A Oct. 27, 2013, 2:23 p.m. OK GNU C++ TESTS 79 15 0 1700
4145395 dallas A July 24, 2013, 7:46 a.m. OK GNU C++ TESTS 79 15 0 1700
4145272 dallas A July 24, 2013, 7:28 a.m. OK GNU C++ TESTS 79 15 0 1700
4098255 Xellos A July 18, 2013, 9:14 a.m. OK GNU C++0x TESTS 79 15 0 1700
3934743 agnusmaximus A June 22, 2013, 8:02 a.m. OK GNU C++0x TESTS 79 15 0 1700
3921048 corefouse A June 19, 2013, 3:20 p.m. OK GNU C++0x TESTS 79 15 0 1700
3723156 Salvador A May 15, 2013, 10:24 a.m. OK GNU C++0x TESTS 79 15 0 1700
3717055 anton A May 13, 2013, 2:12 p.m. OK GNU C++0x TESTS 79 15 0 1700
3655592 al35n A April 30, 2013, 6:24 p.m. OK GNU C++0x TESTS 79 15 0 1700
3617062 UESTC_ElemeNtLz A April 24, 2013, 2:58 p.m. OK GNU C++0x TESTS 79 15 0 1700
3612109 mruxim A April 23, 2013, 3:16 p.m. OK GNU C++0x TESTS 79 15 0 1700
3601019 Archon.JK A April 22, 2013, 1:37 p.m. OK GNU C++0x TESTS 79 15 0 1700
3585327 Isaacpei A April 21, 2013, 1:53 p.m. OK GNU C++0x TESTS 79 15 0 1700
31902005 8shubham A Oct. 30, 2017, 6 p.m. OK GNU C++11 TESTS 79 30 0 1700
30642736 Error_404 A Sept. 23, 2017, 1:22 p.m. OK GNU C++11 TESTS 79 30 0 1700
30265017 t1016d A Sept. 11, 2017, 12:14 p.m. OK GNU C++11 TESTS 79 30 0 1700
30257087 johncreed A Sept. 11, 2017, 12:14 a.m. OK GNU C++11 TESTS 79 30 0 1700
30245282 nonamefour0210 A Sept. 10, 2017, 12:44 p.m. OK GNU C++11 TESTS 79 30 0 1700
30123200 Daikon A Sept. 6, 2017, 5:15 a.m. OK GNU C++11 TESTS 79 30 0 1700
29699008 vampire_slayer A Aug. 23, 2017, 6:18 a.m. OK GNU C++11 TESTS 79 30 0 1700
29602343 vjudge3 A Aug. 19, 2017, 3:32 p.m. OK GNU C++11 TESTS 79 30 0 1700
29592380 vjudge1 A Aug. 19, 2017, 8:05 a.m. OK GNU C++11 TESTS 79 30 0 1700
29503790 vampire_slayer A Aug. 16, 2017, 11:28 a.m. OK GNU C++11 TESTS 79 30 0 1700
32217256 Shinbai A Nov. 11, 2017, 10:57 a.m. OK GNU C++14 TESTS 79 30 0 1700
32200520 ahmadms129 A Nov. 10, 2017, 4:30 p.m. OK GNU C++14 TESTS 79 30 0 1700
32196768 ahmad.m.malkawi A Nov. 10, 2017, 1:44 p.m. OK GNU C++14 TESTS 79 30 0 1700
32194033 Khaled_Salem A Nov. 10, 2017, 11:49 a.m. OK GNU C++14 TESTS 79 30 0 1700
32176228 thenoobestever A Nov. 9, 2017, 5:35 p.m. OK GNU C++14 TESTS 79 30 0 1700
31904214 F.a.F A Oct. 30, 2017, 7:36 p.m. OK GNU C++14 TESTS 79 30 0 1700
31849522 Origims A Oct. 28, 2017, 7:48 p.m. OK GNU C++14 TESTS 79 30 0 1700
30543142 ihave33cm A Sept. 20, 2017, 11:38 a.m. OK GNU C++14 TESTS 79 30 0 1700
30280434 gantheory A Sept. 12, 2017, 8:08 a.m. OK GNU C++14 TESTS 79 30 0 1700
30245474 wangyenjen A Sept. 10, 2017, 12:53 p.m. OK GNU C++14 TESTS 79 30 0 1700
38550265 jnk A May 23, 2018, 3:31 a.m. OK GNU C++17 TESTS 79 30 0 1700
35434295 komendart A Feb. 18, 2018, 1:16 a.m. OK GNU C++17 TESTS 79 30 1945600 1700
37389778 vjudge4 A April 17, 2018, 8:03 a.m. OK GNU C++17 TESTS 79 60 3379200 1700
69560352 manish_joshi A Jan. 26, 2020, 10:22 a.m. OK GNU C++17 TESTS 79 62 0 1700
66579927 lqtuantk19 A Dec. 10, 2019, 8:54 a.m. OK GNU C++17 TESTS 79 62 0 1700
64529301 Zihad_Bd A Nov. 8, 2019, 2:51 p.m. OK GNU C++17 TESTS 79 62 0 1700
64495904 xyzyzl_ A Nov. 7, 2019, 11:45 p.m. OK GNU C++17 TESTS 79 62 0 1700
64267807 suraj1611 A Nov. 4, 2019, 5:55 p.m. OK GNU C++17 TESTS 79 62 0 1700
62365146 zeus_orz1 A Oct. 11, 2019, 1:37 p.m. OK GNU C++17 TESTS 79 62 0 1700
62365001 saikia A Oct. 11, 2019, 1:34 p.m. OK GNU C++17 TESTS 79 62 0 1700
60104907 sighduck A Sept. 5, 2019, 3:25 p.m. OK Go TESTS 79 62 0 1700
8201112 Michael542 A Oct. 12, 2014, 3:11 p.m. OK Go TESTS 79 62 0 1700
8163190 7rx A Oct. 10, 2014, 7:19 a.m. OK Go TESTS 79 62 0 1700
8162336 arnoldjulians A Oct. 10, 2014, 3:58 a.m. OK Go TESTS 79 62 0 1700
3619900 hza A April 25, 2013, 10:36 a.m. OK Haskell TESTS 79 15 0 1700
3600066 sahiltiwari A April 22, 2013, 8:42 a.m. OK Haskell TESTS 79 15 0 1700
4450509 DimsFromDergachy A Sept. 13, 2013, 6:50 a.m. OK Haskell TESTS 79 30 0 1700
18606737 behzad.nouri A June 19, 2016, 11:45 p.m. OK Haskell TESTS 79 30 8499200 1700
3578461 hama-du A April 20, 2013, 4:28 a.m. OK Java 6 TESTS 79 78 0 1700
4004786 mkirsche A July 2, 2013, 8:41 p.m. OK Java 6 TESTS 79 78 2252800 1700
3580413 coderbd A April 20, 2013, 11:47 a.m. OK Java 6 TESTS 79 93 0 1700
3577192 bli0042 A April 19, 2013, 8:31 p.m. OK Java 6 TESTS 79 93 0 1700
3717816 bnuvjudge3 A May 13, 2013, 5:58 p.m. OK Java 6 TESTS 79 93 0 1700
3957139 KillerB A June 24, 2013, 8:42 p.m. OK Java 6 TESTS 79 93 0 1700
3569707 DiegoAE A April 19, 2013, 4:15 p.m. OK Java 6 TESTS 79 93 0 1700
3714625 Sammarize A May 12, 2013, 11:19 p.m. OK Java 6 TESTS 79 93 0 1700
3600324 wuxinyu A April 22, 2013, 10:28 a.m. OK Java 6 TESTS 79 93 0 1700
3585495 cyon A April 21, 2013, 2:35 p.m. OK Java 6 TESTS 79 93 0 1700
3650374 rantd A April 29, 2013, 7:38 a.m. OK Java 7 TESTS 79 78 0 1700
3571641 HAPKOMAH A April 19, 2013, 4:37 p.m. OK Java 7 TESTS 79 78 0 1700
3570742 dusty.and.rusty A April 19, 2013, 4:26 p.m. OK Java 7 TESTS 79 78 0 1700
3565178 tanzaku A April 19, 2013, 3:39 p.m. OK Java 7 TESTS 79 78 0 1700
4083482 ffao A July 17, 2013, 2:49 a.m. OK Java 7 TESTS 79 93 0 1700
3727266 hyggyh A May 16, 2013, 1:53 p.m. OK Java 7 TESTS 79 93 0 1700
3614905 lightbringer1991 A April 24, 2013, 4:51 a.m. OK Java 7 TESTS 79 93 0 1700
3582314 KOHCTAHTIH A April 20, 2013, 6:32 p.m. OK Java 7 TESTS 79 93 0 1700
3576045 Azat_Yusupov A April 19, 2013, 6:37 p.m. OK Java 7 TESTS 79 93 0 1700
3565990 niyaznigmatul A April 19, 2013, 3:46 p.m. OK Java 7 TESTS 79 93 0 1700
48428443 hongquanntct A Jan. 15, 2019, 4:03 p.m. OK Java 8 TESTS 79 218 0 1700
31910324 xodiac A Oct. 31, 2017, 4:25 a.m. OK Java 8 TESTS 79 218 0 1700
27718815 unequitedscript A June 11, 2017, 9:58 a.m. OK Java 8 TESTS 79 218 0 1700
10744419 TranCongDuy A April 16, 2015, 5:59 p.m. OK Java 8 TESTS 79 218 0 1700
10171624 Dongmin A March 6, 2015, 1:14 a.m. OK Java 8 TESTS 79 218 0 1700
28746543 tomdmitriev A July 21, 2017, 9:40 a.m. OK Java 8 TESTS 79 218 20582400 1700
10925559 hanin A April 29, 2015, 6:56 a.m. OK Java 8 TESTS 79 218 28569600 1700
49187330 poiuytrewq A Jan. 30, 2019, 6:42 a.m. OK Java 8 TESTS 79 248 0 1700
45339297 alibaba A Nov. 5, 2018, 7:33 p.m. OK Java 8 TESTS 79 248 0 1700
40485405 KulikAlex A July 17, 2018, 4:20 p.m. OK Java 8 TESTS 79 248 0 1700
16905988 Kero A March 24, 2016, 12:34 p.m. OK JavaScript TESTS 79 62 6041600 1700
3614666 supachai_pay A April 24, 2013, 2:36 a.m. OK Mono C# TESTS 79 31 0 1700
3566182 marat.turaev A April 19, 2013, 3:48 p.m. OK Mono C# TESTS 79 31 1843200 1700
3784596 dwoolley3 A May 27, 2013, 2:13 p.m. OK Mono C# TESTS 79 46 204800 1700
3567914 fiver A April 19, 2013, 4 p.m. OK Mono C# TESTS 79 46 211968000 1700
3698994 ykabaran A May 10, 2013, 11:30 a.m. OK MS C# TESTS 79 46 204800 1700
3667327 dannsk A May 4, 2013, 7:41 a.m. OK MS C# TESTS 79 46 3584000 1700
3762326 stas_sl A May 23, 2013, 9:10 p.m. OK MS C# TESTS 79 46 3584000 1700
4266590 Dragonborn A Aug. 11, 2013, 3:14 p.m. OK MS C# TESTS 79 92 102400 1700
13530579 og.kostya A Oct. 10, 2015, 2:10 p.m. OK MS C# TESTS 79 122 2457600 1700
3701079 RiKang A May 11, 2013, 7:19 a.m. OK MS C++ TESTS 79 15 0 1700
3961110 Mosyagin A June 25, 2013, 5:51 p.m. OK MS C++ TESTS 79 15 0 1700
3958604 PAP A June 25, 2013, 9:02 a.m. OK MS C++ TESTS 79 15 0 1700
3958403 SeyedParsa A June 25, 2013, 8:10 a.m. OK MS C++ TESTS 79 15 0 1700
3905261 Awake A June 16, 2013, 1:18 p.m. OK MS C++ TESTS 79 15 0 1700
3857601 Mark_tven A June 11, 2013, 1:16 p.m. OK MS C++ TESTS 79 15 0 1700
3823825 proVIDec A June 5, 2013, 6:32 a.m. OK MS C++ TESTS 79 15 0 1700
3736286 sololixt A May 19, 2013, 11:06 a.m. OK MS C++ TESTS 79 15 0 1700
3699603 Lepetrandr A May 10, 2013, 2:53 p.m. OK MS C++ TESTS 79 15 0 1700
3692437 iroro A May 8, 2013, 8:40 a.m. OK MS C++ TESTS 79 15 0 1700
3582461 bsrkaditya A April 20, 2013, 7:26 p.m. OK Ocaml TESTS 79 15 0 1700
35858318 ______u______ A March 2, 2018, 8:57 p.m. OK Perl TESTS 79 62 2355200 1700
35858067 ______n______ A March 2, 2018, 8:51 p.m. OK Perl TESTS 79 62 2355200 1700
35857586 _____i_____ A March 2, 2018, 8:44 p.m. OK Perl TESTS 79 62 2355200 1700
35857493 _____k_____ A March 2, 2018, 8:40 p.m. OK Perl TESTS 79 62 2355200 1700
35849045 ______h______ A March 2, 2018, 5:07 p.m. OK Perl TESTS 79 62 2355200 1700
35849025 ______k______ A March 2, 2018, 5:07 p.m. OK Perl TESTS 79 62 2355200 1700
35848555 ______i______ A March 2, 2018, 5:01 p.m. OK Perl TESTS 79 62 2355200 1700
35844024 ______M______ A March 2, 2018, 3:22 p.m. OK Perl TESTS 79 62 2355200 1700
49178903 Zeyu A Jan. 29, 2019, 11:22 p.m. OK PyPy 2 TESTS 79 434 0 1700
3618925 howsiwei A April 25, 2013, 3:46 a.m. OK Python 2 TESTS 79 46 0 1700
3583564 goooooooopan A April 21, 2013, 5:37 a.m. OK Python 2 TESTS 79 46 0 1700
3577887 nealzane A April 20, 2013, 1:15 a.m. OK Python 2 TESTS 79 46 0 1700
3576981 Bobik A April 19, 2013, 7:51 p.m. OK Python 2 TESTS 79 46 0 1700
3830623 vlad107 A June 7, 2013, 9:18 a.m. OK Python 2 TESTS 79 62 0 1700
3639918 tmiyamon A April 27, 2013, 8:55 a.m. OK Python 2 TESTS 79 62 0 1700
3633603 sleepiforest A April 26, 2013, 3:14 a.m. OK Python 2 TESTS 79 62 0 1700
3619162 stareven A April 25, 2013, 5:46 a.m. OK Python 2 TESTS 79 62 0 1700
3618945 howsiwei A April 25, 2013, 4:02 a.m. OK Python 2 TESTS 79 62 0 1700
3618941 howsiwei A April 25, 2013, 3:58 a.m. OK Python 2 TESTS 79 62 0 1700
3667449 neko13 A May 4, 2013, 8:10 a.m. OK Python 3 TESTS 79 78 102400 1700
5652560 serglag A Jan. 10, 2014, 11:44 a.m. OK Python 3 TESTS 79 92 307200 1700
29355698 rprtr258 A Aug. 11, 2017, 2:48 p.m. OK Python 3 TESTS 79 122 4608000 1700
30093905 eddy1021 A Sept. 5, 2017, 8:02 a.m. OK Python 3 TESTS 79 124 0 1700
18871802 orailly A July 3, 2016, 6:56 p.m. OK Python 3 TESTS 79 124 0 1700
11884627 merolish A July 1, 2015, 3:50 p.m. OK Python 3 TESTS 79 124 0 1700
5243328 yugle7 A Nov. 26, 2013, 1:05 p.m. OK Python 3 TESTS 79 124 0 1700
29355635 rprtr258 A Aug. 11, 2017, 2:46 p.m. OK Python 3 TESTS 79 124 4608000 1700
33648427 ytz123 A Dec. 26, 2017, 1:53 p.m. OK Python 3 TESTS 79 124 5632000 1700
35529519 Qumeric A Feb. 20, 2018, 5:53 p.m. OK Python 3 TESTS 79 154 5632000 1700
3716643 delta_4d A May 13, 2013, 12:40 p.m. OK Ruby TESTS 79 46 0 1700
3577976 ftiasch A April 20, 2013, 1:41 a.m. OK Ruby TESTS 79 78 0 1700
3564913 watashi A April 19, 2013, 3:35 p.m. OK Ruby TESTS 79 78 0 1700
3620976 squallkt A April 25, 2013, 2:27 p.m. OK Ruby TESTS 79 78 102400 1700
7484386 plain A Aug. 16, 2014, 1:37 p.m. OK Ruby TESTS 79 124 0 1700
7292667 Lapenkov A July 30, 2014, 12:19 p.m. OK Ruby TESTS 79 154 204800 1700
3585589 dlrowolleh A April 21, 2013, 2:54 p.m. OK Scala TESTS 79 327 0 1700
22191211 reldan A Nov. 13, 2016, 11:01 a.m. OK Scala TESTS 79 654 0 1700

remove filters

Back to search problems