2020-2021 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules)

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
1468 2020-2021 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules) FINISHED False 18000 122927099 Dec. 25, 2020, 11:35 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 5164 ) K The Robot PROGRAMMING brute force implementation

B"There is a robot on a checkered field that is endless in all directions. Initially, the robot is located in the cell with coordinates (0, 0) . He will execute commands which are described by a string of capital Latin letters 'L', 'R', 'D', 'U'. When a command is executed, the robot simply moves in the corresponding direction: Your task is to put an obstacle in one cell of the field so that after executing the commands, the robot will return to the original cell of its path (0, 0) . Of course, an obstacle cannot be placed in the starting cell (0, 0) . It is guaranteed that if the obstacle is not placed, then the robot will not return to the starting cell. An obstacle affects the movement of the robot in the following way: if it tries to go in a certain direction, and there is an obstacle, then it simply remains in place (the obstacle also remains, that is, it does not disappear). Find any such cell of the field (other than (0, 0) ) that if you put an obstacle there, the robot will return to the cell (0, 0) after the execution of all commands. If there is no solution, then report it. The first line contains one integer t ( 1 <= t <= 500 ) -- the number of test cases. Each test case consists of a single line containing s -- the sequence of commands, which are uppercase Latin letters 'L', 'R', 'D', 'U' only. The length of s is between 1 and 5000 , inclusive. Additional constraint on s : executing this sequence of commands leads the robot to some cell other than (0, 0) , if there are no obstacles. The sum of lengths of all s in a test doesn't exceed 5000 . For each test case print a single line: If there are multiple answers, you can print any of them. "...

Tutorials

