Educational Codeforces Round 77 (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
1260 Educational Codeforces Round 77 (Rated for Div. 2) FINISHED False 7200 162576587 Nov. 27, 2019, 1:50 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 16010 ) B Obtain Two Zeroes PROGRAMMING binary search math 1200

B'You are given two integers a and b . You may perform any number of operations on them (possibly zero). During each operation you should choose any positive integer x and set a := a - x , b := b - 2x or a := a - 2x , b := b - x . Note that you may choose different values of x in different operations. Is it possible to make a and b equal to 0 simultaneously? Your program should answer t independent test cases. The first line contains one integer t ( 1 <= t <= 100 ) -- the number of test cases. Then the test cases follow, each test case is represented by one line containing two integers a and b for this test case ( 0 <= a, b <= 10^9 ). For each test case print the answer to it -- YES if it is possible to make a and b equal to 0 simultaneously, 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). In the first test case of the example two operations can be used to make both a and b equal to zero: '...

Tutorials

Educational Codeforces Round 77 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
66086163 vjudge1 B Dec. 1, 2019, 4:52 a.m. OK Clang++17 Diagnostics TESTS 6 46 0 1200
65860951 PAG B Nov. 27, 2019, 3:19 p.m. OK FPC TESTS 6 30 0 1200
65885205 vinhntndu B Nov. 27, 2019, 9:48 p.m. OK FPC TESTS 6 30 102400 1200
65859398 tranminhprvt01 B Nov. 27, 2019, 3:14 p.m. OK FPC TESTS 6 31 0 1200
66536855 GodLom B Dec. 9, 2019, 9:57 a.m. OK FPC TESTS 6 31 0 1200
67655308 FE40536 B Dec. 26, 2019, 1:41 p.m. OK GNU C11 TESTS 6 15 0 1200
66723472 iheb666 B Dec. 12, 2019, 3:37 p.m. OK GNU C11 TESTS 6 15 0 1200
66484751 Akhilanand0011 B Dec. 8, 2019, 5:43 a.m. OK GNU C11 TESTS 6 15 0 1200
66295688 vjudge1 B Dec. 5, 2019, 4:06 a.m. OK GNU C11 TESTS 6 15 0 1200
68209212 Manaarth B Jan. 4, 2020, 6:34 p.m. OK GNU C11 TESTS 6 15 0 1200
66286294 Ar_9020_th B Dec. 4, 2019, 7:25 p.m. OK GNU C11 TESTS 6 15 0 1200
66168470 pc_champ B Dec. 2, 2019, 8:59 a.m. OK GNU C11 TESTS 6 15 0 1200
66104030 Krishna_Shed B Dec. 1, 2019, 8:42 a.m. OK GNU C11 TESTS 6 15 0 1200
66054678 jschr B Nov. 30, 2019, 7:06 p.m. OK GNU C11 TESTS 6 15 0 1200
65961532 shedbalkarkm.cs19 B Nov. 29, 2019, 2:41 p.m. OK GNU C11 TESTS 6 15 0 1200
69597468 KBACK B Jan. 27, 2020, 5:43 a.m. OK GNU C++11 TESTS 6 15 0 1200
69568711 msgtoshubham B Jan. 26, 2020, 1:22 p.m. OK GNU C++11 TESTS 6 15 0 1200
69295481 Neeru2208 B Jan. 22, 2020, 12:03 p.m. OK GNU C++11 TESTS 6 15 0 1200
69220177 longxiaokong B Jan. 21, 2020, 4:02 a.m. OK GNU C++11 TESTS 6 15 0 1200
69036633 xwn B Jan. 18, 2020, 9:11 a.m. OK GNU C++11 TESTS 6 15 0 1200
68887345 luogu_bot2 B Jan. 15, 2020, 10:50 p.m. OK GNU C++11 TESTS 6 15 0 1200
69880335 Implict B Jan. 31, 2020, 6:05 a.m. OK GNU C++11 TESTS 6 15 0 1200
69620241 status_coding B Jan. 27, 2020, 2:19 p.m. OK GNU C++11 TESTS 6 15 0 1200
69616162 luogu_bot3 B Jan. 27, 2020, 1:10 p.m. OK GNU C++11 TESTS 6 15 0 1200
69605771 primemusic.hw B Jan. 27, 2020, 9:40 a.m. OK GNU C++11 TESTS 6 15 0 1200
69811871 vs014216 B Jan. 30, 2020, 4:42 a.m. OK GNU C++14 TESTS 6 15 0 1200
69815295 Farhantarctic B Jan. 30, 2020, 5:57 a.m. OK GNU C++14 TESTS 6 15 0 1200
69840285 __GrAy__ B Jan. 30, 2020, 12:58 p.m. OK GNU C++14 TESTS 6 15 0 1200
69900512 Tokarinkato B Jan. 31, 2020, 12:54 p.m. OK GNU C++14 TESTS 6 15 0 1200
69903841 vjudge5 B Jan. 31, 2020, 1:40 p.m. OK GNU C++14 TESTS 6 15 0 1200
69906299 kush_76 B Jan. 31, 2020, 2:13 p.m. OK GNU C++14 TESTS 6 15 0 1200
69732667 nikhil_kumar B Jan. 29, 2020, 1:52 p.m. OK GNU C++14 TESTS 6 15 0 1200
69725461 adwait_k12 B Jan. 29, 2020, 12:07 p.m. OK GNU C++14 TESTS 6 15 0 1200
69672039 bhardwaj.ud99 B Jan. 28, 2020, 1:16 p.m. OK GNU C++14 TESTS 6 15 0 1200
69638336 Sujal123 B Jan. 27, 2020, 7:36 p.m. OK GNU C++14 TESTS 6 15 0 1200
69859649 Cristiana1025 B Jan. 30, 2020, 6:06 p.m. OK GNU C++17 TESTS 6 15 0 1200
69913741 WLFJ B Jan. 31, 2020, 4:09 p.m. OK GNU C++17 TESTS 6 15 0 1200
69903896 imnasim3.1415 B Jan. 31, 2020, 1:40 p.m. OK GNU C++17 TESTS 6 15 0 1200
69886105 Leonidas B Jan. 31, 2020, 8:16 a.m. OK GNU C++17 TESTS 6 15 0 1200
69845939 kupriyanov B Jan. 30, 2020, 2:20 p.m. OK GNU C++17 TESTS 6 15 0 1200
69823795 FoolishMe B Jan. 30, 2020, 8:39 a.m. OK GNU C++17 TESTS 6 15 0 1200
69733643 aryan29 B Jan. 29, 2020, 2:05 p.m. OK GNU C++17 TESTS 6 15 0 1200
69719316 ivandr B Jan. 29, 2020, 10:05 a.m. OK GNU C++17 TESTS 6 15 0 1200
69677523 Dhrubo52 B Jan. 28, 2020, 2:40 p.m. OK GNU C++17 TESTS 6 15 0 1200
69677195 nobody500 B Jan. 28, 2020, 2:36 p.m. OK GNU C++17 TESTS 6 15 0 1200
66616225 pain_nagato B Dec. 11, 2019, 4:08 a.m. OK Go TESTS 6 15 0 1200
65921242 maguroguma B Nov. 28, 2019, 4:27 p.m. OK Go TESTS 6 15 0 1200
65941661 jelech2018 B Nov. 29, 2019, 6:35 a.m. OK Go TESTS 6 30 0 1200
66762592 ytz123 B Dec. 13, 2019, 7:03 a.m. OK Go TESTS 6 31 0 1200
65912858 zhuaiballl B Nov. 28, 2019, 1:32 p.m. OK Go TESTS 6 31 0 1200
65887798 corelof B Nov. 28, 2019, 12:48 a.m. OK Go TESTS 6 46 0 1200
66448072 Laurens B Dec. 7, 2019, 10:25 a.m. OK Haskell TESTS 6 31 102400 1200
65872645 XOR-star B Nov. 27, 2019, 4:09 p.m. OK Haskell TESTS 6 31 102400 1200
66274283 kiberKotleta2009 B Dec. 4, 2019, 1:47 p.m. OK Java 11 TESTS 6 155 0 1200
65901304 Tarun27 B Nov. 28, 2019, 8:51 a.m. OK Java 11 TESTS 6 155 0 1200
65879123 Anonymous B Nov. 27, 2019, 6:12 p.m. OK Java 11 TESTS 6 156 0 1200
65880929 machhra B Nov. 27, 2019, 6:58 p.m. OK Java 11 TESTS 6 170 0 1200
69098770 Princ_iple B Jan. 19, 2020, 1:08 p.m. OK Java 11 TESTS 6 171 0 1200
68481680 satya_p54 B Jan. 10, 2020, 8 a.m. OK Java 11 TESTS 6 171 0 1200
68438543 warrioramrit B Jan. 9, 2020, 10 a.m. OK Java 11 TESTS 6 171 0 1200
67663127 cribabby B Dec. 26, 2019, 4:42 p.m. OK Java 11 TESTS 6 171 0 1200
66149774 serafimkoo B Dec. 1, 2019, 6:21 p.m. OK Java 11 TESTS 6 171 0 1200
65874285 IslamTalipovTop B Nov. 27, 2019, 4:31 p.m. OK Java 11 TESTS 6 171 0 1200
67427213 Vatsal53 B Dec. 22, 2019, 1:53 p.m. OK Java 8 TESTS 6 92 0 1200
66487417 Mr.Gzj B Dec. 8, 2019, 7:05 a.m. OK Java 8 TESTS 6 93 0 1200
66159287 kostasanemozalis B Dec. 2, 2019, 2:47 a.m. OK Java 8 TESTS 6 93 0 1200
65926015 polyakoff B Nov. 28, 2019, 6:20 p.m. OK Java 8 TESTS 6 93 0 1200
65925247 sakt_coder B Nov. 28, 2019, 5:58 p.m. OK Java 8 TESTS 6 93 0 1200
65902969 snake_123 B Nov. 28, 2019, 9:37 a.m. OK Java 8 TESTS 6 93 0 1200
65895713 thisbeit B Nov. 28, 2019, 6:01 a.m. OK Java 8 TESTS 6 93 0 1200
65886781 bluesky111 B Nov. 27, 2019, 11:19 p.m. OK Java 8 TESTS 6 93 0 1200
65877805 MubtasimShahriar B Nov. 27, 2019, 5:40 p.m. OK Java 8 TESTS 6 93 0 1200
65870386 abhi123valani B Nov. 27, 2019, 3:49 p.m. OK Java 8 TESTS 6 93 0 1200
69495052 Nobita_Noobie B Jan. 25, 2020, 3:09 a.m. OK JavaScript TESTS 6 15 0 1200
65876590 Spheniscine B Nov. 27, 2019, 5:14 p.m. OK Kotlin TESTS 6 108 0 1200
66388323 StinsonOvO B Dec. 6, 2019, 8:16 a.m. OK Kotlin TESTS 6 140 102400 1200
65926897 Black_Fregat B Nov. 28, 2019, 6:46 p.m. OK Kotlin TESTS 6 140 102400 1200
65875448 AsuraPro B Nov. 27, 2019, 4:51 p.m. OK Kotlin TESTS 6 155 204800 1200
68945905 david_varela B Jan. 16, 2020, 4:08 p.m. OK Kotlin TESTS 6 155 1228800 1200
66673404 EvaRyabokon B Dec. 12, 2019, 10:19 a.m. OK Mono C# TESTS 6 46 0 1200
66237587 danik114162 B Dec. 3, 2019, 4:47 p.m. OK Mono C# TESTS 6 46 0 1200
65867578 vlad927 B Nov. 27, 2019, 3:41 p.m. OK Mono C# TESTS 6 46 0 1200
68951317 TRR B Jan. 16, 2020, 6:04 p.m. OK Mono C# TESTS 6 46 0 1200
67677647 rsharipov1988 B Dec. 27, 2019, 3:53 a.m. OK Mono C# TESTS 6 46 0 1200
66579434 EvaRyabokon B Dec. 10, 2019, 8:42 a.m. OK Mono C# TESTS 6 46 0 1200
65872445 dev8546 B Nov. 27, 2019, 4:07 p.m. OK Mono C# TESTS 6 46 3584000 1200
65861516 hyzhangzhy B Nov. 27, 2019, 3:21 p.m. OK Mono C# TESTS 6 62 3584000 1200
65953081 artworks B Nov. 29, 2019, 11:41 a.m. OK Mono C# TESTS 6 93 4915200 1200
68683389 vjudge1 B Jan. 13, 2020, 1:18 a.m. OK MS C++ TESTS 6 15 0 1200
68634795 vjudge3 B Jan. 12, 2020, 5:17 a.m. OK MS C++ TESTS 6 15 0 1200
68487939 vjudge4 B Jan. 10, 2020, 10:33 a.m. OK MS C++ TESTS 6 15 0 1200
66529484 vjudge5 B Dec. 9, 2019, 7 a.m. OK MS C++ TESTS 6 15 0 1200
66401421 vjudge2 B Dec. 6, 2019, 12:24 p.m. OK MS C++ TESTS 6 15 0 1200
69497682 vjudge1 B Jan. 25, 2020, 5:05 a.m. OK MS C++ TESTS 6 15 0 1200
68834180 vjudge4 B Jan. 15, 2020, 1:46 a.m. OK MS C++ TESTS 6 15 0 1200
68694677 vjudge2 B Jan. 13, 2020, 7:29 a.m. OK MS C++ TESTS 6 15 0 1200
68684949 vjudge3 B Jan. 13, 2020, 2:37 a.m. OK MS C++ TESTS 6 15 0 1200
68643891 vjudge5 B Jan. 12, 2020, 8:24 a.m. OK MS C++ TESTS 6 15 0 1200
68915099 vjudge5 B Jan. 16, 2020, 8:21 a.m. OK MS C++ 2017 TESTS 6 15 0 1200
69623385 vjudge5 B Jan. 27, 2020, 3:06 p.m. OK MS C++ 2017 TESTS 6 15 0 1200
69467564 vjudge4 B Jan. 24, 2020, 1:27 p.m. OK MS C++ 2017 TESTS 6 15 0 1200
69417696 vjudge3 B Jan. 23, 2020, 1:32 p.m. OK MS C++ 2017 TESTS 6 15 0 1200
67172495 shio B Dec. 18, 2019, 5:50 p.m. OK MS C++ 2017 TESTS 6 15 0 1200
66831804 foxinoxi B Dec. 14, 2019, 10:29 a.m. OK MS C++ 2017 TESTS 6 15 0 1200
66819409 MBHuman B Dec. 14, 2019, 6:57 a.m. OK MS C++ 2017 TESTS 6 15 0 1200
66258959 vjudge2 B Dec. 4, 2019, 7:30 a.m. OK MS C++ 2017 TESTS 6 15 0 1200
66165351 vebh96 B Dec. 2, 2019, 7:16 a.m. OK MS C++ 2017 TESTS 6 15 0 1200
66085578 vjudge1 B Dec. 1, 2019, 4:21 a.m. OK MS C++ 2017 TESTS 6 15 0 1200
67168353 shivam1420 B Dec. 18, 2019, 4:22 p.m. OK Node.js TESTS 6 155 921600 1200
65892971 Svlad_Cjelli B Nov. 28, 2019, 4:31 a.m. OK Ocaml TESTS 6 30 0 1200
65944090 p3rfect B Nov. 29, 2019, 7:49 a.m. OK PascalABC.NET TESTS 6 311 102400 1200
65873560 nds92 B Nov. 27, 2019, 4:20 p.m. OK PHP TESTS 6 46 0 1200
65872616 pajenegod B Nov. 27, 2019, 4:09 p.m. OK PyPy 2 TESTS 6 109 0 1200
65861605 a11b11c11 B Nov. 27, 2019, 3:21 p.m. OK PyPy 2 TESTS 6 109 0 1200
65866985 raj1307 B Nov. 27, 2019, 3:39 p.m. OK PyPy 2 TESTS 6 124 307200 1200
65951777 iamprayush B Nov. 29, 2019, 11:10 a.m. OK PyPy 2 TESTS 6 140 1228800 1200
65947669 yumtam B Nov. 29, 2019, 9:24 a.m. OK PyPy 2 TESTS 6 170 0 1200
66621153 anshuman16423 B Dec. 11, 2019, 7 a.m. OK PyPy 2 TESTS 6 171 0 1200
65938527 mayukh1110 B Nov. 29, 2019, 4:27 a.m. OK PyPy 2 TESTS 6 171 0 1200
68685733 BobbyJives B Jan. 13, 2020, 3:13 a.m. OK PyPy 3 TESTS 6 124 0 1200
68652245 tflave B Jan. 12, 2020, 11:07 a.m. OK PyPy 3 TESTS 6 124 0 1200
67391897 vorzawk B Dec. 21, 2019, 8:12 p.m. OK PyPy 3 TESTS 6 124 0 1200
66866606 Gleb1000 B Dec. 14, 2019, 12:56 p.m. OK PyPy 3 TESTS 6 124 0 1200
66798734 Crazy_hedgehog B Dec. 13, 2019, 5:59 p.m. OK PyPy 3 TESTS 6 124 0 1200
66538225 Aita_Venkata_Rishmitha B Dec. 9, 2019, 10:29 a.m. OK PyPy 3 TESTS 6 124 0 1200
66458997 bnaninaidu9949 B Dec. 7, 2019, 2:09 p.m. OK PyPy 3 TESTS 6 124 0 1200
66049243 SamuelLH B Nov. 30, 2019, 4:26 p.m. OK PyPy 3 TESTS 6 124 0 1200
65958613 Anup_iiitd B Nov. 29, 2019, 1:49 p.m. OK PyPy 3 TESTS 6 124 0 1200
65936765 long240808 B Nov. 29, 2019, 2:51 a.m. OK PyPy 3 TESTS 6 124 0 1200
65905216 youssef93 B Nov. 28, 2019, 10:36 a.m. OK Python 2 TESTS 6 156 0 1200
65936777 neuhq_haha B Nov. 29, 2019, 2:52 a.m. OK Python 2 TESTS 6 171 0 1200
65928523 ItsDiv0101 B Nov. 28, 2019, 7:33 p.m. OK Python 2 TESTS 6 171 0 1200
65872728 grayGoose B Nov. 27, 2019, 4:10 p.m. OK Python 2 TESTS 6 171 0 1200
66299921 phoenix28 B Dec. 5, 2019, 6:40 a.m. OK Python 2 TESTS 6 186 0 1200
66129557 SoSooding B Dec. 1, 2019, 10:52 a.m. OK Python 2 TESTS 6 186 0 1200
66002943 Mike10 B Nov. 29, 2019, 7:55 p.m. OK Python 2 TESTS 6 187 0 1200
69086683 D_J_Z B Jan. 19, 2020, 8:35 a.m. OK Python 3 TESTS 6 93 0 1200
68612963 ebi_fly B Jan. 11, 2020, 4:24 p.m. OK Python 3 TESTS 6 93 0 1200
67210415 sotanishy B Dec. 19, 2019, 1:50 p.m. OK Python 3 TESTS 6 93 0 1200
67031187 anil16007 B Dec. 16, 2019, 3:54 p.m. OK Python 3 TESTS 6 93 0 1200
66984993 FahimSifnatul B Dec. 15, 2019, 5:45 p.m. OK Python 3 TESTS 6 93 0 1200
66777685 Padj B Dec. 13, 2019, 10:45 a.m. OK Python 3 TESTS 6 93 0 1200
66424165 Swapnil_41098 B Dec. 6, 2019, 8:23 p.m. OK Python 3 TESTS 6 93 0 1200
66213071 ALITIA B Dec. 3, 2019, 7:43 a.m. OK Python 3 TESTS 6 93 0 1200
65947867 AnkitXD B Nov. 29, 2019, 9:29 a.m. OK Python 3 TESTS 6 93 0 1200
65929495 hazemhazozomanwa B Nov. 28, 2019, 8:05 p.m. OK Python 3 TESTS 6 93 0 1200
65923514 rodgers B Nov. 28, 2019, 5:15 p.m. OK Rust TESTS 6 30 0 1200
69045779 akiradeveloper B Jan. 18, 2020, 11 a.m. OK Rust TESTS 6 30 204800 1200

remove filters

Back to search problems