Codeforces Round 190 (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
321 Codeforces Round 190 (Div. 1) FINISHED False 7200 359389799 June 28, 2013, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 3649 ) A Ciel and Robot PROGRAMMING binary search implementation math 1700

B'Fox Ciel has a robot on a 2D plane. Initially it is located in (0, 0). Fox Ciel code a command to it. The command was represented by string s. Each character of s is one move operation. There are four move operations at all: The robot will do the operations in s from left to right, and repeat it infinite times. Help Fox Ciel to determine if after some steps the robot will located in (a, xe2 x80 x89b). The first line contains two integers a and b, ( xe2 x80 x89- xe2 x80 x89109 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89a, xe2 x80 x89b xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109). The second line contains a string s (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89|s| xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100, s only contains characters 'U ', 'D ', 'L ', 'R ') -- the command. Print "Yes" if the robot will be located at (a, xe2 x80 x89b), and "No" otherwise. In the first and second test case, command string is "RU", so the robot will go right, then go up, then right, and then up and so on. The locations of its moves are (0, 0) xe2 x80 x89 xe2 x86 x92 xe2 x80 x89 (1, 0) xe2 x80 x89 xe2 x86 x92 xe2 x80 x89 (1, 1) xe2 x80 x89 xe2 x86 x92 xe2 x80 x89 (2, 1) xe2 x80 x89 xe2 x86 x92 xe2 x80 x89 (2, 2) xe2 x80 x89 xe2 x86 x92 xe2 x80 x89 ... So it can reach (2, 2) but not (1, 2).'...

Tutorials

