Educational Codeforces Round 62 (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
1140 Educational Codeforces Round 62 (Rated for Div. 2) FINISHED False 7200 184172087 March 22, 2019, 3:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 9701 ) C Playlist PROGRAMMING brute force data structures sortings 1600

B'You have a playlist consisting of n songs. The i -th song is characterized by two numbers t_i and b_i -- its length and beauty respectively. The pleasure of listening to set of songs is equal to the total length of the songs in the set multiplied by the minimum beauty among them. For example, the pleasure of listening to a set of 3 songs having lengths [5, 7, 4] and beauty values [11, 14, 6] is equal to (5 + 7 + 4) cdot 6 = 96 . You need to choose at most k songs from your playlist, so the pleasure of listening to the set of these songs them is maximum possible. The first line contains two integers n and k ( 1 <= k <= n <= 3 cdot 10^5 ) xe2 x80 x93 the number of songs in the playlist and the maximum number of songs you can choose, respectively. Each of the next n lines contains two integers t_i and b_i ( 1 <= t_i, b_i <= 10^6 ) -- the length and beauty of i -th song. Print one integer -- the maximum pleasure you can get. In the first test case we can choose songs {1, 3, 4} , so the total pleasure is (4 + 3 + 6) cdot 6 = 78 . In the second test case we can choose song 3 . The total pleasure will be equal to 100 cdot 100 = 10000 . '...

Tutorials

