Educational Codeforces Round 27

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
845 Educational Codeforces Round 27 FINISHED False 7200 234197723 Aug. 21, 2017, 3:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 9117 ) C Two TVs PROGRAMMING data structures greedy sortings 1500

B'Polycarp is a great fan of television. He wrote down all the TV programs he is interested in for today. His list contains n shows, i-th of them starts at moment li and ends at moment ri. Polycarp owns two TVs. He can watch two different shows simultaneously with two TVs but he can only watch one show at any given moment on a single TV. If one show ends at the same moment some other show starts then you can 't watch them on a single TV. Polycarp wants to check out all n shows. Are two TVs enough to do so? The first line contains one integer n (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x892 xc2 xb7105) -- the number of shows. Each of the next n lines contains two integers li and ri (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89li xe2 x80 x89< xe2 x80 x89ri xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109) -- starting and ending time of i-th show. If Polycarp is able to check out all the shows using only two TVs then print "YES" (without quotes). Otherwise, print "NO" (without quotes). '...

Tutorials

53986

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
29666225 Leonardone C Aug. 21, 2017, 6:53 p.m. OK D TESTS 58 295 4198400 1500
30037030 FalseMirror C Sept. 3, 2017, 2:10 p.m. OK D TESTS 58 342 4300800 1500
29703142 GunDone C Aug. 23, 2017, 9:39 a.m. OK Delphi TESTS 58 93 1638400 1500
29703441 nutella- C Aug. 23, 2017, 9:54 a.m. OK Delphi TESTS 58 109 1638400 1500
29683030 ruban C Aug. 22, 2017, 12:51 p.m. OK Delphi TESTS 58 327 120524800 1500
64357085 luogu_bot5 C Nov. 6, 2019, 10:36 a.m. OK FPC TESTS 58 124 1843200 1500
29843297 T-- C Aug. 28, 2017, 10:39 a.m. OK FPC TESTS 58 140 3174400 1500
37657275 luping C April 27, 2018, 10:34 a.m. OK FPC TESTS 58 155 39219200 1500
29815665 Mervap C Aug. 26, 2017, 9:53 p.m. OK FPC TESTS 58 171 3276800 1500
39737081 Dragon_fxl C June 28, 2018, 8:38 a.m. OK GNU C TESTS 58 108 3174400 1500
39736944 Dragon_fxl C June 28, 2018, 8:31 a.m. OK GNU C TESTS 58 109 3174400 1500
39737533 Dragon_fxl C June 28, 2018, 8:58 a.m. OK GNU C TESTS 58 124 3174400 1500
39736196 Dragon_fxl C June 28, 2018, 7:58 a.m. OK GNU C TESTS 58 140 1638400 1500
29802500 Scut82 C Aug. 26, 2017, 9:29 a.m. OK GNU C++ TESTS 58 46 1638400 1500
29654201 gzyofglory C Aug. 21, 2017, 3:45 p.m. OK GNU C++ TESTS 58 46 1638400 1500
29650563 Mstdream C Aug. 21, 2017, 3:25 p.m. OK GNU C++ TESTS 58 46 1638400 1500
29802401 Scut82 C Aug. 26, 2017, 9:25 a.m. OK GNU C++ TESTS 58 46 2457600 1500
29650327 xht13127 C Aug. 21, 2017, 3:23 p.m. OK GNU C++ TESTS 58 46 11673600 1500
29797149 Lucius C Aug. 26, 2017, 5:02 a.m. OK GNU C++ TESTS 58 61 2969600 1500
29664373 vjudge2 C Aug. 21, 2017, 5:32 p.m. OK GNU C++ TESTS 58 61 3174400 1500
29659565 Tonjar C Aug. 21, 2017, 4:28 p.m. OK GNU C++ TESTS 58 62 1638400 1500
29661106 Magolor C Aug. 21, 2017, 4:43 p.m. OK GNU C++ TESTS 58 62 3174400 1500
29807655 Scut82 C Aug. 26, 2017, 1:49 p.m. OK GNU C++ TESTS 58 78 3174400 1500
29728714 YuVD C Aug. 24, 2017, 10:34 a.m. OK GNU C11 TESTS 58 109 1638400 1500
30366918 xiao-xiao C Sept. 15, 2017, 3:57 p.m. OK GNU C11 TESTS 58 109 1638400 1500
29651763 unused C Aug. 21, 2017, 3:31 p.m. OK GNU C11 TESTS 58 124 7987200 1500
30244370 ali_c_hamouda C Sept. 10, 2017, 11:54 a.m. OK GNU C11 TESTS 58 187 3379200 1500
29650372 Umi C Aug. 21, 2017, 3:23 p.m. OK GNU C++11 TESTS 58 31 1638400 1500
48683404 luogu_bot2 C Jan. 21, 2019, 2:15 p.m. OK GNU C++11 TESTS 58 46 1433600 1500
62389127 2016c01 C Oct. 11, 2019, 11:56 p.m. OK GNU C++11 TESTS 58 46 1433600 1500
63758319 maxc3721 C Oct. 30, 2019, 1:37 a.m. OK GNU C++11 TESTS 58 46 1433600 1500
62185109 Lxhao C Oct. 9, 2019, 7:58 a.m. OK GNU C++11 TESTS 58 46 1638400 1500
61624174 luogu_bot2 C Oct. 1, 2019, 2:54 p.m. OK GNU C++11 TESTS 58 46 1638400 1500
63931210 chenke C Oct. 31, 2019, 2:20 p.m. OK GNU C++11 TESTS 58 46 1638400 1500
29697944 bobob C Aug. 23, 2017, 4:55 a.m. OK GNU C++11 TESTS 58 46 2457600 1500
29659503 watheq C Aug. 21, 2017, 4:27 p.m. OK GNU C++11 TESTS 58 46 2457600 1500
68995473 _zzi_ C Jan. 17, 2020, 5:13 p.m. OK GNU C++11 TESTS 58 46 3174400 1500
29819072 Virtualcourager C Aug. 27, 2017, 5:05 a.m. OK GNU C++14 TESTS 58 62 41676800 1500
51999113 luogu_bot4 C March 30, 2019, 5:10 a.m. OK GNU C++14 TESTS 58 78 5324800 1500
29921844 citizen4 C Aug. 30, 2017, 2:53 p.m. OK GNU C++14 TESTS 58 93 1638400 1500
29810232 loveless C Aug. 26, 2017, 4:02 p.m. OK GNU C++14 TESTS 58 93 1638400 1500
29727240 egardoz01 C Aug. 24, 2017, 9:25 a.m. OK GNU C++14 TESTS 58 93 1638400 1500
29712056 orz010orz C Aug. 23, 2017, 3:56 p.m. OK GNU C++14 TESTS 58 93 1843200 1500
29654141 TaeHooooon C Aug. 21, 2017, 3:45 p.m. OK GNU C++14 TESTS 58 93 1843200 1500
29674837 Barceloner C Aug. 22, 2017, 5:53 a.m. OK GNU C++14 TESTS 58 108 1638400 1500
29651329 froghramar C Aug. 21, 2017, 3:29 p.m. OK GNU C++14 TESTS 58 108 3993600 1500
51446585 vjudge4 C March 18, 2019, 12:47 p.m. OK GNU C++14 TESTS 58 109 1638400 1500
51443847 idxcalccalc C March 18, 2019, 11:33 a.m. OK GNU C++17 TESTS 58 62 1843200 1500
41652468 vjudge3 C Aug. 16, 2018, 12:38 p.m. OK GNU C++17 TESTS 58 77 3276800 1500
41652431 vjudge4 C Aug. 16, 2018, 12:37 p.m. OK GNU C++17 TESTS 58 92 3276800 1500
56521607 charity C July 4, 2019, 3:10 p.m. OK GNU C++17 TESTS 58 108 1638400 1500
59428773 Hacheylight C Aug. 25, 2019, 4:55 a.m. OK GNU C++17 TESTS 58 108 2457600 1500
65512021 thtsshz_bgwrswh C Nov. 22, 2019, 4:38 a.m. OK GNU C++17 TESTS 58 108 3174400 1500
64361989 vjudge2 C Nov. 6, 2019, 11:58 a.m. OK GNU C++17 TESTS 58 109 2457600 1500
66821099 S.S.SSSS C Dec. 14, 2019, 7:26 a.m. OK GNU C++17 TESTS 58 124 1638400 1500
61065876 YueYu_X C Sept. 22, 2019, 11:04 a.m. OK GNU C++17 TESTS 58 124 1638400 1500
66821074 Kinder. C Dec. 14, 2019, 7:26 a.m. OK GNU C++17 TESTS 58 124 1638400 1500
29688487 only_methol C Aug. 22, 2017, 4:35 p.m. OK Go TESTS 58 187 25600000 1500
30014059 stczhc C Sept. 2, 2017, 1:46 p.m. OK Haskell TESTS 58 483 42905600 1500
29676927 Bleem C Aug. 22, 2017, 7:53 a.m. OK Haskell TESTS 58 561 49561600 1500
29861214 codeonwort C Aug. 29, 2017, 8:30 a.m. OK Haskell TESTS 58 638 64307200 1500
29705610 sl0th C Aug. 23, 2017, 11:27 a.m. OK Haskell TESTS 58 763 50585600 1500
29685128 chojh1222 C Aug. 22, 2017, 2:14 p.m. OK Java 8 TESTS 58 171 0 1500
29653485 lm010 C Aug. 21, 2017, 3:41 p.m. OK Java 8 TESTS 58 171 0 1500
29652639 jack04 C Aug. 21, 2017, 3:36 p.m. OK Java 8 TESTS 58 171 0 1500
47317000 vatsal.malaviya C Dec. 21, 2018, 4:55 a.m. OK Java 8 TESTS 58 187 0 1500
29665399 assali C Aug. 21, 2017, 6:14 p.m. OK Java 8 TESTS 58 187 0 1500
39066424 ViciousCoder C June 9, 2018, 10:22 a.m. OK Java 8 TESTS 58 202 0 1500
29707814 karamkontar C Aug. 23, 2017, 12:58 p.m. OK Java 8 TESTS 58 202 0 1500
29654746 MaxHeap C Aug. 21, 2017, 3:49 p.m. OK Java 8 TESTS 58 202 0 1500
29685607 prakhar28 C Aug. 22, 2017, 2:35 p.m. OK Java 8 TESTS 58 217 0 1500
39207716 kanak893 C June 13, 2018, 6:27 a.m. OK Java 8 TESTS 58 218 0 1500
49339199 matej.pristak C Feb. 1, 2019, 8:45 p.m. OK Kotlin TESTS 58 701 8806400 1500
29858912 Veboy C Aug. 29, 2017, 6:05 a.m. OK Kotlin TESTS 58 1060 12595200 1500
42824104 065583 C Sept. 13, 2018, 8:46 a.m. OK Kotlin TESTS 58 1107 1228800 1500
29714260 leign C Aug. 23, 2017, 5:51 p.m. OK Mono C# TESTS 58 218 4608000 1500
29940407 Xtreemist C Aug. 31, 2017, 10:59 a.m. OK Mono C# TESTS 58 389 10752000 1500
29659826 daniil.vaino C Aug. 21, 2017, 4:30 p.m. OK Mono C# TESTS 58 498 19046400 1500
30908724 og.kostya C Oct. 1, 2017, 12:33 p.m. OK MS C# TESTS 58 109 1536000 1500
29693831 Liran C Aug. 22, 2017, 9:21 p.m. OK MS C# TESTS 58 280 4608000 1500
29847633 vitoshacademy C Aug. 28, 2017, 2:23 p.m. OK MS C# TESTS 58 280 9011200 1500
29785950 kawazaki C Aug. 25, 2017, 3:48 p.m. OK MS C# TESTS 58 327 12083200 1500
29735600 Mandarin C Aug. 24, 2017, 4:11 p.m. OK MS C# TESTS 58 421 4710400 1500
29938371 Sollex C Aug. 31, 2017, 8:54 a.m. OK MS C# TESTS 58 451 16486400 1500
29650596 balalaika C Aug. 21, 2017, 3:25 p.m. OK MS C# TESTS 58 498 18636800 1500
29655819 eulerscheZahl C Aug. 21, 2017, 3:56 p.m. OK MS C# TESTS 58 529 16588800 1500
62899403 vjudge4 C Oct. 19, 2019, 3:13 a.m. OK MS C++ TESTS 58 78 3788800 1500
51604222 vjudge4 C March 21, 2019, 6:26 a.m. OK MS C++ TESTS 58 93 1638400 1500
29676348 lousiyi C Aug. 22, 2017, 7:22 a.m. OK MS C++ TESTS 58 93 1740800 1500
29652430 ly_61 C Aug. 21, 2017, 3:34 p.m. OK MS C++ TESTS 58 93 1740800 1500
29675321 TraceCJY C Aug. 22, 2017, 6:21 a.m. OK MS C++ TESTS 58 93 1740800 1500
29656524 MrDecomposition C Aug. 21, 2017, 4:01 p.m. OK MS C++ TESTS 58 93 1740800 1500
45794120 vjudge5 C Nov. 16, 2018, 9:19 a.m. OK MS C++ TESTS 58 93 2662400 1500
29651801 Volpe C Aug. 21, 2017, 3:31 p.m. OK MS C++ TESTS 58 93 3481600 1500
29648843 LLI_E_P_JI_O_K C Aug. 21, 2017, 3:16 p.m. OK MS C++ TESTS 58 93 4403200 1500
62899069 vjudge5 C Oct. 19, 2019, 2:58 a.m. OK MS C++ TESTS 58 93 5939200 1500
62749614 vjudge2 C Oct. 17, 2019, 12:13 a.m. OK MS C++ 2017 TESTS 58 171 3174400 1500
62899956 vjudge3 C Oct. 19, 2019, 3:34 a.m. OK MS C++ 2017 TESTS 58 171 3993600 1500
59116652 vjudge4 C Aug. 20, 2019, 2:08 a.m. OK MS C++ 2017 TESTS 58 358 16076800 1500
66443385 Mad112233 C Dec. 7, 2019, 8:44 a.m. OK MS C++ 2017 TESTS 58 405 1843200 1500
68310353 immortal_luo C Jan. 6, 2020, 10:55 a.m. OK MS C++ 2017 TESTS 58 452 3379200 1500
33582643 gabe C Dec. 24, 2017, 3:14 a.m. OK Perl TESTS 58 1138 60313600 1500
62900031 vjudge3 C Oct. 19, 2019, 3:37 a.m. OK PHP TESTS 58 654 75161600 1500
32145277 mayakin C Nov. 8, 2017, 7:14 p.m. OK PHP TESTS 58 1356 66764800 1500
29656050 sambit25 C Aug. 21, 2017, 3:58 p.m. OK PyPy 2 TESTS 58 966 19251200 1500
29654460 pluristiq C Aug. 21, 2017, 3:47 p.m. OK PyPy 2 TESTS 58 1076 9932800 1500
47279622 pa.n.ik C Dec. 19, 2018, 10:26 p.m. OK PyPy 2 TESTS 58 1154 15769600 1500
30826720 iit2014101 C Sept. 29, 2017, 11:34 a.m. OK PyPy 2 TESTS 58 1279 24473600 1500
39967497 aeternalis1 C July 4, 2018, 9:43 p.m. OK PyPy 2 TESTS 58 1512 15052800 1500
30450470 bluejay9676 C Sept. 17, 2017, 9:14 p.m. OK PyPy 2 TESTS 58 1622 43315200 1500
31204546 WyattWismer C Oct. 11, 2017, 12:54 a.m. OK PyPy 2 TESTS 58 1715 15564800 1500
57091571 ashok123 C July 15, 2019, 10:56 a.m. OK PyPy 2 TESTS 58 1747 14336000 1500
46976427 Praxis C Dec. 13, 2018, 4:51 p.m. OK PyPy 3 TESTS 58 1028 20377600 1500
36198487 saglam.muzaffer C March 11, 2018, 12:06 p.m. OK PyPy 3 TESTS 58 1840 30617600 1500
52110750 vjudge4 C March 31, 2019, 3:22 p.m. OK PyPy 3 TESTS 58 1918 15052800 1500
52080904 vjudge3 C March 31, 2019, 12:08 p.m. OK Python 2 TESTS 58 701 20172800 1500
52080862 jrobsonjr C March 31, 2019, 12:07 p.m. OK Python 2 TESTS 58 701 20172800 1500
33237250 common C Dec. 14, 2017, 11:06 a.m. OK Python 2 TESTS 58 717 21299200 1500
52507252 Hawllysson C April 8, 2019, 7:29 p.m. OK Python 2 TESTS 58 717 21913600 1500
52507430 vjudge4 C April 8, 2019, 7:35 p.m. OK Python 2 TESTS 58 733 21913600 1500
52507416 Hawllysson C April 8, 2019, 7:35 p.m. OK Python 2 TESTS 58 733 21913600 1500
62899926 vjudge4 C Oct. 19, 2019, 3:33 a.m. OK Python 2 TESTS 58 764 19353600 1500
52532145 vjudge2 C April 9, 2019, 1:53 p.m. OK Python 2 TESTS 58 810 21401600 1500
29653768 zeyuanxy C Aug. 21, 2017, 3:42 p.m. OK Python 2 TESTS 58 811 16793600 1500
62899861 vjudge5 C Oct. 19, 2019, 3:30 a.m. OK Python 2 TESTS 58 826 19353600 1500
54995914 rodrigods C June 2, 2019, 11:36 p.m. OK Python 3 TESTS 58 779 19353600 1500
64174439 rodrigods C Nov. 3, 2019, 8:04 p.m. OK Python 3 TESTS 58 795 18636800 1500
52123328 rennanrocha C March 31, 2019, 4:33 p.m. OK Python 3 TESTS 58 810 18636800 1500
31188350 yugle7 C Oct. 10, 2017, 11:44 a.m. OK Python 3 TESTS 58 842 19251200 1500
29709065 orailly C Aug. 23, 2017, 1:52 p.m. OK Python 3 TESTS 58 857 10035200 1500
56496955 scambret C July 4, 2019, 3:38 a.m. OK Python 3 TESTS 58 857 17715200 1500
29652481 ilyakooo0 C Aug. 21, 2017, 3:35 p.m. OK Python 3 TESTS 58 857 19456000 1500
29708977 orailly C Aug. 23, 2017, 1:48 p.m. OK Python 3 TESTS 58 873 13107200 1500
59533490 Gabs96 C Aug. 26, 2019, 3:58 p.m. OK Python 3 TESTS 58 873 23961600 1500
67764178 ben1989 C Dec. 28, 2019, 2:08 a.m. OK Python 3 TESTS 58 889 20480000 1500
29655831 v-sh C Aug. 21, 2017, 3:56 p.m. OK Ruby TESTS 58 1263 19251200 1500
29709353 orailly C Aug. 23, 2017, 2:03 p.m. OK Ruby TESTS 58 1465 53964800 1500
55015412 gu_castle C June 3, 2019, 12:06 p.m. OK Rust TESTS 58 124 2355200 1500
29659274 Hillmouse C Aug. 21, 2017, 4:25 p.m. OK Rust TESTS 58 124 5836800 1500
30313428 FalseMirror C Sept. 13, 2017, 5:49 p.m. OK Rust TESTS 58 156 6963200 1500
30313369 FalseMirror C Sept. 13, 2017, 5:46 p.m. OK Rust TESTS 58 187 11161600 1500
30313469 FalseMirror C Sept. 13, 2017, 5:50 p.m. OK Rust TESTS 58 202 11161600 1500
41649342 kobae964 C Aug. 16, 2018, 10:49 a.m. OK Rust TESTS 58 389 117760000 1500

remove filters

Back to search problems