Educational Codeforces Round 76 (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
1257 Educational Codeforces Round 76 (Rated for Div. 2) FINISHED False 7200 158167499 Nov. 13, 2019, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 21078 ) B Magic Stick PROGRAMMING math 1000

B'Recently Petya walked in the forest and found a magic stick. Since Petya really likes numbers, the first thing he learned was spells for changing numbers. So far, he knows only two spells that can be applied to a positive integer: Note that if the number is even and greater than one, then Petya can choose which spell to apply. Petya now has only one number x . He wants to know if his favorite number y can be obtained from x using the spells he knows. The spells can be used any number of times in any order. It is not required to use spells, Petya can leave x as it is. The first line contains single integer T ( 1 <= T <= 10^4 ) -- the number of test cases. Each test case consists of two lines. The first line of each test case contains two integers x and y ( 1 <= x, y <= 10^9 ) -- the current number and the number that Petya wants to get. For the i -th test case print the answer on it -- YES if Petya can get the number y from the number x using known spells, and NO otherwise. You may print every letter in any case you want (so, for example, the strings yEs, yes, Yes and YES will all be recognized as positive answer). '...

Tutorials

Educational Codeforces Round 76 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
65727503 LLFMLJ B Nov. 26, 2019, 1:26 a.m. OK Clang++17 Diagnostics TESTS 18 46 0 1000
65283608 mito.archaea B Nov. 18, 2019, 7:13 a.m. OK Clang++17 Diagnostics TESTS 18 155 0 1000
65305237 AbuDaudBD B Nov. 18, 2019, 2:38 p.m. OK Clang++17 Diagnostics TESTS 18 155 409600 1000
64892506 OVERLORD.saleh B Nov. 14, 2019, 3:14 p.m. OK Clang++17 Diagnostics TESTS 18 170 0 1000
65148723 AR_Nasim B Nov. 16, 2019, 6:39 a.m. OK Clang++17 Diagnostics TESTS 18 171 0 1000
65501688 Juniorandrade B Nov. 21, 2019, 7:18 p.m. OK D TESTS 18 31 0 1000
65208399 calonmaster B Nov. 16, 2019, 4:48 p.m. OK FPC TESTS 18 46 0 1000
65570028 Yashcher B Nov. 23, 2019, 7:30 a.m. OK FPC TESTS 18 46 102400 1000
65208158 calonmaster B Nov. 16, 2019, 4:39 p.m. OK FPC TESTS 18 46 204800 1000
65292880 simoncatcity B Nov. 18, 2019, 10:26 a.m. OK FPC TESTS 18 61 0 1000
65225528 tranminhprvt01 B Nov. 17, 2019, 1:23 a.m. OK FPC TESTS 18 62 0 1000
65056808 vjudge5 B Nov. 15, 2019, 3:27 p.m. OK FPC TESTS 18 62 0 1000
65056637 vjudge5 B Nov. 15, 2019, 3:23 p.m. OK FPC TESTS 18 77 0 1000
65086800 kira0777 B Nov. 15, 2019, 5:16 p.m. OK GNU C11 TESTS 18 30 0 1000
66273527 naveen8991 B Dec. 4, 2019, 1:15 p.m. OK GNU C11 TESTS 18 31 0 1000
68201409 mohana-256 B Jan. 4, 2020, 4 p.m. OK GNU C11 TESTS 18 31 0 1000
65155629 dhorbanimohamed B Nov. 16, 2019, 9:12 a.m. OK GNU C11 TESTS 18 31 102400 1000
65155696 dhorbanimohamed B Nov. 16, 2019, 9:14 a.m. OK GNU C11 TESTS 18 31 102400 1000
67302987 satya_chaitanya B Dec. 20, 2019, 7:35 p.m. OK GNU C11 TESTS 18 46 0 1000
66989122 Sourav_saha B Dec. 15, 2019, 7:28 p.m. OK GNU C11 TESTS 18 46 0 1000
66881956 shoryak B Dec. 14, 2019, 4:52 p.m. OK GNU C11 TESTS 18 46 0 1000
66386452 RajMaheshwari B Dec. 6, 2019, 7:41 a.m. OK GNU C11 TESTS 18 46 0 1000
69062710 vjudge2 B Jan. 18, 2020, 5:14 p.m. OK GNU C11 TESTS 18 46 0 1000
65613847 vjudge5 B Nov. 24, 2019, 1:54 a.m. OK GNU C++11 TESTS 18 15 0 1000
66491370 Suzukaze_Kiseki B Dec. 8, 2019, 8:42 a.m. OK GNU C++11 TESTS 18 30 0 1000
66008248 vjudge4 B Nov. 30, 2019, 12:11 a.m. OK GNU C++11 TESTS 18 30 0 1000
65942649 HIT_TOM B Nov. 29, 2019, 7:05 a.m. OK GNU C++11 TESTS 18 30 0 1000
65824558 vjudge4 B Nov. 27, 2019, 12:01 p.m. OK GNU C++11 TESTS 18 30 0 1000
65700503 dysnomia B Nov. 25, 2019, 10:34 a.m. OK GNU C++11 TESTS 18 30 0 1000
65274472 Artcs B Nov. 17, 2019, 10:46 p.m. OK GNU C++11 TESTS 18 30 0 1000
65155801 cniwoq B Nov. 16, 2019, 9:17 a.m. OK GNU C++11 TESTS 18 30 0 1000
65112674 vjudge1 B Nov. 16, 2019, 12:33 a.m. OK GNU C++11 TESTS 18 30 0 1000
65035788 PDDNB B Nov. 15, 2019, 11:35 a.m. OK GNU C++11 TESTS 18 30 0 1000
65302232 imnotreal B Nov. 18, 2019, 1:39 p.m. OK GNU C++14 TESTS 18 15 0 1000
65331381 SOLar23333 B Nov. 19, 2019, 6:22 a.m. OK GNU C++14 TESTS 18 15 0 1000
65439978 vjudge4 B Nov. 20, 2019, 2:02 p.m. OK GNU C++14 TESTS 18 15 0 1000
65716664 vjudge2 B Nov. 25, 2019, 4:56 p.m. OK GNU C++14 TESTS 18 15 0 1000
66520538 tichnas B Dec. 8, 2019, 10:01 p.m. OK GNU C++14 TESTS 18 15 0 1000
66576675 miracle210 B Dec. 10, 2019, 7:39 a.m. OK GNU C++14 TESTS 18 15 0 1000
66678780 Perseu B Dec. 12, 2019, 12:20 p.m. OK GNU C++14 TESTS 18 15 0 1000
67038734 KoroVishu B Dec. 16, 2019, 6:22 p.m. OK GNU C++14 TESTS 18 15 0 1000
67287749 JayK007 B Dec. 20, 2019, 2:44 p.m. OK GNU C++14 TESTS 18 15 0 1000
67673158 kunalvaswani123 B Dec. 26, 2019, 10:07 p.m. OK GNU C++14 TESTS 18 15 0 1000
69682744 cuiaoxiang B Jan. 28, 2020, 4:06 p.m. OK GNU C++17 TESTS 18 15 0 1000
69381672 jainsiddhartha B Jan. 22, 2020, 7:57 p.m. OK GNU C++17 TESTS 18 15 0 1000
67472953 thienlongtpct B Dec. 23, 2019, 1:24 p.m. OK GNU C++17 TESTS 18 15 0 1000
67300272 pratikgk45 B Dec. 20, 2019, 6:26 p.m. OK GNU C++17 TESTS 18 15 0 1000
67051985 trycod3 B Dec. 17, 2019, 4:43 a.m. OK GNU C++17 TESTS 18 15 0 1000
66658044 yuruhiya B Dec. 12, 2019, 1:58 a.m. OK GNU C++17 TESTS 18 15 0 1000
66559622 potoooooooo B Dec. 9, 2019, 6:19 p.m. OK GNU C++17 TESTS 18 15 0 1000
66487716 prhythm3099 B Dec. 8, 2019, 7:13 a.m. OK GNU C++17 TESTS 18 15 0 1000
66281633 MalikS B Dec. 4, 2019, 5:29 p.m. OK GNU C++17 TESTS 18 15 0 1000
66170244 jonskywalker B Dec. 2, 2019, 9:57 a.m. OK GNU C++17 TESTS 18 15 0 1000
64875884 reanimatorzon B Nov. 14, 2019, 9:49 a.m. OK Go TESTS 18 31 0 1000
65699394 tianhongw B Nov. 25, 2019, 10 a.m. OK Go TESTS 18 61 0 1000
66295838 justcode_fk B Dec. 5, 2019, 4:13 a.m. OK Go TESTS 18 62 0 1000
65741058 lolopat2 B Nov. 26, 2019, 10:13 a.m. OK Go TESTS 18 77 0 1000
65699134 tianhongw B Nov. 25, 2019, 9:53 a.m. OK Go TESTS 18 77 0 1000
65158361 wilcot B Nov. 16, 2019, 10:19 a.m. OK Go TESTS 18 77 0 1000
65935920 kat0rik B Nov. 29, 2019, 2:04 a.m. OK Go TESTS 18 577 0 1000
64860576 Dicer_ B Nov. 14, 2019, 2:51 a.m. OK Go TESTS 18 577 0 1000
65821137 PanTA B Nov. 27, 2019, 10:35 a.m. OK Go TESTS 18 592 0 1000
65293556 nhywieza B Nov. 18, 2019, 10:39 a.m. OK Go TESTS 18 592 0 1000
65398183 lmno B Nov. 19, 2019, 8:08 p.m. OK Haskell TESTS 18 61 102400 1000
66612704 ancap B Dec. 10, 2019, 11:40 p.m. OK Haskell TESTS 18 62 102400 1000
66463841 Laurens B Dec. 7, 2019, 3:48 p.m. OK Haskell TESTS 18 62 102400 1000
65998337 jespinel B Nov. 29, 2019, 6:15 p.m. OK Haskell TESTS 18 62 102400 1000
65619131 lmno B Nov. 24, 2019, 5:32 a.m. OK Haskell TESTS 18 62 102400 1000
65619075 lmno B Nov. 24, 2019, 5:30 a.m. OK Haskell TESTS 18 62 102400 1000
65457401 lmno B Nov. 20, 2019, 9:45 p.m. OK Haskell TESTS 18 62 102400 1000
65247674 Skeukry B Nov. 17, 2019, 11 a.m. OK Haskell TESTS 18 62 102400 1000
65998019 jespinel B Nov. 29, 2019, 6:09 p.m. OK Haskell TESTS 18 77 102400 1000
65619192 lmno B Nov. 24, 2019, 5:33 a.m. OK Haskell TESTS 18 77 102400 1000
64853815 Anonymous B Nov. 13, 2019, 9:09 p.m. OK Java 11 TESTS 18 171 0 1000
66182738 zlobber B Dec. 2, 2019, 1:24 p.m. OK Java 11 TESTS 18 187 0 1000
65461083 lpls1 B Nov. 21, 2019, 2:11 a.m. OK Java 11 TESTS 18 187 0 1000
64868976 sminggo5 B Nov. 14, 2019, 7:28 a.m. OK Java 11 TESTS 18 187 0 1000
66520969 shishir03 B Dec. 8, 2019, 10:28 p.m. OK Java 11 TESTS 18 202 0 1000
65449129 machhra B Nov. 20, 2019, 5:17 p.m. OK Java 11 TESTS 18 202 0 1000
64840988 Musin B Nov. 13, 2019, 4:33 p.m. OK Java 11 TESTS 18 217 0 1000
65878255 LineWrite B Nov. 27, 2019, 5:51 p.m. OK Java 11 TESTS 18 233 0 1000
69931921 alankritanand001 B Feb. 1, 2020, 12:37 a.m. OK Java 11 TESTS 18 234 0 1000
64849769 ankyy_0103 B Nov. 13, 2019, 7:04 p.m. OK Java 11 TESTS 18 234 0 1000
65761430 xwchen B Nov. 26, 2019, 3:59 p.m. OK Java 8 TESTS 18 108 0 1000
65219100 janit0r B Nov. 16, 2019, 7:51 p.m. OK Java 8 TESTS 18 109 0 1000
65027371 Shaman_King B Nov. 15, 2019, 8:20 a.m. OK Java 8 TESTS 18 109 0 1000
64902245 Nirav412000 B Nov. 14, 2019, 7:31 p.m. OK Java 8 TESTS 18 109 0 1000
64865355 AnandOza B Nov. 14, 2019, 5:57 a.m. OK Java 8 TESTS 18 109 0 1000
67304008 dsr431 B Dec. 20, 2019, 8:06 p.m. OK Java 8 TESTS 18 124 0 1000
66265223 Besh0 B Dec. 4, 2019, 10:10 a.m. OK Java 8 TESTS 18 124 0 1000
65932048 danielgalvis98 B Nov. 28, 2019, 9:43 p.m. OK Java 8 TESTS 18 124 0 1000
65829202 golions B Nov. 27, 2019, 1:44 p.m. OK Java 8 TESTS 18 124 0 1000
65613711 shivendra12119 B Nov. 24, 2019, 1:48 a.m. OK Java 8 TESTS 18 124 0 1000
65675296 sithole B Nov. 24, 2019, 5:42 p.m. OK JavaScript TESTS 18 78 1536000 1000
66301430 Killer45 B Dec. 5, 2019, 7:25 a.m. OK Kotlin TESTS 18 124 0 1000
64859262 Spheniscine B Nov. 14, 2019, 1:57 a.m. OK Kotlin TESTS 18 124 0 1000
64878346 shenqi16 B Nov. 14, 2019, 10:44 a.m. OK Kotlin TESTS 18 202 0 1000
65106240 ali.zine B Nov. 15, 2019, 7:26 p.m. OK Kotlin TESTS 18 234 0 1000
65341318 Black_Fregat B Nov. 19, 2019, 11:03 a.m. OK Kotlin TESTS 18 249 204800 1000
65057235 IsTinG B Nov. 15, 2019, 3:35 p.m. OK Kotlin TESTS 18 265 204800 1000
65750220 GusztavSzmolik B Nov. 26, 2019, 1:45 p.m. OK Mono C# TESTS 18 77 2457600 1000
64849508 TRR B Nov. 13, 2019, 6:56 p.m. OK Mono C# TESTS 18 77 2560000 1000
64839747 Ruban_Denic B Nov. 13, 2019, 4:28 p.m. OK Mono C# TESTS 18 93 2560000 1000
65602675 HiX B Nov. 23, 2019, 6:53 p.m. OK Mono C# TESTS 18 93 2662400 1000
64858427 Balloon_Master B Nov. 14, 2019, 1:18 a.m. OK Mono C# TESTS 18 93 6553600 1000
65054608 hyzhangzhy B Nov. 15, 2019, 2:37 p.m. OK Mono C# TESTS 18 93 6656000 1000
69620210 ngtkana B Jan. 27, 2020, 2:18 p.m. OK Mono C# TESTS 18 108 6656000 1000
65082538 m1_k3 B Nov. 15, 2019, 5:02 p.m. OK Mono C# TESTS 18 109 204800 1000
65230074 vjudge1 B Nov. 17, 2019, 4:27 a.m. OK MS C++ TESTS 18 15 0 1000
65329820 vjudge5 B Nov. 19, 2019, 5:10 a.m. OK MS C++ TESTS 18 15 0 1000
65296083 vjudge2 B Nov. 18, 2019, 11:33 a.m. OK MS C++ TESTS 18 30 0 1000
65297762 vjudge1 B Nov. 18, 2019, 12:10 p.m. OK MS C++ TESTS 18 30 0 1000
65329729 vjudge5 B Nov. 19, 2019, 5:06 a.m. OK MS C++ TESTS 18 30 0 1000
65330384 vjudge3 B Nov. 19, 2019, 5:39 a.m. OK MS C++ TESTS 18 30 0 1000
65614379 vjudge4 B Nov. 24, 2019, 2:22 a.m. OK MS C++ TESTS 18 30 0 1000
65823890 vjudge4 B Nov. 27, 2019, 11:45 a.m. OK MS C++ TESTS 18 30 0 1000
66525076 seh631638554 B Dec. 9, 2019, 3:57 a.m. OK MS C++ TESTS 18 30 0 1000
65281491 vjudge2 B Nov. 18, 2019, 6 a.m. OK MS C++ TESTS 18 30 0 1000
65616978 vjudge4 B Nov. 24, 2019, 4:17 a.m. OK MS C++ 2017 TESTS 18 31 0 1000
66265429 vjudge2 B Dec. 4, 2019, 10:16 a.m. OK MS C++ 2017 TESTS 18 31 0 1000
65654228 vjudge2 B Nov. 24, 2019, 10:02 a.m. OK MS C++ 2017 TESTS 18 31 0 1000
65528048 pmitkov B Nov. 22, 2019, 11:15 a.m. OK MS C++ 2017 TESTS 18 31 0 1000
65334546 rendy_ad89 B Nov. 19, 2019, 8:17 a.m. OK MS C++ 2017 TESTS 18 31 0 1000
65154155 vjudge1 B Nov. 16, 2019, 8:41 a.m. OK MS C++ 2017 TESTS 18 31 0 1000
65036033 walqshwq B Nov. 15, 2019, 11:40 a.m. OK MS C++ 2017 TESTS 18 31 0 1000
65022127 hwangganzi B Nov. 15, 2019, 5:45 a.m. OK MS C++ 2017 TESTS 18 31 0 1000
64893533 sumanmaji B Nov. 14, 2019, 3:37 p.m. OK MS C++ 2017 TESTS 18 31 0 1000
64879389 vjudge3 B Nov. 14, 2019, 11:06 a.m. OK MS C++ 2017 TESTS 18 31 0 1000
65191799 TitanRoyal B Nov. 16, 2019, 3:32 p.m. OK Node.js TESTS 18 296 5939200 1000
65166633 return_true B Nov. 16, 2019, 1:34 p.m. OK Node.js TESTS 18 327 10752000 1000
65478213 mNT B Nov. 21, 2019, 10:50 a.m. OK PascalABC.NET TESTS 18 499 102400 1000
65947900 p3rfect B Nov. 29, 2019, 9:30 a.m. OK PascalABC.NET TESTS 18 514 102400 1000
65901483 helter_skelter B Nov. 28, 2019, 8:56 a.m. OK PascalABC.NET TESTS 18 514 102400 1000
65282614 fetih B Nov. 18, 2019, 6:42 a.m. OK PascalABC.NET TESTS 18 530 0 1000
65350978 Shoukko B Nov. 19, 2019, 2:21 p.m. OK PascalABC.NET TESTS 18 545 0 1000
64842412 mayakin B Nov. 13, 2019, 4:43 p.m. OK PHP TESTS 18 77 409600 1000
67651356 kirveliki B Dec. 26, 2019, 12:15 p.m. OK PHP TESTS 18 77 3788800 1000
64867618 Kiral55 B Nov. 14, 2019, 6:56 a.m. OK PHP TESTS 18 109 0 1000
65882942 Madhur1906 B Nov. 27, 2019, 8:04 p.m. OK PyPy 2 TESTS 18 327 1945600 1000
64851673 OzOMBIE B Nov. 13, 2019, 7:56 p.m. OK PyPy 2 TESTS 18 343 1331200 1000
65791611 fortmax120 B Nov. 26, 2019, 11:11 p.m. OK PyPy 2 TESTS 18 358 2150400 1000
67676577 aaa_bbb_ccc B Dec. 27, 2019, 2:36 a.m. OK PyPy 2 TESTS 18 358 2560000 1000
65219045 wizdm B Nov. 16, 2019, 7:50 p.m. OK PyPy 3 TESTS 18 155 4300800 1000
66425225 IrOty1oX5uSp4 B Dec. 6, 2019, 9:02 p.m. OK PyPy 3 TESTS 18 156 2867200 1000
65759890 germainegeorge B Nov. 26, 2019, 3:25 p.m. OK PyPy 3 TESTS 18 171 5222400 1000
65732361 songyyy B Nov. 26, 2019, 5:51 a.m. OK PyPy 3 TESTS 18 171 5529600 1000
68117963 tamato B Jan. 3, 2020, 12:12 p.m. OK PyPy 3 TESTS 18 186 3891200 1000
64856492 thekushalghosh B Nov. 13, 2019, 11:30 p.m. OK PyPy 3 TESTS 18 186 3891200 1000
65595142 ng24_7 B Nov. 23, 2019, 3:34 p.m. OK PyPy 3 TESTS 18 186 4608000 1000
66419861 sajjad_firouze B Dec. 6, 2019, 6:27 p.m. OK PyPy 3 TESTS 18 186 4915200 1000
64840588 FLOP B Nov. 13, 2019, 4:32 p.m. OK PyPy 3 TESTS 18 187 3072000 1000
64862779 bestseo02 B Nov. 14, 2019, 4:18 a.m. OK PyPy 3 TESTS 18 187 4403200 1000
65027930 phoenix28 B Nov. 15, 2019, 8:35 a.m. OK Python 2 TESTS 18 186 102400 1000
65517678 biltharesatyendra B Nov. 22, 2019, 6:49 a.m. OK Python 2 TESTS 18 187 0 1000
64846527 SoSooding B Nov. 13, 2019, 5:46 p.m. OK Python 2 TESTS 18 187 204800 1000
64851699 OzOMBIE B Nov. 13, 2019, 7:57 p.m. OK Python 2 TESTS 18 202 102400 1000
68304754 bsr011 B Jan. 6, 2020, 8:29 a.m. OK Python 2 TESTS 18 202 204800 1000
65930837 chevoBallack B Nov. 28, 2019, 8:58 p.m. OK Python 2 TESTS 18 202 204800 1000
66217788 neuhq_haha B Dec. 3, 2019, 9:41 a.m. OK Python 2 TESTS 18 218 204800 1000
64839164 coderbd B Nov. 13, 2019, 4:26 p.m. OK Python 2 TESTS 18 249 0 1000
65692595 HiterretiH B Nov. 25, 2019, 5:59 a.m. OK Python 3 TESTS 18 124 512000 1000
65639246 Veanules B Nov. 24, 2019, 8:51 a.m. OK Python 3 TESTS 18 124 512000 1000
64882853 ryo_n takeuchi839 B Nov. 14, 2019, 12:11 p.m. OK Python 3 TESTS 18 139 716800 1000
65270371 dandarprox B Nov. 17, 2019, 7:25 p.m. OK Python 3 TESTS 18 139 921600 1000
67947100 sagardama99 B Dec. 30, 2019, 5:55 a.m. OK Python 3 TESTS 18 140 409600 1000
64882636 divyamohan123 B Nov. 14, 2019, 12:06 p.m. OK Python 3 TESTS 18 140 716800 1000
66042823 sya B Nov. 30, 2019, 2:09 p.m. OK Python 3 TESTS 18 140 819200 1000
64840840 bulat2020205 B Nov. 13, 2019, 4:32 p.m. OK Python 3 TESTS 18 140 819200 1000
64897317 ps_112 B Nov. 14, 2019, 5:13 p.m. OK Python 3 TESTS 18 140 921600 1000
64881722 ryo_n takeuchi839 B Nov. 14, 2019, 11:50 a.m. OK Python 3 TESTS 18 140 921600 1000
64862104 httpsx B Nov. 14, 2019, 3:52 a.m. OK Ruby TESTS 18 124 0 1000
69454817 akiradeveloper B Jan. 24, 2020, 8:05 a.m. OK Rust TESTS 18 46 409600 1000
65948784 vjudge4 B Nov. 29, 2019, 9:52 a.m. OK Rust TESTS 18 124 0 1000
66118498 manta1130 B Dec. 1, 2019, 10 a.m. OK Rust TESTS 18 140 0 1000
65346062 myomyomyo B Nov. 19, 2019, 12:37 p.m. OK Rust TESTS 18 140 0 1000
65713372 ichyo B Nov. 25, 2019, 3:22 p.m. OK Rust TESTS 18 140 614400 1000

remove filters

Back to search problems