Codeforces Round 543 (Div. 2, based on Technocup 2019 Final Round)

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
1121 Codeforces Round 543 (Div. 2, based on Technocup 2019 Final Round) FINISHED False 7200 180195899 March 3, 2019, 3:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2000 ) C System Testing PROGRAMMING implementation 1900

B'Vasya likes taking part in Codeforces contests. When a round is over, Vasya follows all submissions in the system testing tab. There are n solutions, the i -th of them should be tested on a_i tests, testing one solution on one test takes 1 second. The solutions are judged in the order from 1 to n . There are k testing processes which test solutions simultaneously. Each of them can test at most one solution at a time. At any time moment t when some testing process is not judging any solution, it takes the first solution from the queue and tests it on each test in increasing order of the test ids. Let this solution have id i , then it is being tested on the first test from time moment t till time moment t + 1 , then on the second test till time moment t + 2 and so on. This solution is fully tested at time moment t + a_i , and after that the testing process immediately starts testing another solution. Consider some time moment, let there be exactly m fully tested solutions by this moment. There is a caption "System testing: d %" on the page with solutions, where d is calculated as d = round <= ft(100 cdot frac{m}{n} right), where round(x) = lfloor{x + 0.5} rfloor is a function which maps every real to the nearest integer. Vasya calls a submission interesting if there is a time moment (possibly, non-integer) when the solution is being tested on some test q , and the caption says "System testing: q %". Find the number of interesting solutions. Please note that in case when multiple processes attempt to take the first submission from the queue at the same moment (for instance, at the initial moment), the order they take the solutions does not matter. The first line contains two positive integers n and k ( 1 <= n <= 1000 , 1 <= k <= 100 ) standing for the number of submissions and the number of testing processes respective'...

Tutorials

