Ozon Tech Challenge 2020 (Div.1 + Div.2, Rated, T-shirts + prizes!)

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
1305 Ozon Tech Challenge 2020 (Div.1 + Div.2, Rated, T-shirts + prizes!) FINISHED False 8100 154106711 March 3, 2020, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 3153 ) E Kuroni and the Score Distribution PROGRAMMING constructive algorithms greedy implementation math 2100

B'Kuroni is the coordinator of the next Mathforces round written by the "Proof by AC" team. All the preparation has been done, and he is discussing with the team about the score distribution for the round. The round consists of n problems, numbered from 1 to n . The problems are ordered in increasing order of difficulty, no two problems have the same difficulty. A score distribution for the round can be denoted by an array a_1, a_2, ... , a_n , where a_i is the score of i -th problem. Kuroni thinks that the score distribution should satisfy the following requirements: Help the team find a score distribution that satisfies Kuroni 's requirement. In case such a score distribution does not exist, output -1 . The first and single line contains two integers n and m ( 1 <= n <= 5000 , 0 <= q m <= q 10^9 ) -- the number of problems and the required balance. If there is no solution, print a single integer -1 . Otherwise, print a line containing n integers a_1, a_2, ... , a_n , representing a score distribution that satisfies all the requirements. If there are multiple answers, print any of them. In the first example, there are 3 triples (i, j, k) that contribute to the balance of the score distribution. '...

Tutorials