Educational Codeforces Round 62 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
51823394 cedretaber C March 25, 2019, 1:03 p.m. OK D TESTS 18 733 26419200 1600
52632377 chaorenhaha C April 12, 2019, 7:53 a.m. OK FPC TESTS 18 171 4812800 1600
52632261 chaorenhaha C April 12, 2019, 7:49 a.m. OK FPC TESTS 18 187 14438400 1600
52017459 Oompaloompa C March 30, 2019, 11:13 a.m. OK FPC TESTS 18 280 9625600 1600
61316312 Romul C Sept. 26, 2019, 11:12 a.m. OK GNU C11 TESTS 18 139 13619200 1600
51889072 sansen C March 27, 2019, 8:09 a.m. OK GNU C11 TESTS 18 187 6144000 1600
53385343 Frame233 C April 27, 2019, 3:06 a.m. OK GNU C++11 TESTS 18 62 5427200 1600
63216963 luogu_bot5 C Oct. 23, 2019, 6:27 a.m. OK GNU C++11 TESTS 18 62 5427200 1600
63218249 LuciferX07 C Oct. 23, 2019, 7:02 a.m. OK GNU C++11 TESTS 18 62 5427200 1600
51794236 whymhe C March 24, 2019, 2:17 p.m. OK GNU C++11 TESTS 18 62 5529600 1600
52160141 disangan233 C April 1, 2019, 2:54 p.m. OK GNU C++11 TESTS 18 62 5529600 1600
51794259 sunyx C March 24, 2019, 2:17 p.m. OK GNU C++11 TESTS 18 62 5529600 1600
52151842 wibE HNYLMS_Tea cloud9 C April 1, 2019, 11:55 a.m. OK GNU C++11 TESTS 18 62 5836800 1600
62849827 Kylin_ C Oct. 18, 2019, 6:52 a.m. OK GNU C++11 TESTS 18 62 11059200 1600
51804291 Qingyu C March 24, 2019, 8:13 p.m. OK GNU C++11 TESTS 18 62 15360000 1600
63216832 LuciferX07 C Oct. 23, 2019, 6:24 a.m. OK GNU C++11 TESTS 18 77 5427200 1600
52528260 bbssgg11 C April 9, 2019, 12:25 p.m. OK GNU C++14 TESTS 18 124 5632000 1600
51713810 generalYS C March 22, 2019, 4:37 p.m. OK GNU C++14 TESTS 18 139 7987200 1600
53211336 ae04071 C April 24, 2019, 5:42 a.m. OK GNU C++14 TESTS 18 140 5632000 1600
51748142 hope_it_ac C March 23, 2019, 8:27 a.m. OK GNU C++14 TESTS 18 140 5632000 1600
51811724 SayGB C March 25, 2019, 6:19 a.m. OK GNU C++14 TESTS 18 155 5632000 1600
51776842 thebes C March 23, 2019, 10:54 p.m. OK GNU C++14 TESTS 18 155 5632000 1600
51713695 quoccuonglqd C March 22, 2019, 4:36 p.m. OK GNU C++14 TESTS 18 155 5632000 1600
52027839 ytriayggg C March 30, 2019, 3:54 p.m. OK GNU C++14 TESTS 18 155 5632000 1600
51867648 HideoSatou C March 26, 2019, 3:55 p.m. OK GNU C++14 TESTS 18 155 5632000 1600
68321134 luoZH111 C Jan. 6, 2020, 3 p.m. OK GNU C++14 TESTS 18 156 5632000 1600
52680262 .tx C April 13, 2019, noon OK GNU C++17 TESTS 18 77 5632000 1600
51735679 2683331518 C March 23, 2019, 2:09 a.m. OK GNU C++17 TESTS 18 77 5734400 1600
51722239 hogeover30 C March 22, 2019, 5:36 p.m. OK GNU C++17 TESTS 18 109 5632000 1600
51737853 Lucina C March 23, 2019, 3:59 a.m. OK GNU C++17 TESTS 18 140 5632000 1600
51850852 XpqX C March 26, 2019, 7:51 a.m. OK GNU C++17 TESTS 18 155 5632000 1600
51843655 Zookkk C March 26, 2019, 1:50 a.m. OK GNU C++17 TESTS 18 155 5632000 1600
51765534 fffeyn C March 23, 2019, 3:38 p.m. OK GNU C++17 TESTS 18 155 5632000 1600
51934630 cat_of_orange C March 28, 2019, 11:59 a.m. OK GNU C++17 TESTS 18 155 6758400 1600
51735889 AFreeMan C March 23, 2019, 2:22 a.m. OK GNU C++17 TESTS 18 155 7168000 1600
52223123 SingleZombie C April 2, 2019, 7:47 a.m. OK GNU C++17 TESTS 18 155 7987200 1600
61833578 synapse C Oct. 4, 2019, 7:17 a.m. OK Go TESTS 18 514 5324800 1600
61834520 synapse C Oct. 4, 2019, 7:35 a.m. OK Go TESTS 18 514 5324800 1600
51812330 amolpratap007 C March 25, 2019, 6:49 a.m. OK Java 8 TESTS 18 264 2764800 1600
51980663 ShowStopper728 C March 29, 2019, 4:10 p.m. OK Java 8 TESTS 18 327 2355200 1600
54879837 cribabby C May 31, 2019, 1:41 p.m. OK Java 8 TESTS 18 327 10240000 1600
52018006 pikapika00 C March 30, 2019, 11:25 a.m. OK Java 8 TESTS 18 327 11571200 1600
51746569 abhi2601 C March 23, 2019, 7:52 a.m. OK Java 8 TESTS 18 327 25907200 1600
51727431 ajaytank C March 22, 2019, 7:33 p.m. OK Java 8 TESTS 18 343 3993600 1600
51939980 NAbdulla C March 28, 2019, 2:03 p.m. OK Java 8 TESTS 18 358 17510400 1600
51939929 NAbdulla C March 28, 2019, 2:02 p.m. OK Java 8 TESTS 18 358 17612800 1600
51848832 sooraj10 C March 26, 2019, 6:40 a.m. OK Java 8 TESTS 18 373 15462400 1600
51939270 NAbdulla C March 28, 2019, 1:48 p.m. OK Java 8 TESTS 18 373 17612800 1600
61100616 Spheniscine C Sept. 23, 2019, 6:32 a.m. OK Kotlin TESTS 18 607 5529600 1600
52722172 vadimmm C April 13, 2019, 8:33 p.m. OK Kotlin TESTS 18 779 14643200 1600
55989748 og.kostya C June 24, 2019, 6:54 a.m. OK Mono C# TESTS 18 140 6553600 1600
53268564 QuantumKnight C April 25, 2019, 4:15 a.m. OK Mono C# TESTS 18 327 9728000 1600
51717701 sergmel C March 22, 2019, 4:56 p.m. OK Mono C# TESTS 18 499 29900800 1600
51733422 ykurmangaliyev C March 22, 2019, 11:23 p.m. OK Mono C# TESTS 18 577 21708800 1600
52018305 Mosyagin C March 30, 2019, 11:32 a.m. OK Mono C# TESTS 18 624 19046400 1600
51752264 amit1509kumar C March 23, 2019, 10:01 a.m. OK Mono C# TESTS 18 873 31744000 1600
53488224 GreenPiece C April 29, 2019, 6:23 a.m. OK Mono C# TESTS 18 951 45875200 1600
51726702 omikad C March 22, 2019, 7:15 p.m. OK Mono C# TESTS 18 998 35430400 1600
51746476 LangZijian C March 23, 2019, 7:50 a.m. OK MS C++ TESTS 18 124 4505600 1600
51742440 LangZijian C March 23, 2019, 6:21 a.m. OK MS C++ TESTS 18 124 4505600 1600
53939781 vjudge4 C May 10, 2019, 1:52 a.m. OK MS C++ TESTS 18 124 7065600 1600
62559116 vjudge5 C Oct. 14, 2019, 11:29 a.m. OK MS C++ TESTS 18 139 4505600 1600
64569297 TianPingXing C Nov. 9, 2019, 8:38 a.m. OK MS C++ TESTS 18 139 4505600 1600
52454361 vjudge1 C April 7, 2019, 11:07 a.m. OK MS C++ TESTS 18 139 5734400 1600
68893154 vjudge1 C Jan. 16, 2020, 3:15 a.m. OK MS C++ TESTS 18 140 4505600 1600
53470358 scorpiowf C April 28, 2019, 12:26 p.m. OK MS C++ TESTS 18 140 4505600 1600
52274249 vjudge3 C April 3, 2019, 2:11 p.m. OK MS C++ TESTS 18 140 4505600 1600
52095158 MYSNKS C March 31, 2019, 2:34 p.m. OK MS C++ TESTS 18 140 4505600 1600
51718368 querry C March 22, 2019, 4:59 p.m. OK MS C++ 2017 TESTS 18 187 4812800 1600
53096758 R99 C April 21, 2019, 1:57 p.m. OK MS C++ 2017 TESTS 18 202 4812800 1600
51811244 Bencq C March 25, 2019, 5:51 a.m. OK MS C++ 2017 TESTS 18 202 7065600 1600
51765804 risa243 C March 23, 2019, 3:46 p.m. OK MS C++ 2017 TESTS 18 218 7372800 1600
51713826 zzq233 C March 22, 2019, 4:37 p.m. OK MS C++ 2017 TESTS 18 218 13516800 1600
68892032 csu-caiji C Jan. 16, 2020, 2:46 a.m. OK MS C++ 2017 TESTS 18 233 9420800 1600
68892067 vjudge1 C Jan. 16, 2020, 2:47 a.m. OK MS C++ 2017 TESTS 18 233 9420800 1600
53902525 yp0413170331 C May 9, 2019, 11:06 a.m. OK MS C++ 2017 TESTS 18 233 13516800 1600
51716498 hwangganzi C March 22, 2019, 4:50 p.m. OK MS C++ 2017 TESTS 18 234 13824000 1600
51828782 P___ C March 25, 2019, 3:11 p.m. OK MS C++ 2017 TESTS 18 280 12083200 1600
51732583 old_boo C March 22, 2019, 10:29 p.m. OK PHP TESTS 18 780 108748800 1600
52311258 Mukundan314 C April 4, 2019, 2:44 p.m. OK PyPy 2 TESTS 18 1060 32972800 1600
51719212 c1729 C March 22, 2019, 5:03 p.m. OK PyPy 2 TESTS 18 1216 26726400 1600
51731303 c1729 C March 22, 2019, 9:25 p.m. OK PyPy 2 TESTS 18 1232 26726400 1600
51730473 c1729 C March 22, 2019, 8:54 p.m. OK PyPy 2 TESTS 18 1247 26726400 1600
51716625 c1729 C March 22, 2019, 4:51 p.m. OK PyPy 2 TESTS 18 1263 26726400 1600
51911609 raj1307 C March 27, 2019, 6:29 p.m. OK PyPy 2 TESTS 18 1325 37273600 1600
51713492 kabeer27 C March 22, 2019, 4:35 p.m. OK PyPy 2 TESTS 18 1481 59187200 1600
51837566 Helli.code C March 25, 2019, 7:12 p.m. OK PyPy 2 TESTS 18 1809 35840000 1600
51717134 supachai_pay C March 22, 2019, 4:53 p.m. OK PyPy 2 TESTS 18 1903 35840000 1600
51730439 MotaSanyal C March 22, 2019, 8:53 p.m. OK PyPy 3 TESTS 18 858 46182400 1600
51819790 bkalra92 C March 25, 2019, 11:27 a.m. OK PyPy 3 TESTS 18 1091 31744000 1600
51946047 schiebermc C March 28, 2019, 4:59 p.m. OK PyPy 3 TESTS 18 1184 40038400 1600
52479213 pineriver C April 8, 2019, 3:30 a.m. OK PyPy 3 TESTS 18 1184 40652800 1600
51730489 c1729 C March 22, 2019, 8:55 p.m. OK PyPy 3 TESTS 18 1185 28876800 1600
51722806 Kiri8128 C March 22, 2019, 5:47 p.m. OK PyPy 3 TESTS 18 1200 42700800 1600
51719371 c1729 C March 22, 2019, 5:03 p.m. OK PyPy 3 TESTS 18 1216 28774400 1600
51731284 c1729 C March 22, 2019, 9:24 p.m. OK PyPy 3 TESTS 18 1247 28979200 1600
51825449 horrlod C March 25, 2019, 1:48 p.m. OK PyPy 3 TESTS 18 1294 46284800 1600
52047113 Leendertz C March 30, 2019, 6:23 p.m. OK PyPy 3 TESTS 18 1434 40857600 1600
51713766 Uranux C March 22, 2019, 4:36 p.m. OK Python 2 TESTS 18 1777 31027200 1600
51865004 l.j.zakharov C March 26, 2019, 2:45 p.m. OK Python 3 TESTS 18 1247 27443200 1600
51738073 KanhuKeNanu C March 23, 2019, 4:08 a.m. OK Python 3 TESTS 18 1279 36147200 1600
51770356 III_Wolverine_III C March 23, 2019, 6:03 p.m. OK Python 3 TESTS 18 1341 26931200 1600
51726119 rahdpp C March 22, 2019, 7 p.m. OK Python 3 TESTS 18 1372 31334400 1600
52047210 Leendertz C March 30, 2019, 6:24 p.m. OK Python 3 TESTS 18 1372 31436800 1600
51966236 sdhd C March 29, 2019, 10:06 a.m. OK Python 3 TESTS 18 1387 31129600 1600
51724911 jason53415 C March 22, 2019, 6:31 p.m. OK Python 3 TESTS 18 1388 26521600 1600
51730672 advq C March 22, 2019, 9:02 p.m. OK Python 3 TESTS 18 1403 31129600 1600
53839851 gaidash C May 7, 2019, 6:42 a.m. OK Python 3 TESTS 18 1418 27750400 1600
52809896 365050244 C April 16, 2019, 7:54 a.m. OK Python 3 TESTS 18 1419 27852800 1600
52288973 alykov C April 3, 2019, 10:37 p.m. OK Rust TESTS 18 233 11980800 1600
51750396 vain0 C March 23, 2019, 9:19 a.m. OK Rust TESTS 18 561 40755200 1600

remove filters

Back to search problems