Educational Codeforces Round 69 (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
1197 Educational Codeforces Round 69 (Rated for Div. 2) FINISHED False 7200 173633087 July 22, 2019, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 13961 ) B Pillars PROGRAMMING greedy implementation 1000

B'There are n pillars aligned in a row and numbered from 1 to n . Initially each pillar contains exactly one disk. The i -th pillar contains a disk having radius a_i . You can move these disks from one pillar to another. You can take a disk from pillar i and place it on top of pillar j if all these conditions are met: When you place a disk on a pillar that already has some disks on it, you put the new disk on top of previously placed disks, so the new disk will be used to check the third condition if you try to place another disk on the same pillar. You may take any disk and place it on other pillar any number of times, provided that every time you do it, all three aforementioned conditions are met. Now you wonder, is it possible to place all n disks on the same pillar simultaneously? The first line contains one integer n ( 3 <= n <= 2 cdot 10^5 ) -- the number of pillars. The second line contains n integers a_1 , a_2 , ..., a_i ( 1 <= a_i <= n ), where a_i is the radius of the disk initially placed on the i -th pillar. All numbers a_i are distinct. Print YES if it is possible to place all the disks on the same pillar simultaneously, and NO otherwise. You may print each letter in any case (YES, yes, Yes will all be recognized as positive answer, NO, no and nO will all be recognized as negative answer). In the first case it is possible to place all disks on pillar 3 using the following sequence of actions: '...

Tutorials