Codeforces Round #543 and Technocup 2019 Final Round Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
50781045 ia7ck C March 4, 2019, 11:22 a.m. OK D TESTS 41 31 4198400 1900
52509256 rainboy C April 8, 2019, 8:53 p.m. OK GNU C11 TESTS 41 31 0 1900
50789895 magedrifaat C March 4, 2019, 3:11 p.m. OK GNU C11 TESTS 41 31 0 1900
50756291 frauklein C March 3, 2019, 5:26 p.m. OK GNU C++11 TESTS 41 30 0 1900
57710772 py_ultron C July 24, 2019, 11:35 p.m. OK GNU C++11 TESTS 41 30 0 1900
50923757 borisgrubic C March 7, 2019, 10:46 a.m. OK GNU C++11 TESTS 41 30 0 1900
50771263 luvk1412 C March 4, 2019, 5:01 a.m. OK GNU C++11 TESTS 41 30 1228800 1900
52308089 luckymik C April 4, 2019, 1:16 p.m. OK GNU C++11 TESTS 41 30 3174400 1900
61529664 carcar C Sept. 30, 2019, 2:03 a.m. OK GNU C++11 TESTS 41 31 0 1900
61472742 vjudge2 C Sept. 29, 2019, 1:01 p.m. OK GNU C++11 TESTS 41 31 0 1900
61472585 vjudge5 C Sept. 29, 2019, 12:58 p.m. OK GNU C++11 TESTS 41 31 0 1900
66237555 vjudge4 C Dec. 3, 2019, 4:46 p.m. OK GNU C++11 TESTS 41 31 0 1900
63925203 vjudge1 C Oct. 31, 2019, 12:51 p.m. OK GNU C++11 TESTS 41 31 0 1900
52257389 shangxiaomi C April 3, 2019, 6:41 a.m. OK GNU C++14 TESTS 41 15 0 1900
51092394 alechuang98 C March 9, 2019, 2:50 p.m. OK GNU C++14 TESTS 41 15 0 1900
50788988 Kirito C March 4, 2019, 2:44 p.m. OK GNU C++14 TESTS 41 15 0 1900
50756028 kiimak C March 3, 2019, 5:23 p.m. OK GNU C++14 TESTS 41 15 0 1900
50753011 rahul_asnani C March 3, 2019, 4:49 p.m. OK GNU C++14 TESTS 41 15 0 1900
55219671 never_settle C June 6, 2019, 6:45 p.m. OK GNU C++14 TESTS 41 15 0 1900
60392154 176000849 C Sept. 11, 2019, 1:40 p.m. OK GNU C++14 TESTS 41 15 0 1900
50782919 cheissmart C March 4, 2019, 12:10 p.m. OK GNU C++14 TESTS 41 15 204800 1900
53579566 Decayed C April 30, 2019, 2:53 p.m. OK GNU C++14 TESTS 41 30 0 1900
54420395 vjudge3 C May 20, 2019, 3:05 p.m. OK GNU C++14 TESTS 41 30 0 1900
50776008 xelwood C March 4, 2019, 8:32 a.m. OK GNU C++17 TESTS 41 15 0 1900
54004422 quake0 C May 11, 2019, 6:42 p.m. OK GNU C++17 TESTS 41 15 0 1900
50761077 _4dr_ C March 3, 2019, 7:28 p.m. OK GNU C++17 TESTS 41 15 102400 1900
51395110 vjudge2 C March 17, 2019, 3:49 a.m. OK GNU C++17 TESTS 41 15 204800 1900
51235142 zawr C March 12, 2019, 6:13 p.m. OK GNU C++17 TESTS 41 15 307200 1900
53697417 FunnyGoblin C May 3, 2019, 8:30 a.m. OK GNU C++17 TESTS 41 15 1228800 1900
50759005 kissu_pari_na C March 3, 2019, 6:24 p.m. OK GNU C++17 TESTS 41 15 3276800 1900
54420373 66990208 C May 20, 2019, 3:04 p.m. OK GNU C++17 TESTS 41 30 0 1900
57989369 Stolf C July 30, 2019, 12:38 p.m. OK GNU C++17 TESTS 41 30 0 1900
57201679 cs71107 C July 17, 2019, 1:57 p.m. OK GNU C++17 TESTS 41 30 0 1900
50753097 caidodo0_0 C March 3, 2019, 4:50 p.m. OK Go TESTS 41 31 0 1900
50758866 gksato C March 3, 2019, 6:21 p.m. OK Haskell TESTS 41 46 102400 1900
50867616 wolfib C March 5, 2019, 9:32 p.m. OK Java 8 TESTS 41 109 0 1900
50819282 AJ47 C March 5, 2019, 12:51 p.m. OK Java 8 TESTS 41 109 0 1900
50763580 wadissimo C March 3, 2019, 9:20 p.m. OK Java 8 TESTS 41 109 0 1900
50760291 mennafadali C March 3, 2019, 7:01 p.m. OK Java 8 TESTS 41 109 0 1900
59650761 Garett C Aug. 29, 2019, 8:06 a.m. OK Java 8 TESTS 41 124 0 1900
54966718 optimaniax C June 2, 2019, 6:45 a.m. OK Java 8 TESTS 41 124 0 1900
52366201 SpargelTarzan C April 6, 2019, 1:50 a.m. OK Java 8 TESTS 41 124 0 1900
51338963 iamavalon C March 15, 2019, 3:26 p.m. OK Java 8 TESTS 41 124 0 1900
50861394 alibaba C March 5, 2019, 6:19 p.m. OK Java 8 TESTS 41 124 0 1900
50818571 AJ47 C March 5, 2019, 12:34 p.m. OK Java 8 TESTS 41 124 0 1900
51775659 RSBat C March 23, 2019, 9:29 p.m. OK Kotlin TESTS 41 155 102400 1900
60027652 rego97 C Sept. 4, 2019, 2:34 p.m. OK Kotlin TESTS 41 171 204800 1900
50758418 mircea85 C March 3, 2019, 6:11 p.m. OK Mono C# TESTS 41 62 0 1900
50754009 omikad C March 3, 2019, 5 p.m. OK Mono C# TESTS 41 77 3686400 1900
50767805 fastnoise C March 4, 2019, 12:34 a.m. OK Mono C# TESTS 41 78 7270400 1900
58195496 monggo1995 C Aug. 2, 2019, 11:31 p.m. OK MS C++ TESTS 41 30 0 1900
58328513 echr C Aug. 5, 2019, 8:35 a.m. OK MS C++ TESTS 41 31 0 1900
58199830 1970966462 C Aug. 3, 2019, 3:25 a.m. OK MS C++ TESTS 41 31 0 1900
50919465 XRDS-BJFU101 C March 7, 2019, 8:23 a.m. OK MS C++ TESTS 41 31 0 1900
50896229 vjudge4 C March 6, 2019, 3:12 p.m. OK MS C++ TESTS 41 31 0 1900
50818338 vjudge3 C March 5, 2019, 12:28 p.m. OK MS C++ TESTS 41 31 0 1900
50920100 XRDS-BJFU101 C March 7, 2019, 8:44 a.m. OK MS C++ TESTS 41 31 102400 1900
61268247 vjudge5 C Sept. 25, 2019, 1:20 p.m. OK MS C++ TESTS 41 31 819200 1900
54980330 R99 C June 2, 2019, 12:51 p.m. OK MS C++ 2017 TESTS 41 30 0 1900
50896788 CtrlAlt C March 6, 2019, 3:26 p.m. OK MS C++ 2017 TESTS 41 31 0 1900
50774395 wellox C March 4, 2019, 7:27 a.m. OK MS C++ 2017 TESTS 41 31 0 1900
50772313 youx C March 4, 2019, 5:54 a.m. OK MS C++ 2017 TESTS 41 31 0 1900
51247555 tattosha_aptan C March 13, 2019, 6:25 a.m. OK MS C++ 2017 TESTS 41 31 102400 1900
50753219 camille C March 3, 2019, 4:51 p.m. OK MS C++ 2017 TESTS 41 46 0 1900
51034346 bbisnouse C March 8, 2019, 2:28 p.m. OK MS C++ 2017 TESTS 41 218 0 1900
50823705 Stanislav666 C March 5, 2019, 2:39 p.m. OK PascalABC.NET TESTS 41 187 0 1900
51221996 mostyka C March 12, 2019, 12:47 p.m. OK PascalABC.NET TESTS 41 218 0 1900
50791980 mayakin C March 4, 2019, 4:11 p.m. OK PHP TESTS 41 61 0 1900
50791766 mayakin C March 4, 2019, 4:05 p.m. OK PHP TESTS 41 62 512000 1900
50757712 supachai_pay C March 3, 2019, 5:56 p.m. OK PyPy 2 TESTS 41 140 819200 1900
50753156 ilkerkosaroglu C March 3, 2019, 4:50 p.m. OK PyPy 2 TESTS 41 155 1024000 1900
52547183 c1729 C April 9, 2019, 10:55 p.m. OK PyPy 2 TESTS 41 171 1945600 1900
50759519 gatsko C March 3, 2019, 6:36 p.m. OK PyPy 2 TESTS 41 171 2048000 1900
50804600 cherry_su C March 5, 2019, 4:07 a.m. OK PyPy 2 TESTS 41 530 1740800 1900
50922434 zelendanny C March 7, 2019, 9:59 a.m. OK PyPy 3 TESTS 41 156 1536000 1900
50795660 Leendertz C March 4, 2019, 6:21 p.m. OK PyPy 3 TESTS 41 186 1638400 1900
50754418 mathdude42 C March 3, 2019, 5:04 p.m. OK PyPy 3 TESTS 41 311 2048000 1900
50756044 Genius_Coder C March 3, 2019, 5:23 p.m. OK PyPy 3 TESTS 41 717 1024000 1900
63844842 deadguy C Oct. 30, 2019, 2:55 p.m. OK Python 2 TESTS 41 218 0 1900
50756891 ninoa C March 3, 2019, 5:33 p.m. OK Python 3 TESTS 41 139 307200 1900
63846828 deadguy C Oct. 30, 2019, 3 p.m. OK Python 3 TESTS 41 140 409600 1900
50764075 Orion C March 3, 2019, 9:53 p.m. OK Python 3 TESTS 41 155 307200 1900
50761436 tanmay2625 C March 3, 2019, 7:41 p.m. OK Python 3 TESTS 41 170 307200 1900
50754190 tomarint C March 3, 2019, 5:02 p.m. OK Python 3 TESTS 41 186 102400 1900
59892163 nguyenthanhhai1069 C Sept. 2, 2019, 10:49 a.m. OK Python 3 TESTS 41 202 0 1900
50758306 qLethon C March 3, 2019, 6:08 p.m. OK Python 3 TESTS 41 233 0 1900
50758119 Sushant00 C March 3, 2019, 6:04 p.m. OK Python 3 TESTS 41 234 0 1900
50762263 Quandis C March 3, 2019, 8:15 p.m. OK Python 3 TESTS 41 248 0 1900
50752981 Pratik_2106 C March 3, 2019, 4:48 p.m. OK Python 3 TESTS 41 249 307200 1900
51979410 yakamoto C March 29, 2019, 3:39 p.m. OK Scala TESTS 41 483 0 1900

remove filters

Back to search problems