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
( 8322 ) C Infinite Fence PROGRAMMING greedy math number theory 1700

B"You are a rebel leader and you are planning to start a revolution in your country. But the evil Government found out about your plans and set your punishment in the form of correctional labor. You must paint a fence which consists of 10^{100} planks in two colors in the following way (suppose planks are numbered from left to right from 0 ): Furthermore, the Government added one additional restriction to make your punishment worse. Let's list all painted planks of the fence in ascending order: if there are k consecutive planks with the same color in this list, then the Government will state that you failed the labor and execute you immediately. If you don't paint the fence according to the four aforementioned conditions, you will also be executed. The question is: will you be able to accomplish the labor (the time is not important) or the execution is unavoidable and you need to escape at all costs. The first line contains single integer T ( 1 <= T <= 1000 ) -- the number of test cases. The next T lines contain descriptions of test cases -- one per line. Each test case contains three integers r , b , k ( 1 <= r, b <= 10^9 , 2 <= k <= 10^9 ) -- the corresponding coefficients. Print T words -- one per line. For each test case print REBEL (case insensitive) if the execution is unavoidable or OBEY (case insensitive) otherwise. "...

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
65945542 hoang_ha_ha C Nov. 29, 2019, 8:27 a.m. OK Clang++17 Diagnostics TESTS 32 46 0 1700
66169886 alleycat-at-git C Dec. 2, 2019, 9:46 a.m. OK Clang++17 Diagnostics TESTS 32 62 0 1700
65862101 ruban C Nov. 27, 2019, 3:23 p.m. OK Delphi TESTS 32 31 56320000 1700
65885209 vinhntndu C Nov. 27, 2019, 9:48 p.m. OK FPC TESTS 32 31 102400 1700
65901787 taqhahaha C Nov. 28, 2019, 9:04 a.m. OK FPC TESTS 32 46 204800 1700
67655320 FE40536 C Dec. 26, 2019, 1:42 p.m. OK GNU C11 TESTS 32 30 0 1700
66603670 satya_chaitanya C Dec. 10, 2019, 5:33 p.m. OK GNU C11 TESTS 32 31 0 1700
66071609 jschr C Nov. 30, 2019, 7:49 p.m. OK GNU C11 TESTS 32 31 0 1700
65973610 vjudge5 C Nov. 29, 2019, 3:20 p.m. OK GNU C11 TESTS 32 31 0 1700
65973187 happing C Nov. 29, 2019, 3:18 p.m. OK GNU C11 TESTS 32 31 0 1700
65918194 anubhavkalyani C Nov. 28, 2019, 3:23 p.m. OK GNU C11 TESTS 32 31 0 1700
65906574 satya_chaitanya C Nov. 28, 2019, 11:11 a.m. OK GNU C11 TESTS 32 31 0 1700
65902829 cdza C Nov. 28, 2019, 9:33 a.m. OK GNU C11 TESTS 32 31 0 1700
65902106 RajMaheshwari C Nov. 28, 2019, 9:13 a.m. OK GNU C11 TESTS 32 31 0 1700
67077910 ArmU C Dec. 17, 2019, 3:09 p.m. OK GNU C11 TESTS 32 31 0 1700
65892402 Flamire C Nov. 28, 2019, 4:12 a.m. OK GNU C++11 TESTS 32 30 0 1700
65878227 Abu_Musa_99 C Nov. 27, 2019, 5:50 p.m. OK GNU C++11 TESTS 32 30 0 1700
65868872 Artoriaxx C Nov. 27, 2019, 3:45 p.m. OK GNU C++11 TESTS 32 30 0 1700
65868684 qiaoza666 C Nov. 27, 2019, 3:45 p.m. OK GNU C++11 TESTS 32 30 0 1700
65863638 ZhengW C Nov. 27, 2019, 3:28 p.m. OK GNU C++11 TESTS 32 30 0 1700
65861205 henu-wxj C Nov. 27, 2019, 3:20 p.m. OK GNU C++11 TESTS 32 30 0 1700
66198142 ariloc C Dec. 2, 2019, 7:25 p.m. OK GNU C++11 TESTS 32 30 0 1700
66146000 guru_console C Dec. 1, 2019, 4:36 p.m. OK GNU C++11 TESTS 32 30 0 1700
65959756 wanglong306 C Nov. 29, 2019, 2:15 p.m. OK GNU C++11 TESTS 32 30 0 1700
65943256 sunyuhan1998 C Nov. 29, 2019, 7:25 a.m. OK GNU C++11 TESTS 32 30 0 1700
66621622 Vivek1998299 C Dec. 11, 2019, 7:12 a.m. OK GNU C++14 TESTS 32 15 0 1700
66882839 _i_mean_its_mine_ C Dec. 14, 2019, 5:09 p.m. OK GNU C++14 TESTS 32 15 0 1700
67162918 zacharyk C Dec. 18, 2019, 2:33 p.m. OK GNU C++14 TESTS 32 15 0 1700
67683793 S_Aditya C Dec. 27, 2019, 7:50 a.m. OK GNU C++14 TESTS 32 15 0 1700
67684851 mr_priyansh C Dec. 27, 2019, 8:23 a.m. OK GNU C++14 TESTS 32 15 0 1700
68085933 jm10 C Jan. 2, 2020, 4:14 p.m. OK GNU C++14 TESTS 32 15 0 1700
66584296 kaushik592k C Dec. 10, 2019, 10:35 a.m. OK GNU C++14 TESTS 32 15 0 1700
66578163 C1ariS C Dec. 10, 2019, 8:16 a.m. OK GNU C++14 TESTS 32 15 0 1700
66568728 Nson C Dec. 10, 2019, 2:05 a.m. OK GNU C++14 TESTS 32 15 0 1700
66467744 BBehemothh C Dec. 7, 2019, 5:09 p.m. OK GNU C++14 TESTS 32 15 0 1700
66377848 pranay_007 C Dec. 6, 2019, 4:05 a.m. OK GNU C++17 TESTS 32 15 0 1700
69886704 Leonidas C Jan. 31, 2020, 8:29 a.m. OK GNU C++17 TESTS 32 15 0 1700
69677833 _HossamYehia_ C Jan. 28, 2020, 2:45 p.m. OK GNU C++17 TESTS 32 15 0 1700
68097723 calebeof C Jan. 2, 2020, 10:21 p.m. OK GNU C++17 TESTS 32 15 0 1700
67794354 ThePuffSmurf C Dec. 28, 2019, 3:56 p.m. OK GNU C++17 TESTS 32 15 0 1700
67523110 hetpandya98 C Dec. 24, 2019, 1:04 p.m. OK GNU C++17 TESTS 32 15 0 1700
67521914 Doncic C Dec. 24, 2019, 12:43 p.m. OK GNU C++17 TESTS 32 15 0 1700
67030685 Prateek C Dec. 16, 2019, 3:45 p.m. OK GNU C++17 TESTS 32 15 0 1700
66543518 vjudge5 C Dec. 9, 2019, 12:25 p.m. OK GNU C++17 TESTS 32 15 0 1700
66294722 Bombers C Dec. 5, 2019, 3:11 a.m. OK GNU C++17 TESTS 32 15 0 1700
66024028 maguroguma C Nov. 30, 2019, 8:10 a.m. OK Go TESTS 32 31 0 1700
65916172 zhuaiballl C Nov. 28, 2019, 2:39 p.m. OK Go TESTS 32 31 0 1700
65863919 maguroguma C Nov. 27, 2019, 3:29 p.m. OK Go TESTS 32 31 0 1700
66763183 ytz123 C Dec. 13, 2019, 7:18 a.m. OK Go TESTS 32 93 0 1700
66449082 Laurens C Dec. 7, 2019, 10:48 a.m. OK Haskell TESTS 32 46 102400 1700
65858007 XOR-star C Nov. 27, 2019, 3:10 p.m. OK Haskell TESTS 32 46 102400 1700
66165747 serafimkoo C Dec. 2, 2019, 7:30 a.m. OK Java 11 TESTS 32 171 0 1700
66072301 potatmen C Nov. 30, 2019, 8:13 p.m. OK Java 11 TESTS 32 171 0 1700
65885971 vinhntndu C Nov. 27, 2019, 10:25 p.m. OK Java 11 TESTS 32 186 0 1700
65885374 vinhntndu C Nov. 27, 2019, 9:57 p.m. OK Java 11 TESTS 32 186 0 1700
65878895 Anonymous C Nov. 27, 2019, 6:06 p.m. OK Java 11 TESTS 32 186 0 1700
65886270 vinhntndu C Nov. 27, 2019, 10:42 p.m. OK Java 11 TESTS 32 187 0 1700
65883567 machhra C Nov. 27, 2019, 8:29 p.m. OK Java 11 TESTS 32 187 0 1700
65875799 IslamTalipovTop C Nov. 27, 2019, 4:58 p.m. OK Java 11 TESTS 32 187 0 1700
66310147 Tarun27 C Dec. 5, 2019, 11:06 a.m. OK Java 11 TESTS 32 202 0 1700
67203267 jjluczyn C Dec. 19, 2019, 11:37 a.m. OK Java 11 TESTS 32 233 0 1700
66605536 Baroudy C Dec. 10, 2019, 6:19 p.m. OK Java 8 TESTS 32 109 0 1700
65958932 Apurva021 C Nov. 29, 2019, 1:57 p.m. OK Java 8 TESTS 32 109 0 1700
65943167 Bhavya_Arora C Nov. 29, 2019, 7:22 a.m. OK Java 8 TESTS 32 109 0 1700
65927222 Blastman C Nov. 28, 2019, 6:55 p.m. OK Java 8 TESTS 32 109 0 1700
65925133 sakt_coder C Nov. 28, 2019, 5:55 p.m. OK Java 8 TESTS 32 109 0 1700
67194234 dhiren_10 C Dec. 19, 2019, 8:22 a.m. OK Java 8 TESTS 32 124 0 1700
66802381 jj_9425 C Dec. 13, 2019, 7:14 p.m. OK Java 8 TESTS 32 124 0 1700
66523721 yaoct C Dec. 9, 2019, 2:27 a.m. OK Java 8 TESTS 32 124 0 1700
66422249 bhautik_77 C Dec. 6, 2019, 7:26 p.m. OK Java 8 TESTS 32 124 0 1700
66421640 GiantTornado C Dec. 6, 2019, 7:10 p.m. OK Java 8 TESTS 32 124 0 1700
65877809 Spheniscine C Nov. 27, 2019, 5:40 p.m. OK Kotlin TESTS 32 124 0 1700
65881644 AsuraPro C Nov. 27, 2019, 7:21 p.m. OK Kotlin TESTS 32 171 204800 1700
66008361 Black_Fregat C Nov. 30, 2019, 12:18 a.m. OK Kotlin TESTS 32 186 204800 1700
65859791 mban259 C Nov. 27, 2019, 3:15 p.m. OK Mono C# TESTS 32 62 307200 1700
65902901 dev8546 C Nov. 28, 2019, 9:34 a.m. OK Mono C# TESTS 32 62 3993600 1700
65886644 vinhntndu C Nov. 27, 2019, 11:06 p.m. OK Mono C# TESTS 32 62 136396800 1700
65917688 hyzhangzhy C Nov. 28, 2019, 3:12 p.m. OK Mono C# TESTS 32 77 3993600 1700
66138026 vjudge1 C Dec. 1, 2019, 1:06 p.m. OK MS C++ TESTS 32 31 0 1700
66091298 vjudge2 C Dec. 1, 2019, 7:19 a.m. OK MS C++ TESTS 32 31 0 1700
68962697 vjudge3 C Jan. 17, 2020, 2:29 a.m. OK MS C++ TESTS 32 31 0 1700
69495163 vjudge3 C Jan. 25, 2020, 3:16 a.m. OK MS C++ TESTS 32 31 0 1700
67406605 vjudge2 C Dec. 22, 2019, 6:39 a.m. OK MS C++ TESTS 32 31 0 1700
66381250 vjudge1 C Dec. 6, 2019, 5:42 a.m. OK MS C++ TESTS 32 31 0 1700
66367202 vjudge4 C Dec. 5, 2019, 7:56 p.m. OK MS C++ TESTS 32 31 0 1700
66225484 vjudge3 C Dec. 3, 2019, 12:26 p.m. OK MS C++ TESTS 32 31 0 1700
66143761 vjudge1 C Dec. 1, 2019, 3:36 p.m. OK MS C++ TESTS 32 31 0 1700
66139836 vjudge3 C Dec. 1, 2019, 1:53 p.m. OK MS C++ TESTS 32 31 0 1700
66159644 Laaahu_ C Dec. 2, 2019, 3:08 a.m. OK MS C++ 2017 TESTS 32 31 0 1700
67652861 5130 C Dec. 26, 2019, 12:49 p.m. OK MS C++ 2017 TESTS 32 31 0 1700
67045772 predelnik C Dec. 16, 2019, 10:08 p.m. OK MS C++ 2017 TESTS 32 31 0 1700
66089768 vjudge3 C Dec. 1, 2019, 6:50 a.m. OK MS C++ 2017 TESTS 32 31 0 1700
66033499 Karimbz C Nov. 30, 2019, 10:56 a.m. OK MS C++ 2017 TESTS 32 31 0 1700
65956367 vjudge1 C Nov. 29, 2019, 1 p.m. OK MS C++ 2017 TESTS 32 31 0 1700
65881560 Yesenia C Nov. 27, 2019, 7:17 p.m. OK MS C++ 2017 TESTS 32 31 0 1700
65875184 PrideBlack C Nov. 27, 2019, 4:47 p.m. OK MS C++ 2017 TESTS 32 31 0 1700
65872763 kurs C Nov. 27, 2019, 4:10 p.m. OK MS C++ 2017 TESTS 32 31 0 1700
65871092 nukeykt C Nov. 27, 2019, 3:54 p.m. OK MS C++ 2017 TESTS 32 31 0 1700
67170262 shivam1420 C Dec. 18, 2019, 5:02 p.m. OK Node.js TESTS 32 218 3891200 1700
65955951 iamprayush C Nov. 29, 2019, 12:49 p.m. OK PyPy 2 TESTS 32 171 1740800 1700
65949169 yumtam C Nov. 29, 2019, 10:03 a.m. OK PyPy 2 TESTS 32 186 512000 1700
67759808 raj1307 C Dec. 27, 2019, 9:26 p.m. OK PyPy 2 TESTS 32 187 512000 1700
65925141 sarthakmanna C Nov. 28, 2019, 5:55 p.m. OK PyPy 2 TESTS 32 187 1228800 1700
65924634 sarthakmanna C Nov. 28, 2019, 5:43 p.m. OK PyPy 2 TESTS 32 187 1228800 1700
66622742 anshuman16423 C Dec. 11, 2019, 7:39 a.m. OK PyPy 2 TESTS 32 265 8089600 1700
67525896 fortmax120 C Dec. 24, 2019, 2:01 p.m. OK PyPy 2 TESTS 32 311 8089600 1700
66415681 IrOty1oX5uSp4 C Dec. 6, 2019, 5 p.m. OK PyPy 3 TESTS 32 155 1638400 1700
66256695 Ueki C Dec. 4, 2019, 6:20 a.m. OK PyPy 3 TESTS 32 155 1843200 1700
69710722 EliteLabyrinth C Jan. 29, 2020, 6:54 a.m. OK PyPy 3 TESTS 32 170 1843200 1700
65960562 ajpiano C Nov. 29, 2019, 2:33 p.m. OK PyPy 3 TESTS 32 171 1536000 1700
65888463 bestseo02 C Nov. 28, 2019, 1:33 a.m. OK PyPy 3 TESTS 32 171 1843200 1700
65857864 cgfs10000 C Nov. 27, 2019, 3:09 p.m. OK PyPy 3 TESTS 32 171 1945600 1700
65879263 Natyren C Nov. 27, 2019, 6:15 p.m. OK PyPy 3 TESTS 32 171 2560000 1700
69622443 bidirectionalprograming C Jan. 27, 2020, 2:51 p.m. OK PyPy 3 TESTS 32 187 2560000 1700
69226380 ZeroooIQ C Jan. 21, 2020, 7:26 a.m. OK PyPy 3 TESTS 32 187 2662400 1700
66458945 bnaninaidu9949 C Dec. 7, 2019, 2:08 p.m. OK PyPy 3 TESTS 32 187 2764800 1700
66005481 Mike10 C Nov. 29, 2019, 9:22 p.m. OK Python 2 TESTS 32 187 0 1700
65903864 grayGoose C Nov. 28, 2019, 10 a.m. OK Python 2 TESTS 32 187 0 1700
65896550 youssef93 C Nov. 28, 2019, 6:31 a.m. OK Python 2 TESTS 32 249 5324800 1700
66214379 neuhq_haha C Dec. 3, 2019, 8:17 a.m. OK Python 2 TESTS 32 280 5324800 1700
68092974 III_Wolverine_III C Jan. 2, 2020, 7:03 p.m. OK Python 3 TESTS 32 109 0 1700
65869545 qscfthmko147 C Nov. 27, 2019, 3:47 p.m. OK Python 3 TESTS 32 109 0 1700
69276634 KanhuKeNanu C Jan. 22, 2020, 2:42 a.m. OK Python 3 TESTS 32 109 307200 1700
67416184 sureshsinghspd C Dec. 22, 2019, 9:58 a.m. OK Python 3 TESTS 32 109 307200 1700
67211345 sotanishy C Dec. 19, 2019, 2:08 p.m. OK Python 3 TESTS 32 109 307200 1700
66017440 octocoder C Nov. 30, 2019, 6:03 a.m. OK Python 3 TESTS 32 109 307200 1700
65861714 nikeshthapa255 C Nov. 27, 2019, 3:22 p.m. OK Python 3 TESTS 32 109 614400 1700
68769419 Rahul_Anand C Jan. 14, 2020, 11:17 a.m. OK Python 3 TESTS 32 124 0 1700
67401885 dj_contest C Dec. 22, 2019, 4:23 a.m. OK Python 3 TESTS 32 124 0 1700
65905555 xufour C Nov. 28, 2019, 10:45 a.m. OK Python 3 TESTS 32 124 0 1700
65893021 manta1130 C Nov. 28, 2019, 4:33 a.m. OK Rust TESTS 32 46 0 1700
66170052 alleycat-at-git C Dec. 2, 2019, 9:51 a.m. OK Rust TESTS 32 46 102400 1700

remove filters

Back to search problems