E

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
57635232 arounderstands B July 24, 2019, 10:28 a.m. OK Clang++17 Diagnostics TESTS 33 109 0 1000
58054550 Manirathnamgodi B July 31, 2019, 4:22 a.m. OK Clang++17 Diagnostics TESTS 33 795 819200 1000
57556102 bilotiavaibhav B July 22, 2019, 7:50 p.m. OK Clang++17 Diagnostics TESTS 30 826 1536000 1000
58429371 agibson B Aug. 7, 2019, 11:12 a.m. OK D TESTS 33 78 0 1000
57533899 A_IGOR B July 22, 2019, 3:32 p.m. OK Delphi TESTS 30 61 921600 1000
57907196 Arkady_E B July 28, 2019, 6:08 p.m. OK Delphi TESTS 33 61 1331200 1000
57881117 pavel-afonkin B July 28, 2019, 7:49 a.m. OK Delphi TESTS 33 62 4096000 1000
66930449 calonmaster B Dec. 15, 2019, 7:19 a.m. OK FPC TESTS 33 62 819200 1000
57538860 ti19_tthieu_2004 B July 22, 2019, 3:54 p.m. OK FPC TESTS 30 62 819200 1000
57539233 ti19_btvan B July 22, 2019, 3:55 p.m. OK FPC TESTS 30 93 12083200 1000
57821096 ismail B July 26, 2019, 11:17 p.m. OK GNU C11 TESTS 33 46 0 1000
57537637 TexKiller B July 22, 2019, 3:48 p.m. OK GNU C11 TESTS 30 46 0 1000
57722629 gregr B July 25, 2019, 6:06 a.m. OK GNU C11 TESTS 33 46 0 1000
57750831 WilliamB103 B July 25, 2019, 2:44 p.m. OK GNU C11 TESTS 33 46 0 1000
65934885 LLFMLJ B Nov. 29, 2019, 12:58 a.m. OK GNU C11 TESTS 33 46 819200 1000
64033221 Empire B Nov. 1, 2019, 4:22 p.m. OK GNU C11 TESTS 33 46 819200 1000
61444486 DevJewel B Sept. 28, 2019, 8:20 p.m. OK GNU C11 TESTS 33 46 819200 1000
59108263 baahubali7781 B Aug. 19, 2019, 7:02 p.m. OK GNU C11 TESTS 33 46 819200 1000
68954970 anshulagr0707 B Jan. 16, 2020, 7:40 p.m. OK GNU C11 TESTS 33 46 819200 1000
68632714 Israt_Jahan_Nahin B Jan. 12, 2020, 4 a.m. OK GNU C11 TESTS 33 46 819200 1000
57593920 PHarr B July 23, 2019, 1:15 p.m. OK GNU C++11 TESTS 33 30 0 1000
57538306 bingrong B July 22, 2019, 3:51 p.m. OK GNU C++11 TESTS 30 30 819200 1000
58134255 Song_of_long_voyage B Aug. 1, 2019, 3:27 p.m. OK GNU C++11 TESTS 33 30 1638400 1000
58172962 Llf0703 B Aug. 2, 2019, 12:03 p.m. OK GNU C++11 TESTS 33 31 0 1000
57935622 ismail B July 29, 2019, 10:33 a.m. OK GNU C++11 TESTS 33 31 0 1000
57820909 ismail B July 26, 2019, 11:07 p.m. OK GNU C++11 TESTS 33 31 0 1000
57820621 ismail B July 26, 2019, 10:51 p.m. OK GNU C++11 TESTS 33 31 0 1000
57820418 ismail B July 26, 2019, 10:40 p.m. OK GNU C++11 TESTS 33 31 0 1000
62939949 Kylin_ B Oct. 19, 2019, 3:14 p.m. OK GNU C++11 TESTS 33 31 0 1000
61976798 luogu_bot3 B Oct. 6, 2019, 10:45 a.m. OK GNU C++11 TESTS 33 31 614400 1000
60344177 zhixiang B Sept. 10, 2019, 11:59 a.m. OK GNU C++14 TESTS 33 31 204800 1000
58378647 ttv_ptt_26_cvp B Aug. 6, 2019, 9:06 a.m. OK GNU C++14 TESTS 33 46 0 1000
57900950 berocs B July 28, 2019, 3:39 p.m. OK GNU C++14 TESTS 33 46 0 1000
58890235 cuibst2 B Aug. 16, 2019, 5:13 a.m. OK GNU C++14 TESTS 33 46 819200 1000
60333125 Scut82 B Sept. 10, 2019, 7:08 a.m. OK GNU C++14 TESTS 33 46 819200 1000
57570306 vjudge4 B July 23, 2019, 4:57 a.m. OK GNU C++14 TESTS 30 46 819200 1000
57615742 wawcac B July 24, 2019, 1:24 a.m. OK GNU C++14 TESTS 33 46 819200 1000
57619790 vjudge3 B July 24, 2019, 3:53 a.m. OK GNU C++14 TESTS 33 46 819200 1000
57633580 ElcarimQAQ B July 24, 2019, 9:43 a.m. OK GNU C++14 TESTS 33 46 819200 1000
57772820 drama_10 B July 26, 2019, 1:52 a.m. OK GNU C++14 TESTS 33 46 819200 1000
58048242 ygy B July 31, 2019, 1:24 a.m. OK GNU C++17 TESTS 33 31 2662400 1000
57539445 tang1998 B July 22, 2019, 3:56 p.m. OK GNU C++17 TESTS 30 46 0 1000
57570234 derekgong.dg B July 23, 2019, 4:55 a.m. OK GNU C++17 TESTS 30 46 0 1000
57952854 minhinion B July 29, 2019, 5:17 p.m. OK GNU C++17 TESTS 33 46 0 1000
68048847 Ghozlan B Jan. 1, 2020, 5:46 p.m. OK GNU C++17 TESTS 33 46 0 1000
58419696 MO_Salah99 B Aug. 7, 2019, 7:09 a.m. OK GNU C++17 TESTS 33 46 819200 1000
67680689 angrysqrt3 B Dec. 27, 2019, 6:12 a.m. OK GNU C++17 TESTS 33 46 819200 1000
58872901 since B Aug. 15, 2019, 4:18 p.m. OK GNU C++17 TESTS 33 46 819200 1000
59600270 Mynesis B Aug. 28, 2019, 5:29 a.m. OK GNU C++17 TESTS 33 46 819200 1000
61757579 vjudge2 B Oct. 3, 2019, 6:05 a.m. OK GNU C++17 TESTS 33 46 819200 1000
57735015 hoangtl B July 25, 2019, 9:41 a.m. OK Go TESTS 33 46 0 1000
62381727 DMOVE B Oct. 11, 2019, 7:24 p.m. OK Go TESTS 33 62 0 1000
59545235 bnurgeldiyev514 B Aug. 26, 2019, 9:17 p.m. OK Go TESTS 33 108 9830400 1000
58491768 reanimatorzon B Aug. 9, 2019, 10:08 a.m. OK Go TESTS 33 108 9830400 1000
60903152 sighduck B Sept. 20, 2019, 12:02 a.m. OK Go TESTS 33 140 0 1000
57721269 zwwhdls B July 25, 2019, 5:28 a.m. OK Go TESTS 33 140 0 1000
57802451 serhiimazurok B July 26, 2019, 1:48 p.m. OK Go TESTS 33 156 4608000 1000
69301806 cribabby B Jan. 22, 2020, 2:02 p.m. OK Java 11 TESTS 33 218 4403200 1000
68880062 Deep23 B Jan. 15, 2020, 6:25 p.m. OK Java 11 TESTS 33 389 0 1000
57991018 mufaddalnaya B July 30, 2019, 1:15 p.m. OK Java 8 TESTS 33 109 0 1000
59093026 Vatsal53 B Aug. 19, 2019, 1:19 p.m. OK Java 8 TESTS 33 124 0 1000
57804066 In_The_Name_Of_Love B July 26, 2019, 2:26 p.m. OK Java 8 TESTS 33 124 0 1000
57769581 richboy B July 25, 2019, 11:18 p.m. OK Java 8 TESTS 33 124 0 1000
57547896 gaidash B July 22, 2019, 4:37 p.m. OK Java 8 TESTS 30 124 0 1000
57546589 Seco_seco B July 22, 2019, 4:31 p.m. OK Java 8 TESTS 30 124 0 1000
57540846 Ad-007 B July 22, 2019, 4:03 p.m. OK Java 8 TESTS 30 124 0 1000
57532713 atharvat77 B July 22, 2019, 3:27 p.m. OK Java 8 TESTS 30 124 0 1000
57835062 insane_28 B July 27, 2019, 7:16 a.m. OK Java 8 TESTS 33 139 0 1000
57635084 watishandle B July 24, 2019, 10:24 a.m. OK Java 8 TESTS 33 139 2048000 1000
57538269 RainNeko B July 22, 2019, 3:51 p.m. OK JavaScript TESTS 30 93 18534400 1000
57538388 Grizix B July 22, 2019, 3:51 p.m. OK JavaScript TESTS 30 155 19046400 1000
59798518 gRaphael B Aug. 31, 2019, 9:24 a.m. OK Kotlin TESTS 33 155 3174400 1000
57598663 grine4ka B July 23, 2019, 2:54 p.m. OK Kotlin TESTS 33 280 15564800 1000
61561320 0xCAFB B Sept. 30, 2019, 3:40 p.m. OK Kotlin TESTS 33 296 15564800 1000
57562355 Spheniscine B July 23, 2019, 1:29 a.m. OK Kotlin TESTS 30 296 15564800 1000
57606325 developeralexshvets B July 23, 2019, 6:04 p.m. OK Kotlin TESTS 33 311 16588800 1000
58085743 og.kostya B July 31, 2019, 3:31 p.m. OK Mono C# TESTS 33 62 716800 1000
57795054 TRR B July 26, 2019, 11:05 a.m. OK Mono C# TESTS 33 93 14438400 1000
58248710 negreda B Aug. 4, 2019, 6:47 a.m. OK Mono C# TESTS 33 93 15052800 1000
57730099 treasuryonly B July 25, 2019, 8:21 a.m. OK Mono C# TESTS 33 93 15052800 1000
57545167 Ruban_Denic B July 22, 2019, 4:25 p.m. OK Mono C# TESTS 30 109 15769600 1000
57530840 boomx B July 22, 2019, 3:20 p.m. OK Mono C# TESTS 30 109 20787200 1000
60574458 igoroshko B Sept. 14, 2019, 4:19 p.m. OK Mono C# TESTS 33 140 19968000 1000
58865834 Batsila B Aug. 15, 2019, 1:20 p.m. OK Mono C# TESTS 33 155 19968000 1000
57539483 ansergeyg B July 22, 2019, 3:57 p.m. OK Mono C# TESTS 30 171 19251200 1000
61022641 vjudge2 B Sept. 21, 2019, 3:02 p.m. OK MS C++ TESTS 33 46 0 1000
61019444 vjudge3 B Sept. 21, 2019, 2:12 p.m. OK MS C++ TESTS 33 46 0 1000
58536013 511019727 B Aug. 10, 2019, 11:56 a.m. OK MS C++ TESTS 33 46 819200 1000
57571580 vjudge2 B July 23, 2019, 5:28 a.m. OK MS C++ TESTS 30 46 819200 1000
57570863 vjudge2 B July 23, 2019, 5:11 a.m. OK MS C++ TESTS 30 46 819200 1000
57569506 vjudge2 B July 23, 2019, 4:37 a.m. OK MS C++ TESTS 30 46 819200 1000
57568858 vjudge5 B July 23, 2019, 4:20 a.m. OK MS C++ TESTS 30 46 819200 1000
59249610 yznl B Aug. 22, 2019, 2:52 a.m. OK MS C++ TESTS 33 46 819200 1000
58946306 vjudge3 B Aug. 17, 2019, 9:07 a.m. OK MS C++ TESTS 33 46 819200 1000
57777005 vjudge5 B July 26, 2019, 4:07 a.m. OK MS C++ TESTS 33 46 1024000 1000
59686133 guoriyue B Aug. 30, 2019, 1:43 a.m. OK MS C++ 2017 TESTS 33 62 819200 1000
57539317 21181522 B July 22, 2019, 3:56 p.m. OK MS C++ 2017 TESTS 30 62 819200 1000
57533678 Laaahu_ B July 22, 2019, 3:31 p.m. OK MS C++ 2017 TESTS 30 62 819200 1000
57564539 anlen B July 23, 2019, 2:26 a.m. OK MS C++ 2017 TESTS 30 62 819200 1000
57533513 Chinese_zjc_ B July 22, 2019, 3:30 p.m. OK MS C++ 2017 TESTS 30 62 819200 1000
57588197 WhyareyouRunning B July 23, 2019, 11:25 a.m. OK MS C++ 2017 TESTS 33 62 921600 1000
57532387 dreamal B July 22, 2019, 3:26 p.m. OK MS C++ 2017 TESTS 30 62 1228800 1000
57918582 algorithmIndex1 B July 29, 2019, 3:07 a.m. OK MS C++ 2017 TESTS 33 77 819200 1000
57915460 xsc B July 29, 2019, 12:52 a.m. OK MS C++ 2017 TESTS 33 77 819200 1000
58946251 ZA139 B Aug. 17, 2019, 9:06 a.m. OK MS C++ 2017 TESTS 33 77 819200 1000
57551525 romanporsh B July 22, 2019, 5:40 p.m. OK PascalABC.NET TESTS 30 436 8192000 1000
57537691 Alex_D B July 22, 2019, 3:48 p.m. OK PascalABC.NET TESTS 30 451 102400 1000
57534884 Bekzaat17 B July 22, 2019, 3:36 p.m. OK PHP TESTS 30 77 16384000 1000
57551679 mayakin B July 22, 2019, 5:44 p.m. OK PHP TESTS 30 77 23142400 1000
57740507 lostamok B July 25, 2019, 11:19 a.m. OK PHP TESTS 33 93 16384000 1000
57543477 erbolat0311 B July 22, 2019, 4:17 p.m. OK PHP TESTS 30 93 16384000 1000
57548250 bertrandovide B July 22, 2019, 4:41 p.m. OK PyPy 2 TESTS 30 140 10444800 1000
57911099 smunjal96 B July 28, 2019, 8:16 p.m. OK PyPy 2 TESTS 33 140 10444800 1000
57542895 hoangphuoc25 B July 22, 2019, 4:14 p.m. OK PyPy 2 TESTS 30 140 11264000 1000
60400818 jolt.tks B Sept. 11, 2019, 4:37 p.m. OK PyPy 2 TESTS 33 155 10342400 1000
57596359 vladvis B July 23, 2019, 2:05 p.m. OK PyPy 2 TESTS 33 155 10854400 1000
57958863 fortmax120 B July 29, 2019, 8:29 p.m. OK PyPy 2 TESTS 33 171 12800000 1000
57550072 iamprayush B July 22, 2019, 5:08 p.m. OK PyPy 2 TESTS 30 171 14336000 1000
57710242 -Morass- B July 24, 2019, 11:11 p.m. OK PyPy 2 TESTS 33 202 9830400 1000
58317580 yumtam B Aug. 5, 2019, 3:55 a.m. OK PyPy 2 TESTS 33 202 14643200 1000
60403938 thenewguy39 B Sept. 11, 2019, 5:48 p.m. OK PyPy 2 TESTS 33 249 12800000 1000
64123146 lke_python B Nov. 3, 2019, 2:55 a.m. OK PyPy 3 TESTS 33 265 14131200 1000
58250312 lqppk B Aug. 4, 2019, 7:32 a.m. OK PyPy 3 TESTS 33 265 14745600 1000
61257340 AvinashKartik B Sept. 25, 2019, 10:34 a.m. OK PyPy 3 TESTS 33 280 14643200 1000
60699188 _aditya_ B Sept. 16, 2019, 9:58 p.m. OK PyPy 3 TESTS 33 280 14643200 1000
58239733 ironmind B Aug. 3, 2019, 10:56 p.m. OK PyPy 3 TESTS 33 280 14643200 1000
57990883 raghav_9 B July 30, 2019, 1:12 p.m. OK PyPy 3 TESTS 33 280 14643200 1000
57908185 john_synavise B July 28, 2019, 6:36 p.m. OK PyPy 3 TESTS 33 280 14643200 1000
57880171 a_m_0811 B July 28, 2019, 7:24 a.m. OK PyPy 3 TESTS 33 280 14643200 1000
57813917 HeiSenBerG214 B July 26, 2019, 6:43 p.m. OK PyPy 3 TESTS 33 280 14643200 1000
57734478 tchr B July 25, 2019, 9:31 a.m. OK PyPy 3 TESTS 33 280 14643200 1000
57532920 kaif_7 B July 22, 2019, 3:28 p.m. OK Python 2 TESTS 30 265 11059200 1000
57592895 elistark B July 23, 2019, 12:52 p.m. OK Python 2 TESTS 33 280 11059200 1000
57540864 sayoojsamuel B July 22, 2019, 4:04 p.m. OK Python 2 TESTS 30 296 11059200 1000
57555792 Helli.code B July 22, 2019, 7:38 p.m. OK Python 2 TESTS 30 296 11161600 1000
57538521 Pratik_dey18 B July 22, 2019, 3:52 p.m. OK Python 2 TESTS 30 296 11161600 1000
57605252 ashutoshnaveen B July 23, 2019, 5:36 p.m. OK Python 2 TESTS 33 311 11059200 1000
57604565 google13 B July 23, 2019, 5:18 p.m. OK Python 2 TESTS 33 312 11059200 1000
57537255 devamk B July 22, 2019, 3:46 p.m. OK Python 2 TESTS 30 358 11059200 1000
58211415 ssk497 B Aug. 3, 2019, 8:57 a.m. OK Python 2 TESTS 33 358 12800000 1000
62103802 exception420 B Oct. 8, 2019, 10:03 a.m. OK Python 3 TESTS 33 170 14643200 1000
57552339 eugalt B July 22, 2019, 6:02 p.m. OK Python 3 TESTS 30 170 14643200 1000
69857301 Deepanshu101 B Jan. 30, 2020, 5:22 p.m. OK Python 3 TESTS 33 171 13721600 1000
57632397 prmangal B July 24, 2019, 9:14 a.m. OK Python 3 TESTS 33 171 14233600 1000
62971779 vishnutheerthep B Oct. 20, 2019, 7:10 a.m. OK Python 3 TESTS 33 171 14643200 1000
59860435 _BARUTO B Sept. 1, 2019, 3:06 p.m. OK Python 3 TESTS 33 171 14643200 1000
58164782 erpkgp1 B Aug. 2, 2019, 8:40 a.m. OK Python 3 TESTS 33 171 14643200 1000
57732927 abcxyza B July 25, 2019, 9:05 a.m. OK Python 3 TESTS 33 171 14643200 1000
57618677 greed2411 B July 24, 2019, 3:09 a.m. OK Python 3 TESTS 33 171 14643200 1000
57608577 Soumya_123 B July 23, 2019, 7:15 p.m. OK Python 3 TESTS 33 171 14643200 1000
57591943 C051N3 B July 23, 2019, 12:35 p.m. OK Rust TESTS 33 31 3686400 1000
57801333 Swordelf B July 26, 2019, 1:23 p.m. OK Rust TESTS 33 31 3891200 1000
57530985 macho_uno B July 22, 2019, 3:21 p.m. OK Rust TESTS 30 31 3891200 1000
57833623 Lancern B July 27, 2019, 6:51 a.m. OK Rust TESTS 33 46 1536000 1000
62871417 manta1130 B Oct. 18, 2019, 1:53 p.m. OK Rust TESTS 33 46 3686400 1000
57723116 tigertang B July 25, 2019, 6:18 a.m. OK Rust TESTS 33 46 3891200 1000
57599284 kobae964 B July 23, 2019, 3:07 p.m. OK Rust TESTS 33 93 1126400 1000
61333258 sash0 B Sept. 26, 2019, 3:38 p.m. OK Rust TESTS 33 93 11161600 1000
57538259 Som3t1me5 B July 22, 2019, 3:51 p.m. OK Scala TESTS 30 421 0 1000

remove filters

Back to search problems