Educational Codeforces Round 84 (Rated for 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
1327 Educational Codeforces Round 84 (Rated for Div. 2) FINISHED False 7200 152378710 March 23, 2020, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 13534 ) C Game with Chips PROGRAMMING constructive algorithms 1600

B"Petya has a rectangular Board of size n x m . Initially, k chips are placed on the board, i -th chip is located in the cell at the intersection of sx_i -th row and sy_i -th column. In one action, Petya can move all the chips to the left, right, down or up by 1 cell. If the chip was in the (x, y) cell, then after the operation: If the chip is located by the wall of the board, and the action chosen by Petya moves it towards the wall, then the chip remains in its current position. Note that several chips can be located in the same cell. For each chip, Petya chose the position which it should visit. Note that it's not necessary for a chip to end up in this position. Since Petya does not have a lot of free time, he is ready to do no more than 2nm actions. You have to find out what actions Petya should do so that each chip visits the position that Petya selected for it at least once. Or determine that it is not possible to do this in 2nm actions. The first line contains three integers n, m, k ( 1 <= n, m, k <= 200 ) -- the number of rows and columns of the board and the number of chips, respectively. The next k lines contains two integers each sx_i, sy_i ( 1 <= sx_i <= n, 1 <= sy_i <= m ) -- the starting position of the i -th chip. The next k lines contains two integers each fx_i, fy_i ( 1 <= fx_i <= n, 1 <= fy_i <= m ) -- the position that the i -chip should visit at least once. In the first line print the number of operations so that each chip visits the position that Petya selected for it at least once. In the second line output the sequence of operations. To indicate operations left, right, down, and up, use the characters L, R, D, U respectively. If the required sequence does not exist, print -1 in the single line. "...

Tutorials

