Contest 2050 and Codeforces Round 718 (Div. 1 + 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
1517 Contest 2050 and Codeforces Round 718 (Div. 1 + Div. 2) FINISHED False 9900 112634699 April 23, 2021, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 13281 ) B Morning Jogging PROGRAMMING constructive algorithms greedy sortings

B'The 2050 volunteers are organizing the "Run! Chase the Rising Sun" activity. Starting on Apr 25 at 7:30 am, runners will complete the 6km trail around the Yunqi town. There are n+1 checkpoints on the trail. They are numbered by 0 , 1 , ..., n . A runner must start at checkpoint 0 and finish at checkpoint n . No checkpoint is skippable -- he must run from checkpoint 0 to checkpoint 1 , then from checkpoint 1 to checkpoint 2 and so on. Look at the picture in notes section for clarification. Between any two adjacent checkpoints, there are m different paths to choose. For any 1 <= i <= n , to run from checkpoint i-1 to checkpoint i , a runner can choose exactly one from the m possible paths. The length of the j -th path between checkpoint i-1 and i is b_{i,j} for any 1 <= j <= m and 1 <= i <= n . To test the trail, we have m runners. Each runner must run from the checkpoint 0 to the checkpoint n once, visiting all the checkpoints. Every path between every pair of adjacent checkpoints needs to be ran by exactly one runner. If a runner chooses the path of length l_i between checkpoint i-1 and i ( 1 <= i <= n ), his tiredness is min_{i=1}^n l_i, i. e. the minimum length of the paths he takes. Please arrange the paths of the m runners to minimize the sum of tiredness of them. Each test contains multiple test cases. The first line contains the number of test cases t ( 1 <= t <= 10 ,000 ). Description of the test cases follows. The first line of each test case contains two integers n and m ( 1 <= q n,m <= q 100 ). The i -th of the next n lines contains m integers b_{i,1} , b_{i,2} , ..., b_{i,m} ( 1 <= b_{i,j} <= 10^9 ). It is guaranteed that the sum of n cdot m over all test cases does not exceed 10^4 . For each '...

Tutorials

