Educational Codeforces Round 61 (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
1132 Educational Codeforces Round 61 (Rated for Div. 2) FINISHED False 8100 185640887 March 5, 2019, 3:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 5467 ) C Painting the Fence PROGRAMMING brute force 1700

B'You have a long fence which consists of n sections. Unfortunately, it is not painted, so you decided to hire q painters to paint it. i -th painter will paint all sections x such that l_i <= x <= r_i . Unfortunately, you are on a tight budget, so you may hire only q - 2 painters. Obviously, only painters you hire will do their work. You want to maximize the number of painted sections if you choose q - 2 painters optimally. A section is considered painted if at least one painter paints it. The first line contains two integers n and q ( 3 <= n, q <= 5000 ) -- the number of sections and the number of painters availible for hire, respectively. Then q lines follow, each describing one of the painters: i -th line contains two integers l_i and r_i ( 1 <= l_i <= r_i <= n ). Print one integer -- maximum number of painted sections if you hire q - 2 painters. '...

Tutorials

T

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
50873622 ruban C March 6, 2019, 4:27 a.m. OK Delphi TESTS 294 764 117452800 1700
50955865 rainboy C March 7, 2019, 4:06 p.m. OK GNU C11 TESTS 294 93 102400 1700
52796811 Aleksandr_Sidorow C April 15, 2019, 9:34 p.m. OK GNU C11 TESTS 294 108 204800 1700
50896348 Justaskeleton C March 6, 2019, 3:15 p.m. OK GNU C11 TESTS 294 109 102400 1700
52135413 sansen C April 1, 2019, 1:59 a.m. OK GNU C11 TESTS 294 124 102400 1700
57875795 TaeHoonYoon C July 28, 2019, 5:14 a.m. OK GNU C11 TESTS 294 156 102400 1700
50925460 xiaoshizhan C March 7, 2019, 11:37 a.m. OK GNU C++11 TESTS 294 31 204800 1700
50867659 marcorubini301 C March 5, 2019, 9:34 p.m. OK GNU C++11 TESTS 294 31 307200 1700
50867947 marcorubini301 C March 5, 2019, 9:49 p.m. OK GNU C++11 TESTS 294 31 307200 1700
50895316 2016wudi C March 6, 2019, 2:48 p.m. OK GNU C++11 TESTS 294 46 0 1700
51464084 kokarev C March 18, 2019, 10:36 p.m. OK GNU C++11 TESTS 294 46 0 1700
52534611 DaviDTR1 C April 9, 2019, 3 p.m. OK GNU C++11 TESTS 294 46 102400 1700
51940185 zhen_de_keng C March 28, 2019, 2:08 p.m. OK GNU C++11 TESTS 294 46 102400 1700
58362356 vjudge6 C Aug. 6, 2019, 1:37 a.m. OK GNU C++11 TESTS 294 46 102400 1700
52632047 tyzc C April 12, 2019, 7:40 a.m. OK GNU C++11 TESTS 294 46 102400 1700
52564989 Deft_t C April 10, 2019, 12:06 p.m. OK GNU C++11 TESTS 294 46 102400 1700
50887434 johnson C March 6, 2019, 11:53 a.m. OK GNU C++14 TESTS 294 31 102400 1700
52680365 huyufeifei C April 13, 2019, 12:04 p.m. OK GNU C++14 TESTS 294 31 614400 1700
54817528 jr3ed C May 29, 2019, 9:31 p.m. OK GNU C++14 TESTS 294 31 42905600 1700
54868932 vjudge5 C May 31, 2019, 8:01 a.m. OK GNU C++14 TESTS 294 31 84275200 1700
62238166 rtilikay C Oct. 10, 2019, 12:03 a.m. OK GNU C++14 TESTS 294 46 102400 1700
51048868 Yami27 C March 8, 2019, 7:55 p.m. OK GNU C++14 TESTS 294 46 102400 1700
50898452 zl666 C March 6, 2019, 4:11 p.m. OK GNU C++14 TESTS 294 46 102400 1700
51059329 Yami27 C March 9, 2019, 1:50 a.m. OK GNU C++14 TESTS 294 46 102400 1700
51083660 misha_rybinin C March 9, 2019, 12:22 p.m. OK GNU C++14 TESTS 294 46 102400 1700
51205285 firranze C March 12, 2019, 4:15 a.m. OK GNU C++14 TESTS 294 46 102400 1700
50895634 0w1 C March 6, 2019, 2:56 p.m. OK GNU C++17 TESTS 294 31 204800 1700
50888765 HarryWu C March 6, 2019, 12:23 p.m. OK GNU C++17 TESTS 294 31 307200 1700
50907055 The_Blitz C March 6, 2019, 8:53 p.m. OK GNU C++17 TESTS 294 46 102400 1700
50895144 MMMMMMMW C March 6, 2019, 2:44 p.m. OK GNU C++17 TESTS 294 46 102400 1700
50893572 henghaha C March 6, 2019, 2:06 p.m. OK GNU C++17 TESTS 294 46 102400 1700
50892458 MMMMMMMW C March 6, 2019, 1:41 p.m. OK GNU C++17 TESTS 294 46 102400 1700
51136233 lys1280023 C March 10, 2019, 4:15 p.m. OK GNU C++17 TESTS 294 46 102400 1700
55857858 m.hasan01 C June 21, 2019, 7:57 a.m. OK GNU C++17 TESTS 294 46 102400 1700
55857875 m.hasan01 C June 21, 2019, 7:57 a.m. OK GNU C++17 TESTS 294 46 102400 1700
50896551 Sqwlly_ C March 6, 2019, 3:20 p.m. OK GNU C++17 TESTS 294 46 102400 1700
55307975 efimmanevich C June 8, 2019, 3:42 p.m. OK Go TESTS 294 77 0 1700
50885771 2008061626 C March 6, 2019, 11:15 a.m. OK Go TESTS 294 280 0 1700
50881750 sonusingh.nitaa C March 6, 2019, 9:12 a.m. OK Java 8 TESTS 294 202 0 1700
50888479 Akash_UR C March 6, 2019, 12:17 p.m. OK Java 8 TESTS 294 218 0 1700
50873222 its_aks_ulure C March 6, 2019, 4:01 a.m. OK Java 8 TESTS 294 218 0 1700
60387296 yaoct C Sept. 11, 2019, 12:01 p.m. OK Java 8 TESTS 294 233 0 1700
51288044 xodiac C March 14, 2019, 8:29 a.m. OK Java 8 TESTS 294 233 0 1700
51095107 matus.moravcik C March 9, 2019, 4 p.m. OK Java 8 TESTS 294 233 0 1700
50875078 its_aks_ulure C March 6, 2019, 5:39 a.m. OK Java 8 TESTS 294 233 0 1700
50869982 osamaa.nadeer C March 6, 2019, 12:17 a.m. OK Java 8 TESTS 294 233 0 1700
51098000 mennafadali C March 9, 2019, 5:28 p.m. OK Java 8 TESTS 294 234 259174400 1700
50859638 typedef_2000 C March 5, 2019, 5:48 p.m. OK Java 8 TESTS 294 248 0 1700
51212942 shatty C March 12, 2019, 8:55 a.m. OK Kotlin TESTS 294 218 0 1700
51213065 shatty C March 12, 2019, 8:59 a.m. OK Kotlin TESTS 294 218 0 1700
50856727 eki C March 5, 2019, 5:17 p.m. OK Mono C# TESTS 294 124 6860800 1700
50864608 elias99 C March 5, 2019, 7:40 p.m. OK Mono C# TESTS 294 140 6860800 1700
53693619 plasma-effect C May 3, 2019, 6:30 a.m. OK Mono C# TESTS 294 155 5222400 1700
50865407 mban259 C March 5, 2019, 8:06 p.m. OK Mono C# TESTS 294 233 921600 1700
51026992 denisdenisdenis C March 8, 2019, 11:50 a.m. OK Mono C# TESTS 294 967 4300800 1700
50899766 shijieshu C March 6, 2019, 4:51 p.m. OK MS C++ TESTS 294 31 1024000 1700
50885188 XDKalia C March 6, 2019, 10:57 a.m. OK MS C++ TESTS 294 61 102400 1700
50881922 hyacinthusorientalis C March 6, 2019, 9:16 a.m. OK MS C++ TESTS 294 61 102400 1700
50851301 qcwlmqy C March 5, 2019, 4:49 p.m. OK MS C++ TESTS 294 62 102400 1700
51097680 vjudge4 C March 9, 2019, 5:18 p.m. OK MS C++ TESTS 294 62 102400 1700
51265463 vjudge5 C March 13, 2019, 3:19 p.m. OK MS C++ TESTS 294 62 204800 1700
50878899 vjudge5 C March 6, 2019, 8:04 a.m. OK MS C++ TESTS 294 77 2048000 1700
52993170 vjudge2 C April 19, 2019, 12:59 a.m. OK MS C++ TESTS 294 78 102400 1700
51301449 vjudge1 C March 14, 2019, 2:36 p.m. OK MS C++ TESTS 294 78 102400 1700
61822083 vjudge5 C Oct. 4, 2019, 2:49 a.m. OK MS C++ TESTS 294 78 1638400 1700
57981713 kyw C July 30, 2019, 9:39 a.m. OK MS C++ 2017 TESTS 294 77 102400 1700
50855289 youx C March 5, 2019, 5:10 p.m. OK MS C++ 2017 TESTS 294 77 204800 1700
50915327 GomBu C March 7, 2019, 5:57 a.m. OK MS C++ 2017 TESTS 294 78 102400 1700
52519480 Lordxx C April 9, 2019, 7:50 a.m. OK MS C++ 2017 TESTS 294 78 102400 1700
58322580 ZSTU-2018329621261 C Aug. 5, 2019, 6:29 a.m. OK MS C++ 2017 TESTS 294 78 102400 1700
53479407 small_hedgehog C April 28, 2019, 6:18 p.m. OK MS C++ 2017 TESTS 294 93 102400 1700
61671948 j2v C Oct. 1, 2019, 7:02 p.m. OK MS C++ 2017 TESTS 294 93 102400 1700
53529822 small_hedgehog C April 29, 2019, 6:46 p.m. OK MS C++ 2017 TESTS 294 93 102400 1700
53529466 small_hedgehog C April 29, 2019, 6:33 p.m. OK MS C++ 2017 TESTS 294 93 102400 1700
64347770 vjudge4 C Nov. 6, 2019, 7:07 a.m. OK MS C++ 2017 TESTS 294 93 307200 1700
51149943 Stanislav666 C March 11, 2019, 6:58 a.m. OK PascalABC.NET TESTS 294 702 0 1700
50901123 codeseeker C March 6, 2019, 5:29 p.m. OK PyPy 2 TESTS 294 420 51507200 1700
50873057 c1729 C March 6, 2019, 3:53 a.m. OK PyPy 2 TESTS 294 451 1945600 1700
50873226 c1729 C March 6, 2019, 4:02 a.m. OK PyPy 2 TESTS 294 452 2150400 1700
55378097 shafwanur010 C June 9, 2019, 6:36 p.m. OK PyPy 2 TESTS 294 452 3174400 1700
50867324 jessica_jung C March 5, 2019, 9:20 p.m. OK PyPy 2 TESTS 294 514 8601600 1700
50852804 supachai_pay C March 5, 2019, 4:57 p.m. OK PyPy 2 TESTS 294 545 2867200 1700
50898971 apoorv1999 C March 6, 2019, 4:27 p.m. OK PyPy 2 TESTS 294 592 4403200 1700
50915721 SoSooding C March 7, 2019, 6:12 a.m. OK PyPy 2 TESTS 294 607 4505600 1700
51269973 shehebe C March 13, 2019, 5:31 p.m. OK PyPy 2 TESTS 294 608 151449600 1700
52559666 Mukundan314 C April 10, 2019, 9:38 a.m. OK PyPy 2 TESTS 294 623 2457600 1700
51841159 Leendertz C March 25, 2019, 9:57 p.m. OK PyPy 3 TESTS 294 280 1331200 1700
51679846 huyp C March 22, 2019, 12:11 p.m. OK PyPy 3 TESTS 294 436 2560000 1700
51679790 Hideonbush-.- C March 22, 2019, 12:09 p.m. OK PyPy 3 TESTS 294 436 2560000 1700
50873260 c1729 C March 6, 2019, 4:03 a.m. OK PyPy 3 TESTS 294 452 2457600 1700
51417296 nexus.chebykin C March 17, 2019, 2:41 p.m. OK PyPy 3 TESTS 294 482 7782400 1700
50870950 Coki628 C March 6, 2019, 1:32 a.m. OK PyPy 3 TESTS 294 530 9216000 1700
50887785 ytz123 C March 6, 2019, 12:01 p.m. OK PyPy 3 TESTS 294 530 113254400 1700
52457497 vladl2802 C April 7, 2019, 12:18 p.m. OK PyPy 3 TESTS 294 546 7987200 1700
50862938 D_J_Z C March 5, 2019, 6:54 p.m. OK PyPy 3 TESTS 294 576 7168000 1700
51469728 yellowflash C March 19, 2019, 5:34 a.m. OK PyPy 3 TESTS 294 592 8601600 1700
50863411 macho_uno C March 5, 2019, 7:08 p.m. OK Rust TESTS 294 155 204800 1700
50851916 yakamoto C March 5, 2019, 4:52 p.m. OK Scala TESTS 294 1325 0 1700

remove filters

Back to search problems