Codeforces Round #190 — Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
3995616 Misha100896 A June 30, 2013, 12:50 p.m. OK Delphi TESTS 66 15 0 1700
3984753 Omelianenko A June 28, 2013, 6:10 p.m. OK Delphi TESTS 66 15 0 1700
3975660 IgorL A June 28, 2013, 3:56 p.m. OK Delphi TESTS 66 15 102400 1700
3974400 Frommi A June 28, 2013, 3:45 p.m. OK Delphi TESTS 66 15 102400 1700
3990072 AleksanderBalobanov A June 29, 2013, 8:08 a.m. OK Delphi TESTS 66 15 512000 1700
3992632 ruban A June 29, 2013, 4:08 p.m. OK Delphi TESTS 66 15 19251200 1700
3979328 equi A June 28, 2013, 4:29 p.m. OK Delphi TESTS 66 31 102400 1700
4010622 PTNK13091996 A July 4, 2013, 9:47 a.m. OK FPC TESTS 66 15 0 1700
4008729 MudCoal A July 4, 2013, 12:28 a.m. OK FPC TESTS 66 15 0 1700
3998139 PeterTong97 A July 1, 2013, 2:49 a.m. OK FPC TESTS 66 15 0 1700
3994691 zscnash A June 30, 2013, 8:57 a.m. OK FPC TESTS 66 15 0 1700
3984067 hoanglm A June 28, 2013, 5:25 p.m. OK FPC TESTS 66 15 0 1700
3982290 vilcheuski A June 28, 2013, 5:04 p.m. OK FPC TESTS 66 15 0 1700
3982251 ForeverChelsea A June 28, 2013, 5:03 p.m. OK FPC TESTS 66 15 0 1700
3981060 Stratonov A June 28, 2013, 4:48 p.m. OK FPC TESTS 66 15 0 1700
3976321 SanSiroWaltz A June 28, 2013, 4:02 p.m. OK FPC TESTS 66 15 0 1700
3975815 JustN A June 28, 2013, 3:57 p.m. OK FPC TESTS 66 15 0 1700
4108368 code_on A July 19, 2013, 8:20 p.m. OK GNU C TESTS 66 15 0 1700
4099417 seewoo5 A July 18, 2013, 1:21 p.m. OK GNU C TESTS 66 15 0 1700
4005522 rancho A July 3, 2013, 4:19 a.m. OK GNU C TESTS 66 15 0 1700
3998673 upadhyayarahul A July 1, 2013, 8:06 a.m. OK GNU C TESTS 66 15 0 1700
3995197 niti94 A June 30, 2013, 11:12 a.m. OK GNU C TESTS 66 15 0 1700
3988527 silence_cyh A June 29, 2013, 2:40 a.m. OK GNU C TESTS 66 15 0 1700
3974887 kawatea A June 28, 2013, 3:49 p.m. OK GNU C TESTS 66 15 204800 1700
15212622 hardiknegi A Jan. 6, 2016, 5:25 p.m. OK GNU C TESTS 66 30 0 1700
11878905 neerajbattan A July 1, 2015, 8:41 a.m. OK GNU C TESTS 66 30 0 1700
10663677 vjudge4 A April 12, 2015, 7:28 a.m. OK GNU C TESTS 66 60 0 1700
4925895 diamondlx A Oct. 28, 2013, 11:50 p.m. OK GNU C++ TESTS 66 15 0 1700
4162000 vjudge3 A July 25, 2013, 7:52 a.m. OK GNU C++ TESTS 66 15 0 1700
4161954 ydy A July 25, 2013, 7:47 a.m. OK GNU C++ TESTS 66 15 0 1700
4161844 vjudge2 A July 25, 2013, 7:33 a.m. OK GNU C++ TESTS 66 15 0 1700
4160901 vjudge4 A July 25, 2013, 4:46 a.m. OK GNU C++ TESTS 66 15 0 1700
4143868 Colin_27 A July 24, 2013, 2:17 a.m. OK GNU C++ TESTS 66 15 0 1700
4141982 Monmoy A July 23, 2013, 3:53 p.m. OK GNU C++ TESTS 66 15 0 1700
4140168 vjudge4 A July 23, 2013, 10:19 a.m. OK GNU C++ TESTS 66 15 0 1700
4139521 vjudge1 A July 23, 2013, 8:09 a.m. OK GNU C++ TESTS 66 15 0 1700
4138549 SYSU_WX A July 23, 2013, 3:11 a.m. OK GNU C++ TESTS 66 15 0 1700
4144291 metowolf88 A July 24, 2013, 3:27 a.m. OK GNU C++0x TESTS 66 15 0 1700
4035270 Goofy57 A July 7, 2013, 3:14 p.m. OK GNU C++0x TESTS 66 15 0 1700
4031483 tatsuhiro.t A July 6, 2013, 3:10 p.m. OK GNU C++0x TESTS 66 15 0 1700
4030515 icyrhyme A July 6, 2013, 10:45 a.m. OK GNU C++0x TESTS 66 15 0 1700
4023336 rasto93 A July 4, 2013, 7:43 p.m. OK GNU C++0x TESTS 66 15 0 1700
4023210 adamant A July 4, 2013, 7:19 p.m. OK GNU C++0x TESTS 66 15 0 1700
4023196 adamant A July 4, 2013, 7:16 p.m. OK GNU C++0x TESTS 66 15 0 1700
4023183 adamant A July 4, 2013, 7:12 p.m. OK GNU C++0x TESTS 66 15 0 1700
4009301 ericpts A July 4, 2013, 5:30 a.m. OK GNU C++0x TESTS 66 15 0 1700
4006539 sarasouju A July 3, 2013, noon OK GNU C++0x TESTS 66 15 0 1700
30648242 h_thies A Sept. 23, 2017, 4:19 p.m. OK GNU C++11 TESTS 66 30 0 1700
29529940 naumazeredo A Aug. 17, 2017, 4:03 p.m. OK GNU C++11 TESTS 66 30 0 1700
27723428 Nson A June 11, 2017, 3:37 p.m. OK GNU C++11 TESTS 66 30 0 1700
27429645 vampire_slayer A May 29, 2017, 1:06 p.m. OK GNU C++11 TESTS 66 30 0 1700
27429491 vampire_slayer A May 29, 2017, 12:54 p.m. OK GNU C++11 TESTS 66 30 0 1700
22949657 rajat1603 A Dec. 14, 2016, 1:38 p.m. OK GNU C++11 TESTS 66 30 0 1700
22730851 NourElRashidy A Dec. 6, 2016, 1:09 p.m. OK GNU C++11 TESTS 66 30 0 1700
22644863 akshat14 A Dec. 1, 2016, 5:08 p.m. OK GNU C++11 TESTS 66 30 0 1700
22512830 SmokeOut A Nov. 26, 2016, 4:03 p.m. OK GNU C++11 TESTS 66 30 0 1700
22416005 thanhngabkav A Nov. 23, 2016, 4:25 a.m. OK GNU C++11 TESTS 66 30 0 1700
52539202 yet_super_CONFIDENCE A April 9, 2019, 5:10 p.m. OK GNU C++14 TESTS 66 30 0 1700
32557983 z3r0dmg A Nov. 22, 2017, 5:33 p.m. OK GNU C++14 TESTS 66 30 0 1700
32553500 Ashishgup A Nov. 22, 2017, 2:28 p.m. OK GNU C++14 TESTS 66 30 0 1700
32227340 murugappan_s A Nov. 11, 2017, 6:01 p.m. OK GNU C++14 TESTS 66 30 0 1700
32210906 KirillShin A Nov. 11, 2017, 5:20 a.m. OK GNU C++14 TESTS 66 30 0 1700
31820893 pushpendra1997 A Oct. 27, 2017, 11:19 p.m. OK GNU C++14 TESTS 66 30 0 1700
30336393 raiden_11 A Sept. 14, 2017, 6:33 p.m. OK GNU C++14 TESTS 66 30 0 1700
30289060 Stresshoover A Sept. 12, 2017, 2:43 p.m. OK GNU C++14 TESTS 66 30 0 1700
30020003 Bassel A Sept. 2, 2017, 8:09 p.m. OK GNU C++14 TESTS 66 30 0 1700
29682357 saisurya027 A Aug. 22, 2017, 12:22 p.m. OK GNU C++14 TESTS 66 30 0 1700
54231194 codeict A May 16, 2019, 8:48 a.m. OK GNU C++17 TESTS 66 30 0 1700
39424228 k3nz0 A June 20, 2018, 1:32 a.m. OK GNU C++17 TESTS 66 30 0 1700
49557968 thedragonslayer A Feb. 7, 2019, 10:52 a.m. OK GNU C++17 TESTS 66 30 6656000 1700
57878480 dixitgarg A July 28, 2019, 6:40 a.m. OK GNU C++17 TESTS 66 60 0 1700
57878401 mayjunejuly059 A July 28, 2019, 6:38 a.m. OK GNU C++17 TESTS 66 60 0 1700
57852596 ninja_28 A July 27, 2019, 1:44 p.m. OK GNU C++17 TESTS 66 60 0 1700
53280932 dmkozyrev A April 25, 2019, 11:55 a.m. OK GNU C++17 TESTS 66 60 0 1700
40573275 Klaycf A July 20, 2018, 9:23 a.m. OK GNU C++17 TESTS 66 60 0 1700
39046695 S33k4ndD35tr0y A June 8, 2018, 1 p.m. OK GNU C++17 TESTS 66 60 0 1700
38706030 IWannaBeTheGuy A May 28, 2018, 11:36 p.m. OK GNU C++17 TESTS 66 60 0 1700
3988442 lavin A June 29, 2013, 2:23 a.m. OK Go TESTS 66 15 0 1700
8171511 arnoldjulians A Oct. 11, 2014, 6:22 a.m. OK Go TESTS 66 62 102400 1700
4130471 autotaker A July 21, 2013, 4:33 p.m. OK Haskell TESTS 66 15 0 1700
4602313 ergatis A Sept. 29, 2013, 4:10 a.m. OK Haskell TESTS 66 30 0 1700
4592586 ergatis A Sept. 27, 2013, 11:03 p.m. OK Haskell TESTS 66 30 0 1700
21342508 pavel.rosputko A Oct. 10, 2016, 4:38 p.m. OK Haskell TESTS 66 30 53248000 1700
3991756 Ahmed.Ibrahem A June 29, 2013, 1:17 p.m. OK Java 6 TESTS 66 78 0 1700
3979684 hs484 A June 28, 2013, 4:33 p.m. OK Java 6 TESTS 66 78 0 1700
4056696 Sammarize A July 12, 2013, 10:16 p.m. OK Java 6 TESTS 66 93 0 1700
3994556 Soldat A June 30, 2013, 8:03 a.m. OK Java 6 TESTS 66 93 0 1700
3983273 bohuss A June 28, 2013, 5:16 p.m. OK Java 6 TESTS 66 93 0 1700
3979867 coderbd A June 28, 2013, 4:35 p.m. OK Java 6 TESTS 66 93 0 1700
3974876 uwi A June 28, 2013, 3:49 p.m. OK Java 6 TESTS 66 93 0 1700
4126197 DoublePointer A July 21, 2013, 5:26 a.m. OK Java 6 TESTS 66 93 102400 1700
3985621 tsun A June 28, 2013, 6:31 p.m. OK Java 6 TESTS 66 93 2252800 1700
3980877 Omar.Darwish A June 28, 2013, 4:46 p.m. OK Java 6 TESTS 66 109 0 1700
4072076 mmoonzhu A July 15, 2013, 2:45 a.m. OK Java 7 TESTS 66 78 0 1700
4059666 AlexErofeev A July 13, 2013, 12:46 p.m. OK Java 7 TESTS 66 78 0 1700
4039639 MrE A July 8, 2013, 4:03 p.m. OK Java 7 TESTS 66 78 0 1700
4001126 Lapenkov A July 1, 2013, 8:05 p.m. OK Java 7 TESTS 66 78 0 1700
4000737 API A July 1, 2013, 6:04 p.m. OK Java 7 TESTS 66 78 0 1700
3996871 NiceDay A June 30, 2013, 4:55 p.m. OK Java 7 TESTS 66 78 0 1700
3993188 mostafa_fahim A June 29, 2013, 5:48 p.m. OK Java 7 TESTS 66 78 0 1700
3992242 ihkus A June 29, 2013, 2:50 p.m. OK Java 7 TESTS 66 78 0 1700
3991394 tanzaku A June 29, 2013, 12:04 p.m. OK Java 7 TESTS 66 78 0 1700
3990869 CurbStomp A June 29, 2013, 10:29 a.m. OK Java 7 TESTS 66 78 0 1700
27311194 OmarRadwan A May 23, 2017, 9:53 p.m. OK Java 8 TESTS 66 218 0 1700
15077422 Nirmit A Dec. 28, 2015, 9 p.m. OK Java 8 TESTS 66 218 0 1700
10569431 poikniok A April 4, 2015, 4:48 a.m. OK Java 8 TESTS 66 218 0 1700
69185919 kocko A Jan. 20, 2020, 11:56 a.m. OK Java 8 TESTS 66 248 0 1700
49159352 poiuytrewq A Jan. 29, 2019, 2:49 p.m. OK Java 8 TESTS 66 248 0 1700
40716183 KulikAlex A July 24, 2018, 7:32 p.m. OK Java 8 TESTS 66 248 0 1700
38594390 jonsnow7 A May 24, 2018, 6:30 p.m. OK Java 8 TESTS 66 248 0 1700
27422078 aabdelzaher A May 29, 2017, 2:26 a.m. OK Java 8 TESTS 66 248 0 1700
27310490 Kammola A May 23, 2017, 8:32 p.m. OK Java 8 TESTS 66 248 0 1700
21853417 Dekacc A Oct. 28, 2016, 5:16 p.m. OK Java 8 TESTS 66 248 0 1700
3989671 bor.is A June 29, 2013, 6:50 a.m. OK MS C# TESTS 66 46 102400 1700
4009386 pnomarev A July 4, 2013, 6:14 a.m. OK MS C# TESTS 66 46 204800 1700
3988953 dwoolley3 A June 29, 2013, 4:13 a.m. OK MS C# TESTS 66 62 102400 1700
4010134 wzhgba A July 4, 2013, 8:10 a.m. OK MS C# TESTS 66 62 307200 1700
3986452 marat.snowbear A June 28, 2013, 7:18 p.m. OK MS C# TESTS 66 62 2252800 1700
3974254 it4.kp A June 28, 2013, 3:44 p.m. OK MS C# TESTS 66 62 21299200 1700
3998885 patkovskyi A July 1, 2013, 9:24 a.m. OK MS C# TESTS 66 78 2150400 1700
14347435 og.kostya A Nov. 19, 2015, 5:51 p.m. OK MS C# TESTS 66 124 204800 1700
18962770 pacificus A July 8, 2016, 6:26 a.m. OK MS C# TESTS 66 156 2457600 1700
4144396 ChopinPlover A July 24, 2013, 3:49 a.m. OK MS C++ TESTS 66 15 0 1700
4055368 serlis A July 12, 2013, 2:33 p.m. OK MS C++ TESTS 66 15 0 1700
4039817 how_to_become_purple A July 8, 2013, 5:39 p.m. OK MS C++ TESTS 66 15 0 1700
4035159 r13 A July 7, 2013, 2:37 p.m. OK MS C++ TESTS 66 15 0 1700
4026575 Battle_Mage A July 5, 2013, 11:23 a.m. OK MS C++ TESTS 66 15 0 1700
4023013 ali.mashreghi A July 4, 2013, 6:36 p.m. OK MS C++ TESTS 66 15 0 1700
4000046 softogen A July 1, 2013, 2:45 p.m. OK MS C++ TESTS 66 15 0 1700
3992938 Anarivu A June 29, 2013, 5:04 p.m. OK MS C++ TESTS 66 15 0 1700
3992788 Vedensky A June 29, 2013, 4:37 p.m. OK MS C++ TESTS 66 15 0 1700
3992340 M.Mahdi A June 29, 2013, 3:11 p.m. OK MS C++ TESTS 66 15 0 1700
11873785 lucaslima A July 1, 2015, 12:34 a.m. OK Ocaml TESTS 66 62 0 1700
4043617 kpe8eg A July 9, 2013, 5:37 p.m. OK PHP TESTS 66 31 0 1700
65260829 Wizmann A Nov. 17, 2019, 2:59 p.m. OK PyPy 2 TESTS 66 436 0 1700
45029255 homoeconomicus A Oct. 29, 2018, 1:57 a.m. OK PyPy 3 TESTS 66 278 0 1700
60253421 kopok2 A Sept. 8, 2019, 8:07 a.m. OK PyPy 3 TESTS 66 280 1536000 1700
36631200 KuroEce A March 26, 2018, 3:37 a.m. OK PyPy 3 TESTS 66 436 24985600 1700
4048157 m1_k3 A July 10, 2013, 8:35 p.m. OK Python 2 TESTS 66 46 0 1700
3996592 dft A June 30, 2013, 3:58 p.m. OK Python 2 TESTS 66 46 0 1700
3988744 tigupine A June 29, 2013, 3:30 a.m. OK Python 2 TESTS 66 46 0 1700
3996608 miku A June 30, 2013, 4 p.m. OK Python 2 TESTS 66 46 307200 1700
3992490 lovefly1983 A June 29, 2013, 3:43 p.m. OK Python 2 TESTS 66 62 0 1700
3992456 lovefly1983 A June 29, 2013, 3:38 p.m. OK Python 2 TESTS 66 62 0 1700
3988727 tigupine A June 29, 2013, 3:26 a.m. OK Python 2 TESTS 66 62 0 1700
3986081 DDDDDDDDDDDDDDDDDDDDDDDD A June 28, 2013, 6:51 p.m. OK Python 2 TESTS 66 62 0 1700
3976960 syimyuzya A June 28, 2013, 4:08 p.m. OK Python 2 TESTS 66 62 0 1700
3974267 nwi A June 28, 2013, 3:44 p.m. OK Python 2 TESTS 66 62 0 1700
4074909 TsunamiNoLetGo A July 15, 2013, 11:32 a.m. OK Python 3 TESTS 66 78 102400 1700
4043100 dimatomp A July 9, 2013, 3:30 p.m. OK Python 3 TESTS 66 78 102400 1700
21207972 orailly A Oct. 5, 2016, 12:21 p.m. OK Python 3 TESTS 66 124 0 1700
12827637 kimiyuki A Sept. 3, 2015, 11:28 a.m. OK Python 3 TESTS 66 124 0 1700
5307595 yugle7 A Nov. 29, 2013, 8:39 p.m. OK Python 3 TESTS 66 124 0 1700
4711725 ahmed_fathy_aly A Oct. 8, 2013, 9 p.m. OK Python 3 TESTS 66 124 0 1700
25430960 filix A March 12, 2017, 10:18 a.m. OK Python 3 TESTS 66 124 4915200 1700
16677440 bradyzhou A March 12, 2016, 4:34 p.m. OK Python 3 TESTS 66 154 0 1700
14416824 merolish A Nov. 22, 2015, 4:39 p.m. OK Python 3 TESTS 66 154 0 1700
21207641 orailly A Oct. 5, 2016, 12:05 p.m. OK Python 3 TESTS 66 184 0 1700
21016129 MahmoudSayed A Sept. 30, 2016, 1:57 p.m. OK Ruby TESTS 66 154 0 1700
4043171 carbon_twelve A July 9, 2013, 3:47 p.m. OK Scala TESTS 66 375 204800 1700
3986755 limed A June 28, 2013, 7:47 p.m. OK Scala TESTS 66 405 102400 1700

remove filters

Back to search problems