Contest 2050 and Codeforces Round #718 (Div.1 + Div.2) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
114045706 eastnman B April 23, 2021, 6:02 p.m. OK Delphi TESTS 14 31 614400
114038096 1435730 B April 23, 2021, 5:01 p.m. OK GNU C11 TESTS 14 61 307200
114072479 hnust_leiyong B April 24, 2021, 4:31 a.m. OK GNU C11 TESTS 14 93 102400
114031149 hunst_huangyuhui B April 23, 2021, 4:31 p.m. OK GNU C11 TESTS 14 93 102400
114064481 Mr_Eight B April 24, 2021, 1:01 a.m. OK GNU C++11 TESTS 14 15 204800
114069992 smasher_OI B April 24, 2021, 3:41 a.m. OK GNU C++11 TESTS 14 15 204800
114066326 zhangxiao B April 24, 2021, 2:05 a.m. OK GNU C++11 TESTS 14 15 307200
114060301 Emm_Titan B April 23, 2021, 10:17 p.m. OK GNU C++11 TESTS 14 15 307200
114064325 sky123 B April 24, 2021, 12:54 a.m. OK GNU C++11 TESTS 14 30 102400
114071274 HALoop B April 24, 2021, 4:08 a.m. OK GNU C++11 TESTS 14 30 102400
114030168 rseantaud B April 23, 2021, 4:27 p.m. OK GNU C++11 TESTS 14 30 204800
114065007 AsilenceBTF B April 24, 2021, 1:22 a.m. OK GNU C++11 TESTS 14 30 307200
114065737 dottle Capitalist_Wang Lappland_Texas B April 24, 2021, 1:47 a.m. OK GNU C++11 TESTS 14 31 0
114067623 2005lz B April 24, 2021, 2:42 a.m. OK GNU C++11 TESTS 14 31 0
114037806 2019309 B April 23, 2021, 4:59 p.m. OK GNU C++14 TESTS 14 15 4403200
114032058 Spaggetti B April 23, 2021, 4:34 p.m. OK GNU C++14 TESTS 14 30 102400
114076532 sins_johnny B April 24, 2021, 5:39 a.m. OK GNU C++14 TESTS 14 30 204800
114035324 kpps17 B April 23, 2021, 4:48 p.m. OK GNU C++14 TESTS 14 30 204800
114043892 yajusharma12 B April 23, 2021, 5:46 p.m. OK GNU C++14 TESTS 14 30 409600
114049026 arpit.mittal B April 23, 2021, 6:45 p.m. OK GNU C++14 TESTS 14 30 409600
114064695 Kdimo B April 24, 2021, 1:10 a.m. OK GNU C++14 TESTS 14 30 409600
114053788 dip_10 B April 23, 2021, 8:04 p.m. OK GNU C++14 TESTS 14 30 512000
114033006 rust B April 23, 2021, 4:38 p.m. OK GNU C++14 TESTS 14 30 512000
114078026 CopyNinja23 B April 24, 2021, 6:01 a.m. OK GNU C++14 TESTS 14 30 614400
114073088 absolute_looser B April 24, 2021, 4:43 a.m. OK GNU C++17 TESTS 14 15 204800
114038190 FrozenLeaf B April 23, 2021, 5:01 p.m. OK GNU C++17 TESTS 14 15 204800
114069483 summu_14 B April 24, 2021, 3:30 a.m. OK GNU C++17 TESTS 14 15 409600
114049766 abcd_100 B April 23, 2021, 6:57 p.m. OK GNU C++17 TESTS 14 15 512000
114064988 milutin_ B April 24, 2021, 1:21 a.m. OK GNU C++17 TESTS 14 15 512000
114042453 gauravkumarjha442 B April 23, 2021, 5:19 p.m. OK GNU C++17 TESTS 14 15 614400
114063975 izzat_chahiye_mujhe B April 24, 2021, 12:39 a.m. OK GNU C++17 TESTS 14 15 921600
114063985 beastslayer123 B April 24, 2021, 12:40 a.m. OK GNU C++17 TESTS 14 15 921600
114045600 Satvik.Sinha B April 23, 2021, 6:01 p.m. OK GNU C++17 TESTS 14 15 8089600
114072578 p6pou B April 24, 2021, 4:33 a.m. OK GNU C++17 TESTS 14 30 102400
114064328 smax B April 24, 2021, 12:55 a.m. OK GNU C++17 (64) TESTS 14 15 102400
114070850 pztan B April 24, 2021, 3:59 a.m. OK GNU C++17 (64) TESTS 14 15 102400
114037120 __TLE__ B April 23, 2021, 4:57 p.m. OK GNU C++17 (64) TESTS 14 15 204800
114037145 prabhav_ B April 23, 2021, 4:57 p.m. OK GNU C++17 (64) TESTS 14 15 204800
114030108 RCG B April 23, 2021, 4:27 p.m. OK GNU C++17 (64) TESTS 14 15 409600
114074117 Htmt B April 24, 2021, 5:01 a.m. OK GNU C++17 (64) TESTS 14 15 512000
114063612 KlausReloaded B April 24, 2021, 12:24 a.m. OK GNU C++17 (64) TESTS 14 15 614400
114049341 ScarletS B April 23, 2021, 6:50 p.m. OK GNU C++17 (64) TESTS 14 30 0
114066287 feelin_dejavu B April 24, 2021, 2:04 a.m. OK GNU C++17 (64) TESTS 14 30 102400
114051001 kevin B April 23, 2021, 7:17 p.m. OK GNU C++17 (64) TESTS 14 30 102400
114057555 coder0687 B April 23, 2021, 9:09 p.m. OK Java 11 TESTS 14 187 0
114061421 bittubittu B April 23, 2021, 10:55 p.m. OK Java 11 TESTS 14 202 0
114057420 arjunbhatt670 B April 23, 2021, 9:06 p.m. OK Java 11 TESTS 14 202 0
114078023 Andwerp B April 24, 2021, 6:01 a.m. OK Java 11 TESTS 14 202 0
114045063 _merlin_ B April 23, 2021, 5:56 p.m. OK Java 11 TESTS 14 217 0
114058831 kareem3id B April 23, 2021, 9:38 p.m. OK Java 11 TESTS 14 217 0
114046870 godfather9 B April 23, 2021, 6:13 p.m. OK Java 11 TESTS 14 217 0
114033941 aquarius_gaurav B April 23, 2021, 4:42 p.m. OK Java 11 TESTS 14 217 0
114077205 pravin_as B April 24, 2021, 5:49 a.m. OK Java 11 TESTS 14 218 0
114070056 nitesh.dtu B April 24, 2021, 3:43 a.m. OK Java 11 TESTS 14 218 0
114069883 Halix B April 24, 2021, 3:39 a.m. OK Java 8 TESTS 14 108 0
114034355 twoBit B April 23, 2021, 4:44 p.m. OK Java 8 TESTS 14 140 0
114045733 crazydeveloper B April 23, 2021, 6:02 p.m. OK Java 8 TESTS 14 171 0
114044978 Akash_kunwar B April 23, 2021, 5:55 p.m. OK Java 8 TESTS 14 187 0
114069294 deathcoder07 B April 24, 2021, 3:26 a.m. OK Java 8 TESTS 14 233 0
114045767 bodmas B April 23, 2021, 6:02 p.m. OK Java 8 TESTS 14 233 0
114045021 VishuTomar B April 23, 2021, 5:56 p.m. OK Java 8 TESTS 14 249 0
114045935 devil_the_coder B April 23, 2021, 6:04 p.m. OK Java 8 TESTS 14 249 0
114071793 naveenkant227 B April 24, 2021, 4:18 a.m. OK Java 8 TESTS 14 265 0
114029867 pks24 B April 23, 2021, 4:26 p.m. OK Java 8 TESTS 14 295 0
114051358 sylvyrfysh B April 23, 2021, 7:23 p.m. OK Kotlin TESTS 14 171 1843200
114069770 pallav12 B April 24, 2021, 3:37 a.m. OK Kotlin TESTS 14 264 2048000
114030696 Bloodwyn B April 23, 2021, 4:29 p.m. OK Kotlin TESTS 14 265 204800
114045085 fr0st B April 23, 2021, 5:56 p.m. OK Mono C# TESTS 14 109 5120000
114033685 neveredge B April 23, 2021, 4:41 p.m. OK MS C++ TESTS 14 61 921600
114036251 aleksikangas B April 23, 2021, 4:53 p.m. OK MS C++ 2017 TESTS 14 31 102400
114032019 Septemberstar B April 23, 2021, 4:34 p.m. OK MS C++ 2017 TESTS 14 46 102400
114051106 Shady49 B April 23, 2021, 7:19 p.m. OK MS C++ 2017 TESTS 14 46 614400
114050792 Ke1 B April 23, 2021, 7:13 p.m. OK MS C++ 2017 TESTS 14 46 614400
114029521 yapril B April 23, 2021, 4:24 p.m. OK MS C++ 2017 TESTS 14 61 102400
114034517 ACHunter1 B April 23, 2021, 4:45 p.m. OK MS C++ 2017 TESTS 14 61 2560000
114036968 zkxshg B April 23, 2021, 4:56 p.m. OK MS C++ 2017 TESTS 14 62 102400
114036543 grigorian.stepan B April 23, 2021, 4:54 p.m. OK MS C++ 2017 TESTS 14 62 102400
114065605 Harshita_0304 B April 24, 2021, 1:43 a.m. OK MS C++ 2017 TESTS 14 78 409600
114067619 sakapon B April 24, 2021, 2:42 a.m. OK .NET Core C# TESTS 14 109 3788800
114030743 tennisru B April 23, 2021, 4:29 p.m. OK Node.js TESTS 14 295 6963200
114033554 imalaniuk B April 23, 2021, 4:41 p.m. OK Node.js TESTS 14 296 6758400
114052975 lebron87 B April 23, 2021, 7:50 p.m. OK PyPy 2 TESTS 14 327 11673600
114059295 _vermouth_ B April 23, 2021, 9:49 p.m. OK PyPy 3 TESTS 14 170 5939200
114040654 InvalidSyntax B April 23, 2021, 5:12 p.m. OK PyPy 3 TESTS 14 171 6656000
114035950 javierbyte B April 23, 2021, 4:51 p.m. OK PyPy 3 TESTS 14 186 3891200
114029594 nitish420 B April 23, 2021, 4:25 p.m. OK PyPy 3 TESTS 14 187 6246400
114051728 yashraju B April 23, 2021, 7:29 p.m. OK PyPy 3 TESTS 14 202 5734400
114047641 _aadiupadhyay_ B April 23, 2021, 6:25 p.m. OK PyPy 3 TESTS 14 202 6144000
114029334 ashish_sasmal B April 23, 2021, 4:24 p.m. OK PyPy 3 TESTS 14 202 6144000
114070489 colicon B April 24, 2021, 3:52 a.m. OK PyPy 3 TESTS 14 202 6246400
114070860 codicon B April 24, 2021, 4 a.m. OK PyPy 3 TESTS 14 202 6246400
114054037 shreykera7 B April 23, 2021, 8:08 p.m. OK PyPy 3 TESTS 14 202 6348800
114073205 h8191 B April 24, 2021, 4:45 a.m. OK Python 3 TESTS 14 139 102400
114051160 eugalt B April 23, 2021, 7:20 p.m. OK Python 3 TESTS 14 140 921600
114075109 RUiNtheExtinct B April 24, 2021, 5:17 a.m. OK Python 3 TESTS 14 140 1638400
114058976 eugalt B April 23, 2021, 9:41 p.m. OK Python 3 TESTS 14 155 716800
114038716 shmits B April 23, 2021, 5:03 p.m. OK Python 3 TESTS 14 171 409600
114075601 Harry_kp B April 24, 2021, 5:25 a.m. OK Python 3 TESTS 14 171 921600
114048701 eugalt B April 23, 2021, 6:41 p.m. OK Python 3 TESTS 14 171 921600
114049385 eugalt B April 23, 2021, 6:51 p.m. OK Python 3 TESTS 14 186 921600
114045987 kevin32 B April 23, 2021, 6:04 p.m. OK Python 3 TESTS 14 186 921600
114038014 capi2list B April 23, 2021, 5 p.m. OK Python 3 TESTS 14 186 921600

remove filters

Back to search problems