Ozon Tech Challenge 2020 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
72543696 quevangel E March 5, 2020, 11:36 p.m. OK D TESTS 68 31 4198400 2100
72538920 quevangel E March 5, 2020, 8:37 p.m. OK D TESTS 68 46 4198400 2100
72339363 hos.lyric E March 3, 2020, 3:50 p.m. OK D TESTS 66 218 4198400 2100
72351151 rainboy E March 3, 2020, 4:32 p.m. OK GNU C11 TESTS 66 46 0 2100
72525094 SUNNY24 E March 5, 2020, 4:09 p.m. OK GNU C11 TESTS 68 46 0 2100
72514115 SUNNY24 E March 5, 2020, 1:18 p.m. OK GNU C11 TESTS 68 46 0 2100
72523042 SUNNY24 E March 5, 2020, 3:35 p.m. OK GNU C11 TESTS 68 46 0 2100
72336094 physics0523 E March 3, 2020, 3:39 p.m. OK GNU C11 TESTS 66 46 2048000 2100
72360995 physics0523 E March 3, 2020, 6:16 p.m. OK GNU C11 TESTS 66 61 2048000 2100
72564086 vjudge1 E March 6, 2020, 9:50 a.m. OK GNU C++11 TESTS 68 31 0 2100
72564085 vjudge4 E March 6, 2020, 9:50 a.m. OK GNU C++11 TESTS 68 31 0 2100
72562992 Binary_Search_Tree E March 6, 2020, 9:28 a.m. OK GNU C++11 TESTS 68 31 0 2100
72560808 vjudge4 E March 6, 2020, 8:41 a.m. OK GNU C++11 TESTS 68 31 0 2100
72564088 vjudge3 E March 6, 2020, 9:50 a.m. OK GNU C++11 TESTS 68 31 0 2100
72567965 xukuan E March 6, 2020, 11:10 a.m. OK GNU C++11 TESTS 68 31 0 2100
72571029 ACtowards E March 6, 2020, 12:05 p.m. OK GNU C++11 TESTS 68 31 0 2100
72580062 Vijaykrishna E March 6, 2020, 2:24 p.m. OK GNU C++11 TESTS 68 31 0 2100
72608624 dantoh E March 7, 2020, 12:49 a.m. OK GNU C++11 TESTS 68 31 0 2100
72580692 Tired_ E March 6, 2020, 2:34 p.m. OK GNU C++11 TESTS 68 31 0 2100
72493413 BelowLuminous E March 5, 2020, 7:33 a.m. OK GNU C++14 TESTS 68 30 0 2100
72480702 csu8208181030 E March 5, 2020, 1:46 a.m. OK GNU C++14 TESTS 68 30 0 2100
72400464 heavyshower E March 4, 2020, 9:07 a.m. OK GNU C++14 TESTS 68 30 3993600 2100
72346435 edsa E March 3, 2020, 4:15 p.m. OK GNU C++14 TESTS 66 30 3993600 2100
72544034 wanqiaoNO2 E March 5, 2020, 11:54 p.m. OK GNU C++14 TESTS 68 31 0 2100
72525030 HIR180 E March 5, 2020, 4:08 p.m. OK GNU C++14 TESTS 68 31 0 2100
72525225 HipHop E March 5, 2020, 4:11 p.m. OK GNU C++14 TESTS 68 31 0 2100
72513591 MorningZC E March 5, 2020, 1:11 p.m. OK GNU C++14 TESTS 68 31 0 2100
72507928 Danzev E March 5, 2020, 11:49 a.m. OK GNU C++14 TESTS 68 31 0 2100
72506579 lgio E March 5, 2020, 11:26 a.m. OK GNU C++14 TESTS 68 31 0 2100
72542789 haengsyo E March 5, 2020, 10:48 p.m. OK GNU C++17 TESTS 68 30 0 2100
72370530 maxan E March 3, 2020, 8:28 p.m. OK GNU C++17 TESTS 67 30 0 2100
72345573 Goorkiewicz E March 3, 2020, 4:12 p.m. OK GNU C++17 TESTS 66 30 0 2100
72331659 alex9801 E March 3, 2020, 3:25 p.m. OK GNU C++17 TESTS 66 30 0 2100
72343129 RUSH_D_CAT E March 3, 2020, 4:03 p.m. OK GNU C++17 TESTS 66 30 102400 2100
72370035 dhirajfx3 E March 3, 2020, 8:18 p.m. OK GNU C++17 TESTS 67 30 102400 2100
72384089 zialy E March 4, 2020, 3:03 a.m. OK GNU C++17 TESTS 67 30 102400 2100
72421748 scew_ru E March 4, 2020, 2:35 p.m. OK GNU C++17 TESTS 68 30 102400 2100
72355323 Unsainted E March 3, 2020, 4:44 p.m. OK GNU C++17 TESTS 66 30 204800 2100
72387092 kshitij_sodani E March 4, 2020, 4:32 a.m. OK GNU C++17 TESTS 68 30 204800 2100
72364804 Jughead E March 3, 2020, 6:51 p.m. OK Go TESTS 66 31 0 2100
72362971 synapse E March 3, 2020, 6:30 p.m. OK Go TESTS 66 46 0 2100
72410741 Hemose E March 4, 2020, 12:02 p.m. OK Java 11 TESTS 68 202 0 2100
72383888 rs9 E March 4, 2020, 2:56 a.m. OK Java 11 TESTS 67 202 0 2100
72372167 rreeennnnn E March 3, 2020, 9:06 p.m. OK Java 11 TESTS 67 218 0 2100
72362280 hakr_2104 E March 3, 2020, 6:24 p.m. OK Java 11 TESTS 66 218 0 2100
72338177 eatmore E March 3, 2020, 3:46 p.m. OK Java 11 TESTS 66 218 0 2100
72363933 Suzukaze E March 3, 2020, 6:41 p.m. OK Java 11 TESTS 66 233 0 2100
72354624 mikit E March 3, 2020, 4:42 p.m. OK Java 11 TESTS 66 639 0 2100
72351677 uwi E March 3, 2020, 4:34 p.m. OK Java 11 TESTS 66 873 0 2100
72569998 kusomushi E March 6, 2020, 11:48 a.m. OK Java 8 TESTS 68 109 0 2100
72385876 ijxjdjd E March 4, 2020, 3:55 a.m. OK Java 8 TESTS 68 109 0 2100
72560695 yaoct E March 6, 2020, 8:39 a.m. OK Java 8 TESTS 68 124 0 2100
72553520 bluesky111 E March 6, 2020, 5:50 a.m. OK Java 8 TESTS 68 124 0 2100
72510379 mufaddalnaya E March 5, 2020, 12:25 p.m. OK Java 8 TESTS 68 124 0 2100
72420605 AhmedZ E March 4, 2020, 2:19 p.m. OK Java 8 TESTS 68 124 0 2100
72388252 sguar E March 4, 2020, 5:05 a.m. OK Java 8 TESTS 68 124 0 2100
72372284 MagentaCobra E March 3, 2020, 9:09 p.m. OK Java 8 TESTS 67 124 0 2100
72364622 polyakoff E March 3, 2020, 6:49 p.m. OK Java 8 TESTS 66 124 0 2100
72356303 martins E March 3, 2020, 4:47 p.m. OK Java 8 TESTS 66 124 0 2100
72589074 yakamoto E March 6, 2020, 4:51 p.m. OK Kotlin TESTS 68 140 512000 2100
72372506 darnley E March 3, 2020, 9:15 p.m. OK Kotlin TESTS 67 155 204800 2100
72345366 Tlatoani E March 3, 2020, 4:11 p.m. OK Kotlin TESTS 66 156 0 2100
72329919 darnley E March 3, 2020, 3:19 p.m. OK Kotlin TESTS 66 171 102400 2100
72382026 strelas E March 4, 2020, 2:01 a.m. OK Kotlin TESTS 67 186 204800 2100
72382687 eSeF_ E March 4, 2020, 2:22 a.m. OK Mono C# TESTS 67 77 3993600 2100
72361002 Yupiteru E March 3, 2020, 6:16 p.m. OK Mono C# TESTS 66 78 138649600 2100
72377299 tarattata1 E March 3, 2020, 10:41 p.m. OK MS C++ TESTS 67 31 0 2100
72341698 pichulia E March 3, 2020, 3:58 p.m. OK MS C++ 2017 TESTS 66 31 0 2100
72364732 Gravekper E March 3, 2020, 6:50 p.m. OK MS C++ 2017 TESTS 66 31 307200 2100
72345592 serg3000 E March 3, 2020, 4:12 p.m. OK MS C++ 2017 TESTS 66 31 307200 2100
72372819 bunos E March 3, 2020, 9:24 p.m. OK MS C++ 2017 TESTS 67 31 307200 2100
72575506 2018qwer E March 6, 2020, 1:16 p.m. OK MS C++ 2017 TESTS 68 31 307200 2100
72355180 qwe123rt45 E March 3, 2020, 4:44 p.m. OK MS C++ 2017 TESTS 66 46 0 2100
72366132 CrashMaster E March 3, 2020, 7:10 p.m. OK MS C++ 2017 TESTS 66 46 307200 2100
72340690 Alexandr_TS E March 3, 2020, 3:55 p.m. OK MS C++ 2017 TESTS 66 46 307200 2100
72342713 new_acc_ E March 3, 2020, 4:02 p.m. OK MS C++ 2017 TESTS 66 77 200704000 2100
72552634 satyamcse E March 6, 2020, 5:27 a.m. OK PyPy 2 TESTS 68 140 921600 2100
72551520 yh157612 E March 6, 2020, 5 a.m. OK PyPy 2 TESTS 68 234 716800 2100
72337809 alexwice E March 3, 2020, 3:45 p.m. OK PyPy 2 TESTS 66 420 1331200 2100
72338622 astrom.lars E March 3, 2020, 3:48 p.m. OK PyPy 2 TESTS 66 779 197427200 2100
72376860 lucifer1004 E March 3, 2020, 10:23 p.m. OK PyPy 3 TESTS 67 155 1843200 2100
72556329 sairam1298 E March 6, 2020, 6:55 a.m. OK PyPy 3 TESTS 68 155 1945600 2100
72403534 unicorn228 E March 4, 2020, 9:59 a.m. OK PyPy 3 TESTS 68 170 2662400 2100
72391473 titia E March 4, 2020, 6:21 a.m. OK PyPy 3 TESTS 68 170 2662400 2100
72348849 titia E March 3, 2020, 4:24 p.m. OK PyPy 3 TESTS 66 171 2560000 2100
72425184 mitribunskiy E March 4, 2020, 2:40 p.m. OK PyPy 3 TESTS 68 171 2662400 2100
72360818 mitribunskiy E March 3, 2020, 6:15 p.m. OK PyPy 3 TESTS 66 171 2662400 2100
72344056 Kiri8128 E March 3, 2020, 4:06 p.m. OK PyPy 3 TESTS 66 171 2662400 2100
72331671 mees E March 3, 2020, 3:25 p.m. OK PyPy 3 TESTS 66 171 2662400 2100
72410281 nehan_der_thal E March 4, 2020, 11:55 a.m. OK PyPy 3 TESTS 68 171 2969600 2100
72332749 nwi E March 3, 2020, 3:28 p.m. OK Python 2 TESTS 66 202 204800 2100
72365705 Akikaze E March 3, 2020, 7:03 p.m. OK Python 3 TESTS 66 109 409600 2100
72391133 142 E March 4, 2020, 6:13 a.m. OK Python 3 TESTS 68 124 307200 2100
72347696 Aphanasiy E March 3, 2020, 4:20 p.m. OK Python 3 TESTS 66 139 307200 2100
72337637 sansen E March 3, 2020, 3:44 p.m. OK Rust TESTS 66 31 102400 2100

remove filters

Back to search problems