Tutorial (PDF)

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
102307250 qwqdeco Juanzhang yijan K Dec. 25, 2020, 12:13 p.m. OK GNU C++11 TESTS 57 31 102400
102314491 Even_Bao yuyue Bill_Benation K Dec. 25, 2020, 1:09 p.m. OK GNU C++11 TESTS 57 31 204800
102310945 C20161009 sleep__ FastFriedToast K Dec. 25, 2020, 12:41 p.m. OK GNU C++11 TESTS 57 46 0
102310057 silly-1-2-3 zswzswzswzsw BQAC K Dec. 25, 2020, 12:34 p.m. OK GNU C++11 TESTS 57 46 0
102306923 cbio AzusaCat hs-black K Dec. 25, 2020, 12:11 p.m. OK GNU C++11 TESTS 57 46 0
102306282 amsen Man Arpa K Dec. 25, 2020, 12:06 p.m. OK GNU C++11 TESTS 57 46 0
102306174 aymanrasheed7 serotonin Alpha_Q K Dec. 25, 2020, 12:06 p.m. OK GNU C++11 TESTS 57 46 0
102305812 C20191629 TiwAirOAO K Dec. 25, 2020, 12:03 p.m. OK GNU C++11 TESTS 57 46 0
102314720 penguin1017 K Dec. 25, 2020, 1:11 p.m. OK GNU C++11 TESTS 57 46 102400
102322465 passer_by7 farmerj Witcano K Dec. 25, 2020, 2:14 p.m. OK GNU C++11 TESTS 57 46 204800
102310474 AwakeAnay 20kra himanshugarg1703 K Dec. 25, 2020, 12:37 p.m. OK GNU C++14 TESTS 57 31 512000
102314298 hoenchioma 4.5Tatami joker70 K Dec. 25, 2020, 1:07 p.m. OK GNU C++14 TESTS 57 46 0
102310961 algodoer K Dec. 25, 2020, 12:41 p.m. OK GNU C++14 TESTS 57 46 0
102362662 cheben K Dec. 26, 2020, 3:30 a.m. OK GNU C++14 TESTS 57 46 102400
102360047 YJJ_Konnyaku K Dec. 26, 2020, 1:42 a.m. OK GNU C++14 TESTS 57 46 102400
102307749 tae826 K Dec. 25, 2020, 12:17 p.m. OK GNU C++14 TESTS 57 46 102400
102328006 _c_k_r_ K Dec. 25, 2020, 2:58 p.m. OK GNU C++14 TESTS 57 46 307200
102316882 the_iridescent_on3 Uosmoy_A. artugal_28_373 K Dec. 25, 2020, 1:28 p.m. OK GNU C++14 TESTS 57 46 307200
102313790 Nero K Dec. 25, 2020, 1:03 p.m. OK GNU C++14 TESTS 57 46 307200
102309761 rainbowzzh K Dec. 25, 2020, 12:32 p.m. OK GNU C++14 TESTS 57 46 307200
102319321 oreos lezirtin TheRaja K Dec. 25, 2020, 1:48 p.m. OK GNU C++17 TESTS 57 31 16793600
102363884 zzynb K Dec. 26, 2020, 4:11 a.m. OK GNU C++17 TESTS 57 46 0
102326890 zucker42 K Dec. 25, 2020, 2:48 p.m. OK GNU C++17 TESTS 57 46 0
102312472 MuhammadAl-Halaby maghrabyJr_ ahmad.magdy K Dec. 25, 2020, 12:53 p.m. OK GNU C++17 TESTS 57 46 0
102304944 xuanquang1999 FlowerOfSorrow neko_nyaaaaaaaaaaaaaaaaa K Dec. 25, 2020, 11:57 a.m. OK GNU C++17 TESTS 57 46 0
102309490 TudorTismaneanu K Dec. 25, 2020, 12:30 p.m. OK GNU C++17 TESTS 57 46 102400
102308479 Halo_Scar Lgq_3de5 Dyswan K Dec. 25, 2020, 12:23 p.m. OK GNU C++17 TESTS 57 46 102400
102309435 anurat123 kasparovian K Dec. 25, 2020, 12:30 p.m. OK GNU C++17 TESTS 57 46 204800
102336627 InvisiblePinkUnicorn Exeggutor thirtiseven K Dec. 25, 2020, 4:21 p.m. OK GNU C++17 TESTS 57 46 307200
102331110 Nickir K Dec. 25, 2020, 3:25 p.m. OK GNU C++17 TESTS 57 46 307200
102306755 Kalptaru _baba_yaga Wernier K Dec. 25, 2020, 12:10 p.m. OK GNU C++17 (64) TESTS 57 31 307200
102327955 mh755628 K Dec. 25, 2020, 2:58 p.m. OK GNU C++17 (64) TESTS 57 46 0
102316484 syawl-1017 ydh 465tjl K Dec. 25, 2020, 1:24 p.m. OK GNU C++17 (64) TESTS 57 46 0
102313377 TML104 510030805voidf K Dec. 25, 2020, 1 p.m. OK GNU C++17 (64) TESTS 57 46 0
102307429 seastar105 semteo04 shiftpsh K Dec. 25, 2020, 12:15 p.m. OK GNU C++17 (64) TESTS 57 46 0
102308919 JYJin dhkang01 K Dec. 25, 2020, 12:26 p.m. OK GNU C++17 (64) TESTS 57 46 102400
102308149 maozkurt K Dec. 25, 2020, 12:20 p.m. OK GNU C++17 (64) TESTS 57 46 102400
102307790 Rahul K Dec. 25, 2020, 12:17 p.m. OK GNU C++17 (64) TESTS 57 46 102400
102306684 TrailblazeR_ irri mahdi.hasnat K Dec. 25, 2020, 12:09 p.m. OK GNU C++17 (64) TESTS 57 46 102400
102306281 Giada dario2994 K Dec. 25, 2020, 12:06 p.m. OK GNU C++17 (64) TESTS 57 46 102400
102309274 chris_11 K Dec. 25, 2020, 12:29 p.m. OK Java 11 TESTS 57 249 0
102333591 mr13dynamo akman10 K Dec. 25, 2020, 3:47 p.m. OK Java 11 TESTS 57 327 0
102308760 insert_cool_handle K Dec. 25, 2020, 12:25 p.m. OK Java 11 TESTS 57 358 0
102323495 amit_chas Dalgona1lover K Dec. 25, 2020, 2:22 p.m. OK Java 11 TESTS 57 389 0
102320241 yuzo-san K Dec. 25, 2020, 1:56 p.m. OK Java 11 TESTS 57 421 0
102314615 soumit915 K Dec. 25, 2020, 1:10 p.m. OK Java 11 TESTS 57 468 102400
102310619 sf14t K Dec. 25, 2020, 12:38 p.m. OK Java 11 TESTS 57 764 204800
102346380 guru1603 K Dec. 25, 2020, 6:53 p.m. OK Java 11 TESTS 57 764 9932800
102306370 vkjha1010 shubham0898 Naman_123 K Dec. 25, 2020, 12:07 p.m. OK Java 8 TESTS 57 186 0
102325640 godxpunk K Dec. 25, 2020, 2:39 p.m. OK Java 8 TESTS 57 296 0
102361913 Jetman K Dec. 26, 2020, 3:03 a.m. OK Java 8 TESTS 57 311 0
102323900 moli2398 K Dec. 25, 2020, 2:25 p.m. OK Java 8 TESTS 57 311 0
102311583 d4rkc0de K Dec. 25, 2020, 12:46 p.m. OK Java 8 TESTS 57 311 0
102308828 nitin_codr sudhanshu_lucky K Dec. 25, 2020, 12:25 p.m. OK Java 8 TESTS 57 311 0
102327365 vive_k jaswanthkarangula15 K Dec. 25, 2020, 2:52 p.m. OK Java 8 TESTS 57 342 0
102323947 kamel K Dec. 25, 2020, 2:25 p.m. OK Java 8 TESTS 57 483 0
102366364 Spheniscine K Dec. 26, 2020, 5:18 a.m. OK Kotlin TESTS 57 296 0
102344008 Gravekper K Dec. 25, 2020, 6:20 p.m. OK MS C++ 2017 TESTS 57 78 204800
102363663 Torehalt K Dec. 26, 2020, 4:04 a.m. OK MS C++ 2017 TESTS 57 202 307200
102313312 hruif K Dec. 25, 2020, 12:59 p.m. OK MS C++ 2017 TESTS 57 280 102400
102310219 bazzyadb hg333 K Dec. 25, 2020, 12:35 p.m. OK PyPy 2 TESTS 57 265 4300800
102359602 kagu K Dec. 26, 2020, 1:23 a.m. OK PyPy 2 TESTS 57 358 2048000
102368062 smahendrakumar121 K Dec. 26, 2020, 5:50 a.m. OK PyPy 3 TESTS 57 326 5939200
102308689 Mahipalkeizer yash_chad K Dec. 25, 2020, 12:24 p.m. OK PyPy 3 TESTS 57 498 7577600
102312302 vikaschhipi2000 DarkOverlord999 _robindhankhar K Dec. 25, 2020, 12:51 p.m. OK PyPy 3 TESTS 57 560 5632000
102317123 kautilya mahesh12345 pravalikagovind789 K Dec. 25, 2020, 1:29 p.m. OK PyPy 3 TESTS 57 592 3174400
102319937 DaddyCool__69 Satwik_Tiwari K Dec. 25, 2020, 1:53 p.m. OK PyPy 3 TESTS 57 592 10444800
102310494 karthikeya619 alphatron99 Kishen19 K Dec. 25, 2020, 12:38 p.m. OK PyPy 3 TESTS 57 607 4710400
102352389 sh1194 K Dec. 25, 2020, 8:37 p.m. OK PyPy 3 TESTS 57 623 4403200
102306443 semjon.00 Crisp0r Pneumokogur8 K Dec. 25, 2020, 12:07 p.m. OK PyPy 3 TESTS 57 623 4403200
102352728 silvertint K Dec. 25, 2020, 8:45 p.m. OK PyPy 3 TESTS 57 639 4505600
102352451 sh1194 K Dec. 25, 2020, 8:38 p.m. OK PyPy 3 TESTS 57 654 4300800
102307184 sansen K Dec. 25, 2020, 12:13 p.m. OK Rust TESTS 57 124 307200
102293870 K Dec. 25, 2020, 9:38 a.m. OK Unknown TESTS 0 0 0
102293789 K Dec. 25, 2020, 9:38 a.m. OK Unknown TESTS 0 0 0
102293743 K Dec. 25, 2020, 9:38 a.m. OK Unknown TESTS 0 0 0

remove filters

Back to search problems