Educational Codeforces Round 84 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
74319696 Mikromolekula1100 C March 25, 2020, 5:27 p.m. OK FPC TESTS 28 124 1638400 1600
74326388 Saveliy_Kuznetsov C March 25, 2020, 6:37 p.m. OK FPC TESTS 28 139 1638400 1600
74393270 Georgii123 C March 26, 2020, 1:54 p.m. OK FPC TESTS 28 140 1638400 1600
74117777 rainboy C March 23, 2020, 4:22 p.m. OK GNU C11 TESTS 28 31 0 1600
74189325 ordinary123 C March 24, 2020, 10:50 a.m. OK GNU C11 TESTS 28 31 819200 1600
74189377 ARSLANNN C March 24, 2020, 10:50 a.m. OK GNU C11 TESTS 28 31 819200 1600
74188490 ordinary123 C March 24, 2020, 10:40 a.m. OK GNU C11 TESTS 28 31 819200 1600
74131921 jisangain C March 23, 2020, 5:28 p.m. OK GNU C11 TESTS 28 139 0 1600
74376097 akash19jain C March 26, 2020, 10:39 a.m. OK GNU C11 TESTS 28 140 0 1600
74393043 vjudge5 C March 26, 2020, 1:51 p.m. OK GNU C11 TESTS 28 140 0 1600
74251325 UshanGhosh C March 25, 2020, 2:56 a.m. OK GNU C11 TESTS 28 140 0 1600
74251468 UshanGhosh C March 25, 2020, 3:01 a.m. OK GNU C11 TESTS 28 140 0 1600
74332630 tankman890 C March 25, 2020, 7:55 p.m. OK GNU C11 TESTS 28 140 0 1600
74206508 Peanut.Tang C March 24, 2020, 1:49 p.m. OK GNU C++11 TESTS 28 15 0 1600
74166079 jainbishay C March 24, 2020, 6:09 a.m. OK GNU C++11 TESTS 28 15 204800 1600
74248267 fezzycat C March 25, 2020, 1:02 a.m. OK GNU C++11 TESTS 28 30 0 1600
74568878 learningmou C March 27, 2020, 2:32 p.m. OK GNU C++11 TESTS 28 30 0 1600
74331938 MrEK C March 25, 2020, 7:45 p.m. OK GNU C++11 TESTS 28 30 0 1600
74313347 pikachu11 C March 25, 2020, 4:23 p.m. OK GNU C++11 TESTS 28 30 0 1600
74300893 dingcx C March 25, 2020, 2:32 p.m. OK GNU C++11 TESTS 28 30 0 1600
74295988 HieuCKTT C March 25, 2020, 1:37 p.m. OK GNU C++11 TESTS 28 30 0 1600
74180208 vjudge4 C March 24, 2020, 8:59 a.m. OK GNU C++11 TESTS 28 30 0 1600
74157190 cjlu19zx C March 24, 2020, 2:46 a.m. OK GNU C++11 TESTS 28 30 0 1600
74275659 kkqq C March 25, 2020, 9:53 a.m. OK GNU C++14 TESTS 28 15 0 1600
74140011 100gods C March 23, 2020, 7:03 p.m. OK GNU C++14 TESTS 28 15 0 1600
74154485 immortal_101 C March 24, 2020, 1:25 a.m. OK GNU C++14 TESTS 28 15 0 1600
74158148 xxGABBARxx C March 24, 2020, 3:14 a.m. OK GNU C++14 TESTS 28 15 0 1600
74160563 ShyRoute C March 24, 2020, 4:16 a.m. OK GNU C++14 TESTS 28 15 0 1600
74168165 Sanatan C March 24, 2020, 6:35 a.m. OK GNU C++14 TESTS 28 15 0 1600
74221579 adityasohoni C March 24, 2020, 4:32 p.m. OK GNU C++14 TESTS 28 15 0 1600
74246877 gauravrai628 C March 25, 2020, 12:04 a.m. OK GNU C++14 TESTS 28 15 0 1600
74257251 alien94 C March 25, 2020, 5:28 a.m. OK GNU C++14 TESTS 28 15 0 1600
74260057 CrayonKe C March 25, 2020, 6:20 a.m. OK GNU C++14 TESTS 28 15 0 1600
74538653 harshita.nit C March 27, 2020, 8:49 a.m. OK GNU C++17 TESTS 28 15 0 1600
74380814 Fengxiang C March 26, 2020, 11:36 a.m. OK GNU C++17 TESTS 28 15 0 1600
74374921 darkpsychic C March 26, 2020, 10:24 a.m. OK GNU C++17 TESTS 28 15 0 1600
74374536 EntropyX C March 26, 2020, 10:19 a.m. OK GNU C++17 TESTS 28 15 0 1600
74307945 kt0107 C March 25, 2020, 3:35 p.m. OK GNU C++17 TESTS 28 15 0 1600
74283111 ironic C March 25, 2020, 11:23 a.m. OK GNU C++17 TESTS 28 15 0 1600
74257434 shankamboj C March 25, 2020, 5:32 a.m. OK GNU C++17 TESTS 28 15 0 1600
74254033 Drows_1123 C March 25, 2020, 4:09 a.m. OK GNU C++17 TESTS 28 15 0 1600
74225727 vishal10ya C March 24, 2020, 5:19 p.m. OK GNU C++17 TESTS 28 15 0 1600
74184204 N_g_M C March 24, 2020, 9:47 a.m. OK GNU C++17 TESTS 28 15 0 1600
74204655 autoint C March 24, 2020, 1:31 p.m. OK GNU C++17 (64) TESTS 28 15 0 1600
74252739 yihe1 C March 25, 2020, 3:34 a.m. OK GNU C++17 (64) TESTS 28 15 102400 1600
74129592 ankushkhanna C March 23, 2020, 5:08 p.m. OK GNU C++17 (64) TESTS 28 15 102400 1600
74167616 Finding_Infinity C March 24, 2020, 6:29 a.m. OK GNU C++17 (64) TESTS 28 15 102400 1600
74179721 DNP C March 24, 2020, 8:52 a.m. OK GNU C++17 (64) TESTS 28 15 102400 1600
74174449 sharmajatin741 C March 24, 2020, 7:47 a.m. OK GNU C++17 (64) TESTS 28 15 204800 1600
74127321 I_love_chickpea C March 23, 2020, 4:52 p.m. OK GNU C++17 (64) TESTS 28 15 204800 1600
74172799 _LzY_ C March 24, 2020, 7:27 a.m. OK GNU C++17 (64) TESTS 28 15 204800 1600
74167968 erkam C March 24, 2020, 6:33 a.m. OK GNU C++17 (64) TESTS 28 15 11980800 1600
74292929 .Data_Nerd. C March 25, 2020, 1:07 p.m. OK GNU C++17 (64) TESTS 28 30 0 1600
74156627 wzazzy C March 24, 2020, 2:30 a.m. OK Go TESTS 28 155 204800 1600
74215194 ae04071 C March 24, 2020, 3:16 p.m. OK Go TESTS 28 170 102400 1600
74366059 Laurens C March 26, 2020, 8:31 a.m. OK Haskell TESTS 28 46 102400 1600
74386619 sudhanshu_lucky C March 26, 2020, 12:43 p.m. OK Java 11 TESTS 28 171 0 1600
74257241 tusharjape007 C March 25, 2020, 5:28 a.m. OK Java 11 TESTS 28 171 0 1600
74210267 RomitGandhi07 C March 24, 2020, 2:24 p.m. OK Java 11 TESTS 28 171 0 1600
74189683 Anonymous C March 24, 2020, 10:54 a.m. OK Java 11 TESTS 28 171 0 1600
74166697 kashishsingh8700 C March 24, 2020, 6:17 a.m. OK Java 11 TESTS 28 171 0 1600
74148399 sarthakmanna C March 23, 2020, 9:39 p.m. OK Java 11 TESTS 28 171 102400 1600
74545995 Vatsal53 C March 27, 2020, 10:13 a.m. OK Java 11 TESTS 28 186 0 1600
74192935 noahlewis.ca C March 24, 2020, 11:31 a.m. OK Java 11 TESTS 28 186 0 1600
74121200 AshrafEzz C March 23, 2020, 4:29 p.m. OK Java 11 TESTS 28 186 0 1600
74362101 LXFLXJX C March 26, 2020, 7:36 a.m. OK Java 11 TESTS 28 187 0 1600
74283936 superatty C March 25, 2020, 11:33 a.m. OK Java 8 TESTS 28 109 0 1600
74575278 johnny16 C March 27, 2020, 3:39 p.m. OK Java 8 TESTS 28 109 0 1600
74302634 bhavyseth C March 25, 2020, 2:50 p.m. OK Java 8 TESTS 28 109 0 1600
74282259 aston_martin C March 25, 2020, 11:14 a.m. OK Java 8 TESTS 28 109 0 1600
74195392 jhc C March 24, 2020, 11:57 a.m. OK Java 8 TESTS 28 109 0 1600
74188082 Manan8686 C March 24, 2020, 10:34 a.m. OK Java 8 TESTS 28 109 0 1600
74177447 code_zy C March 24, 2020, 8:23 a.m. OK Java 8 TESTS 28 109 0 1600
74177110 code_zy C March 24, 2020, 8:19 a.m. OK Java 8 TESTS 28 109 0 1600
74168076 Apurva021 C March 24, 2020, 6:34 a.m. OK Java 8 TESTS 28 109 0 1600
74159532 Naman_123 C March 24, 2020, 3:50 a.m. OK Java 8 TESTS 28 109 0 1600
74310296 ostroumov C March 25, 2020, 3:52 p.m. OK Kotlin TESTS 28 124 0 1600
74180369 Spheniscine C March 24, 2020, 9:01 a.m. OK Kotlin TESTS 28 124 0 1600
74147112 ahmethalici C March 23, 2020, 9:08 p.m. OK Kotlin TESTS 28 124 0 1600
74145746 programmerr47 C March 23, 2020, 8:38 p.m. OK Kotlin TESTS 28 140 0 1600
74262094 camypaper C March 25, 2020, 6:53 a.m. OK Mono C# TESTS 28 62 204800 1600
74234846 Brokolis C March 24, 2020, 7:13 p.m. OK Mono C# TESTS 28 171 0 1600
74200491 seh631638554 C March 24, 2020, 12:50 p.m. OK MS C++ TESTS 28 31 0 1600
74159151 vjudge3 C March 24, 2020, 3:40 a.m. OK MS C++ TESTS 28 31 0 1600
74285164 vjudge5 C March 25, 2020, 11:47 a.m. OK MS C++ TESTS 28 31 0 1600
74300130 vjudge5 C March 25, 2020, 2:24 p.m. OK MS C++ TESTS 28 31 0 1600
74165608 vjudge3 C March 24, 2020, 6:04 a.m. OK MS C++ TESTS 28 31 102400 1600
74205161 vjudge2 C March 24, 2020, 1:36 p.m. OK MS C++ TESTS 28 31 102400 1600
74175265 vjudge5 C March 24, 2020, 7:56 a.m. OK MS C++ TESTS 28 31 102400 1600
74118602 fucking_man C March 23, 2020, 4:24 p.m. OK MS C++ TESTS 28 31 614400 1600
74300314 vjudge4 C March 25, 2020, 2:25 p.m. OK MS C++ TESTS 28 46 0 1600
74202458 vjudge5 C March 24, 2020, 1:09 p.m. OK MS C++ TESTS 28 46 0 1600
74281612 Rendix25 C March 25, 2020, 11:06 a.m. OK MS C++ 2017 TESTS 28 30 0 1600
74367771 yanghuimin C March 26, 2020, 8:52 a.m. OK MS C++ 2017 TESTS 28 31 0 1600
74258232 ASIXER C March 25, 2020, 5:47 a.m. OK MS C++ 2017 TESTS 28 31 0 1600
74182499 vjudge3 C March 24, 2020, 9:26 a.m. OK MS C++ 2017 TESTS 28 31 0 1600
74178962 q8514199 C March 24, 2020, 8:42 a.m. OK MS C++ 2017 TESTS 28 31 0 1600
74166428 0Mordecai0 C March 24, 2020, 6:14 a.m. OK MS C++ 2017 TESTS 28 31 0 1600
74154113 GUESSER C March 24, 2020, 1:11 a.m. OK MS C++ 2017 TESTS 28 31 0 1600
74123763 hwqconceptnick C March 23, 2020, 4:33 p.m. OK MS C++ 2017 TESTS 28 31 0 1600
74397095 vjudge4 C March 26, 2020, 2:32 p.m. OK MS C++ 2017 TESTS 28 31 0 1600
74579940 prankami C March 27, 2020, 4:34 p.m. OK MS C++ 2017 TESTS 28 31 0 1600
74179474 klond90 C March 24, 2020, 8:48 a.m. OK Node.js TESTS 28 233 10547200 1600
74120434 shivam1420 C March 23, 2020, 4:27 p.m. OK Node.js TESTS 28 249 5939200 1600
74335806 kekozavr228 C March 25, 2020, 8:50 p.m. OK PascalABC.NET TESTS 28 467 1331200 1600
74148825 mayakin C March 23, 2020, 9:50 p.m. OK PHP TESTS 28 46 409600 1600
74123605 CrazyDr C March 23, 2020, 4:33 p.m. OK PHP TESTS 28 62 0 1600
74344563 peijinz C March 26, 2020, 1:21 a.m. OK PyPy 2 TESTS 28 124 0 1600
74194734 ComptineDunAutreEte C March 24, 2020, 11:50 a.m. OK PyPy 2 TESTS 28 124 102400 1600
74145122 snape_here C March 23, 2020, 8:27 p.m. OK PyPy 2 TESTS 28 171 307200 1600
74323273 KaranKaira C March 25, 2020, 6:03 p.m. OK PyPy 3 TESTS 28 140 0 1600
74126951 range123 C March 23, 2020, 4:49 p.m. OK PyPy 3 TESTS 28 140 0 1600
74363488 Not_A_Fox C March 26, 2020, 7:56 a.m. OK PyPy 3 TESTS 28 140 102400 1600
74214589 nikolapesic2802 C March 24, 2020, 3:09 p.m. OK PyPy 3 TESTS 28 140 102400 1600
74137561 Myao C March 23, 2020, 6:32 p.m. OK PyPy 3 TESTS 28 140 102400 1600
74351806 Quetzal C March 26, 2020, 5:01 a.m. OK PyPy 3 TESTS 28 140 204800 1600
74174977 Vedkribhu C March 24, 2020, 7:53 a.m. OK PyPy 3 TESTS 28 140 204800 1600
74127745 tamahom C March 23, 2020, 4:54 p.m. OK PyPy 3 TESTS 28 140 204800 1600
74348897 rominaabadi1994 C March 26, 2020, 3:43 a.m. OK PyPy 3 TESTS 28 140 307200 1600
74334341 du21m C March 25, 2020, 8:22 p.m. OK PyPy 3 TESTS 28 140 307200 1600
74140280 hritik3878 C March 23, 2020, 7:07 p.m. OK Python 2 TESTS 28 171 102400 1600
74247196 mooseq C March 25, 2020, 12:16 a.m. OK Python 2 TESTS 28 171 102400 1600
74119781 khoatran_viet C March 23, 2020, 4:26 p.m. OK Python 2 TESTS 28 187 0 1600
74179651 ComptineDunAutreEte C March 24, 2020, 8:50 a.m. OK Python 2 TESTS 28 187 307200 1600
74557116 karan10 C March 27, 2020, 12:30 p.m. OK Python 3 TESTS 28 108 204800 1600
74528837 dytto C March 27, 2020, 5:58 a.m. OK Python 3 TESTS 28 108 204800 1600
74396100 ramneetsingh C March 26, 2020, 2:21 p.m. OK Python 3 TESTS 28 108 204800 1600
74370678 myvegatablehasexplode C March 26, 2020, 9:30 a.m. OK Python 3 TESTS 28 108 204800 1600
74277417 jairadheyshyam C March 25, 2020, 10:15 a.m. OK Python 3 TESTS 28 108 204800 1600
74191617 i_am_on_a_break C March 24, 2020, 11:17 a.m. OK Python 3 TESTS 28 108 204800 1600
74166511 meme_lord C March 24, 2020, 6:15 a.m. OK Python 3 TESTS 28 108 204800 1600
74165748 drpdada C March 24, 2020, 6:06 a.m. OK Python 3 TESTS 28 108 204800 1600
74335370 kartik49924 C March 25, 2020, 8:42 p.m. OK Python 3 TESTS 28 108 307200 1600
74361669 igzou C March 26, 2020, 7:30 a.m. OK Python 3 TESTS 28 109 0 1600
74148392 mversic101 C March 23, 2020, 9:39 p.m. OK Rust TESTS 28 31 102400 1600
74178513 quickwshell C March 24, 2020, 8:36 a.m. OK Rust TESTS 28 31 204800 1600
74139061 rustafarian C March 23, 2020, 6:50 p.m. OK Rust TESTS 28 31 512000 1600

remove filters

Back to search problems