Codeforces Round 642 (Div. 3)

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
1353 Codeforces Round 642 (Div. 3) FINISHED False 7200 142356299 May 14, 2020, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 18230 ) D Constructing the Array PROGRAMMING constructive algorithms data structures sortings 1600

B'You are given an array a of length n consisting of zeros. You perform n actions with this array: during the i -th action, the following sequence of operations appears: Consider the array a of length 5 (initially a=[0, 0, 0, 0, 0] ). Then it changes as follows: Your task is to find the array a of length n after performing all n actions. Note that the answer exists and unique. You have to answer t independent test cases. The first line of the input contains one integer t ( 1 <= t <= 10^4 ) -- the number of test cases. Then t test cases follow. The only line of the test case contains one integer n ( 1 <= n <= 2 cdot 10^5 ) -- the length of a . It is guaranteed that the sum of n over all test cases does not exceed 2 cdot 10^5 ( sum n <= 2 cdot 10^5 ). For each test case, print the answer -- the array a of length n after performing n actions described in the problem statement. Note that the answer exists and unique. '...

Tutorials

Codeforces Round #642 (Div. 3) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
81038763 noob_acmp D May 23, 2020, 6:08 p.m. OK Delphi TESTS 21 109 1638400 1600
80247280 ruban D May 15, 2020, 4:59 p.m. OK Delphi TESTS 21 280 239820800 1600
81039146 noob_acmp D May 23, 2020, 6:14 p.m. OK FPC TESTS 21 686 2355200 1600
80160785 ja1467 D May 14, 2020, 5:24 p.m. OK GNU C11 TESTS 21 717 6041600 1600
80154672 Beku.sh D May 14, 2020, 4:37 p.m. OK GNU C11 TESTS 21 717 6041600 1600
80442074 huayou D May 17, 2020, 7:01 a.m. OK GNU C11 TESTS 21 717 6348800 1600
80196781 trans_el D May 15, 2020, 6:30 a.m. OK GNU C11 TESTS 21 717 15769600 1600
80191600 rajatnagar D May 15, 2020, 4:54 a.m. OK GNU C11 TESTS 21 733 6144000 1600
80171230 _sam__ D May 14, 2020, 7:48 p.m. OK GNU C11 TESTS 21 733 6144000 1600
80155086 JoseTomas01 D May 14, 2020, 4:38 p.m. OK GNU C11 TESTS 21 733 6860800 1600
80307162 Frankensten D May 16, 2020, 11:02 a.m. OK GNU C11 TESTS 21 733 8806400 1600
80281134 SUNNY24 D May 16, 2020, 5:32 a.m. OK GNU C11 TESTS 21 748 6860800 1600
80307080 Frankensten D May 16, 2020, 11:01 a.m. OK GNU C11 TESTS 21 748 8806400 1600
80155729 DWAE86 D May 14, 2020, 4:42 p.m. OK GNU C++11 TESTS 21 77 6246400 1600
80211020 wenzhuan D May 15, 2020, 9:44 a.m. OK GNU C++11 TESTS 21 77 6246400 1600
80211277 JennyQ D May 15, 2020, 9:48 a.m. OK GNU C++11 TESTS 21 77 7475200 1600
80298404 Areyouready D May 16, 2020, 9:15 a.m. OK GNU C++11 TESTS 21 77 27955200 1600
80736497 Barret2 D May 20, 2020, 2:59 a.m. OK GNU C++11 TESTS 21 78 2355200 1600
80667670 linzi D May 19, 2020, 8:15 a.m. OK GNU C++11 TESTS 21 78 2457600 1600
80184289 loenvom D May 15, 2020, 2:08 a.m. OK GNU C++11 TESTS 21 78 6144000 1600
80384833 haibara_ D May 16, 2020, 3:09 p.m. OK GNU C++11 TESTS 21 78 6246400 1600
80284061 liuyubobobo D May 16, 2020, 6:19 a.m. OK GNU C++11 TESTS 21 78 6246400 1600
80271455 round_0 D May 16, 2020, 1:52 a.m. OK GNU C++11 TESTS 21 78 6246400 1600
80156439 sirius_white D May 14, 2020, 4:46 p.m. OK GNU C++14 TESTS 21 61 4710400 1600
80245907 practice909 D May 15, 2020, 4:42 p.m. OK GNU C++14 TESTS 21 62 6144000 1600
80294787 misir D May 16, 2020, 8:30 a.m. OK GNU C++14 TESTS 21 62 6144000 1600
80197412 BlueSharK D May 15, 2020, 6:39 a.m. OK GNU C++14 TESTS 21 62 6144000 1600
80190132 dontknowcoder D May 15, 2020, 4:26 a.m. OK GNU C++14 TESTS 21 62 6246400 1600
80176004 vishnu_m D May 14, 2020, 9:28 p.m. OK GNU C++14 TESTS 21 62 6963200 1600
80993234 murugappan_s D May 23, 2020, 7:26 a.m. OK GNU C++14 TESTS 21 62 7065600 1600
80177930 Ans_31 D May 14, 2020, 10:24 p.m. OK GNU C++14 TESTS 21 62 8499200 1600
80154445 DoNothing D May 14, 2020, 4:36 p.m. OK GNU C++14 TESTS 21 62 10035200 1600
80150487 TimeWarp101 D May 14, 2020, 4:27 p.m. OK GNU C++14 TESTS 21 62 10444800 1600
80775840 graveyard111 D May 20, 2020, 1:20 p.m. OK GNU C++17 TESTS 21 62 1638400 1600
81571034 Bennettz D May 27, 2020, 12:55 a.m. OK GNU C++17 TESTS 21 62 2457600 1600
81054556 090X D May 24, 2020, 1:27 a.m. OK GNU C++17 TESTS 21 62 2457600 1600
80769319 Mr_robo D May 20, 2020, 11:53 a.m. OK GNU C++17 TESTS 21 62 2457600 1600
80174885 Kripton2005 D May 14, 2020, 9:02 p.m. OK GNU C++17 TESTS 21 62 4505600 1600
80286223 Dup4 D May 16, 2020, 6:45 a.m. OK GNU C++17 TESTS 21 62 6144000 1600
80167038 MrMoon D May 14, 2020, 6:42 p.m. OK GNU C++17 TESTS 21 62 6144000 1600
80223537 YureeOh D May 15, 2020, 12:15 p.m. OK GNU C++17 TESTS 21 62 7680000 1600
80161793 sathvik_kasam D May 14, 2020, 5:35 p.m. OK GNU C++17 TESTS 21 62 7782400 1600
80169396 jalousie D May 14, 2020, 7:18 p.m. OK GNU C++17 TESTS 21 62 7884800 1600
80661847 ir_1st_vil D May 19, 2020, 6:48 a.m. OK GNU C++17 (64) TESTS 21 61 3993600 1600
80163232 AQZZ D May 14, 2020, 5:53 p.m. OK GNU C++17 (64) TESTS 21 61 8294400 1600
80172103 abhigyan10 D May 14, 2020, 8:04 p.m. OK GNU C++17 (64) TESTS 21 61 8601600 1600
80830317 rniya D May 21, 2020, 7:43 a.m. OK GNU C++17 (64) TESTS 21 62 2969600 1600
80902164 jainbot27 D May 22, 2020, 4:58 a.m. OK GNU C++17 (64) TESTS 21 62 3993600 1600
80187946 eryx_906 D May 15, 2020, 3:37 a.m. OK GNU C++17 (64) TESTS 21 62 7270400 1600
80171770 akshat98 D May 14, 2020, 7:58 p.m. OK GNU C++17 (64) TESTS 21 62 7270400 1600
80160729 ghssh D May 14, 2020, 5:23 p.m. OK GNU C++17 (64) TESTS 21 62 7270400 1600
80199325 syawl-1017 D May 15, 2020, 7:05 a.m. OK GNU C++17 (64) TESTS 21 62 7270400 1600
80566660 smax D May 18, 2020, 3:50 a.m. OK GNU C++17 (64) TESTS 21 62 7270400 1600
80188332 amarjeetanand D May 15, 2020, 3:46 a.m. OK Go TESTS 21 124 16896000 1600
80201377 synapse D May 15, 2020, 7:35 a.m. OK Go TESTS 21 140 26316800 1600
80552149 __R_ D May 17, 2020, 8:06 p.m. OK Go TESTS 21 171 20377600 1600
80963399 glebsamsonov D May 22, 2020, 6:50 p.m. OK Go TESTS 21 249 15155200 1600
81474366 accaccacc555 D May 26, 2020, 1:22 p.m. OK Haskell TESTS 21 234 10547200 1600
80265507 Laurens D May 15, 2020, 10:04 p.m. OK Haskell TESTS 21 312 39116800 1600
80837482 Gagan09 D May 21, 2020, 9:21 a.m. OK Java 11 TESTS 21 264 0 1600
81164019 p_unit D May 24, 2020, 9:56 a.m. OK Java 11 TESTS 21 280 0 1600
80837805 Gagan09 D May 21, 2020, 9:25 a.m. OK Java 11 TESTS 21 280 0 1600
80835808 Gagan09 D May 21, 2020, 8:58 a.m. OK Java 11 TESTS 21 280 0 1600
80167502 chris_11 D May 14, 2020, 6:49 p.m. OK Java 11 TESTS 21 280 24064000 1600
80536044 mikkk D May 17, 2020, 3:57 p.m. OK Java 11 TESTS 21 280 24268800 1600
80421186 zenlyj D May 16, 2020, 11:51 p.m. OK Java 11 TESTS 21 280 24268800 1600
80218152 Clowyy D May 15, 2020, 11:10 a.m. OK Java 11 TESTS 21 280 24268800 1600
80190930 AshrafEzz D May 15, 2020, 4:41 a.m. OK Java 11 TESTS 21 280 24268800 1600
80163336 jenish9599 D May 14, 2020, 5:54 p.m. OK Java 11 TESTS 21 280 24268800 1600
80932774 katieya D May 22, 2020, 12:18 p.m. OK Java 8 TESTS 21 171 4198400 1600
80378635 1u_my_light D May 16, 2020, 2:34 p.m. OK Java 8 TESTS 21 187 25395200 1600
80304488 thewarhero_78 D May 16, 2020, 10:30 a.m. OK Java 8 TESTS 21 187 25395200 1600
80155065 gagan_6730 D May 14, 2020, 4:38 p.m. OK Java 8 TESTS 21 187 25395200 1600
81419315 Oopsimbad D May 25, 2020, 8:10 p.m. OK Java 8 TESTS 21 202 0 1600
80267896 imwts D May 15, 2020, 11:27 p.m. OK Java 8 TESTS 21 202 20684800 1600
80241107 al7bashkatov D May 15, 2020, 3:41 p.m. OK Java 8 TESTS 21 202 20684800 1600
80158184 prem_cse D May 14, 2020, 4:59 p.m. OK Java 8 TESTS 21 202 20684800 1600
80151138 garg_vibhor D May 14, 2020, 4:28 p.m. OK Java 8 TESTS 21 202 20684800 1600
80226585 horseprabhat625 D May 15, 2020, 12:52 p.m. OK Java 8 TESTS 21 202 21299200 1600
81340990 a11eca D May 25, 2020, 2:18 a.m. OK Kotlin TESTS 21 296 3276800 1600
80199671 Spheniscine D May 15, 2020, 7:10 a.m. OK Kotlin TESTS 21 343 27648000 1600
80155819 tokitsukaze D May 14, 2020, 4:42 p.m. OK Kotlin TESTS 21 343 48947200 1600
81705598 whiter4bbit D May 28, 2020, 12:41 p.m. OK Kotlin TESTS 21 405 6656000 1600
80176060 ekaerovets D May 14, 2020, 9:29 p.m. OK Kotlin TESTS 21 452 27750400 1600
80716194 IsTinG D May 19, 2020, 6:01 p.m. OK Kotlin TESTS 21 529 6758400 1600
81146474 scnucjh D May 24, 2020, 8:10 a.m. OK Kotlin TESTS 21 530 10240000 1600
80163461 sergmel D May 14, 2020, 5:56 p.m. OK Kotlin TESTS 21 545 31744000 1600
80158204 MulticolorWorld D May 14, 2020, 5 p.m. OK Kotlin TESTS 21 576 32768000 1600
80805504 MadMax D May 20, 2020, 8:20 p.m. OK Kotlin TESTS 21 702 7987200 1600
81005582 treasuryonly D May 23, 2020, 10:32 a.m. OK Mono C# TESTS 21 140 16691200 1600
80305499 ansergeyg D May 16, 2020, 10:42 a.m. OK Mono C# TESTS 21 311 26931200 1600
80156745 levitg D May 14, 2020, 4:48 p.m. OK Mono C# TESTS 21 312 32358400 1600
81054122 abd_alrhman_ D May 24, 2020, 1:03 a.m. OK Mono C# TESTS 21 795 10956800 1600
80162337 theweird D May 14, 2020, 5:42 p.m. OK MS C++ TESTS 21 78 6656000 1600
80817784 Hokage. D May 21, 2020, 3:39 a.m. OK MS C++ TESTS 21 295 6144000 1600
80229755 vjudge5 D May 15, 2020, 1:28 p.m. OK MS C++ 2017 TESTS 21 78 6451200 1600
80934033 vjudge5 D May 22, 2020, 12:35 p.m. OK MS C++ 2017 TESTS 21 93 2969600 1600
80181462 dundae D May 15, 2020, 12:35 a.m. OK MS C++ 2017 TESTS 21 93 6451200 1600
80272668 rotoZOOM D May 16, 2020, 2:33 a.m. OK MS C++ 2017 TESTS 21 93 7577600 1600
80215926 Rins D May 15, 2020, 10:45 a.m. OK MS C++ 2017 TESTS 21 109 6758400 1600
81164294 Kirill456Z D May 24, 2020, 9:59 a.m. OK MS C++ 2017 TESTS 21 124 3072000 1600
80424074 brined_fish D May 17, 2020, 1:36 a.m. OK MS C++ 2017 TESTS 21 124 6860800 1600
80154640 getN1ght D May 14, 2020, 4:37 p.m. OK MS C++ 2017 TESTS 21 171 6144000 1600
80665631 felix412441 D May 19, 2020, 7:47 a.m. OK MS C++ 2017 TESTS 21 186 2969600 1600
80266577 icecap360 D May 15, 2020, 10:38 p.m. OK MS C++ 2017 TESTS 21 186 6656000 1600
80238282 Arturgo D May 15, 2020, 3:09 p.m. OK Ocaml TESTS 21 186 16486400 1600
80191409 mo-hit D May 15, 2020, 4:50 a.m. OK PyPy 2 TESTS 21 499 40550400 1600
80212140 sksshivam007 D May 15, 2020, 9:59 a.m. OK PyPy 2 TESTS 21 514 41369600 1600
80227210 nishank.suresh D May 15, 2020, 1 p.m. OK PyPy 2 TESTS 21 592 44339200 1600
80170584 lyc12345 D May 14, 2020, 7:38 p.m. OK PyPy 2 TESTS 21 607 38195200 1600
80228155 nishank.suresh D May 15, 2020, 1:11 p.m. OK PyPy 2 TESTS 21 607 45056000 1600
80226457 nishank.suresh D May 15, 2020, 12:50 p.m. OK PyPy 2 TESTS 21 670 43724800 1600
80896024 yumtam D May 22, 2020, 2:29 a.m. OK PyPy 2 TESTS 21 686 18124800 1600
80227367 nishank.suresh D May 15, 2020, 1:01 p.m. OK PyPy 2 TESTS 21 701 45056000 1600
80181292 flyman3046 D May 15, 2020, 12:30 a.m. OK PyPy 2 TESTS 21 748 43929600 1600
80570336 ralubis D May 18, 2020, 5:15 a.m. OK PyPy 2 TESTS 21 842 41574400 1600
80216896 pajenegod D May 15, 2020, 10:56 a.m. OK PyPy 3 TESTS 21 233 37376000 1600
80202897 shantol D May 15, 2020, 7:58 a.m. OK PyPy 3 TESTS 21 373 34508800 1600
80231257 bravotango D May 15, 2020, 1:47 p.m. OK PyPy 3 TESTS 21 436 38809600 1600
80229360 bravotango D May 15, 2020, 1:23 p.m. OK PyPy 3 TESTS 21 468 38707200 1600
80516405 Exploud D May 17, 2020, 11:51 a.m. OK PyPy 3 TESTS 21 483 51507200 1600
81145689 Ajay_Modi D May 24, 2020, 8:03 a.m. OK PyPy 3 TESTS 21 499 14131200 1600
80206136 TuM0xA D May 15, 2020, 8:42 a.m. OK PyPy 3 TESTS 21 514 45670400 1600
80216046 pajenegod D May 15, 2020, 10:46 a.m. OK PyPy 3 TESTS 21 514 46694400 1600
80218480 purple_haze1 D May 15, 2020, 11:14 a.m. OK PyPy 3 TESTS 21 530 43417600 1600
80261501 pranshukh D May 15, 2020, 8:25 p.m. OK PyPy 3 TESTS 21 545 35430400 1600
80158834 ap1008 D May 14, 2020, 5:05 p.m. OK Python 2 TESTS 21 670 22425600 1600
80194660 tiwari0000 D May 15, 2020, 5:58 a.m. OK Python 3 TESTS 21 530 21913600 1600
80197760 KingVlad D May 15, 2020, 6:44 a.m. OK Python 3 TESTS 21 530 32563200 1600
80233775 hanqin123_L D May 15, 2020, 2:16 p.m. OK Python 3 TESTS 21 530 35328000 1600
80157259 Alex_Savitskiy D May 14, 2020, 4:52 p.m. OK Python 3 TESTS 21 577 35430400 1600
80177932 JEMINI D May 14, 2020, 10:24 p.m. OK Python 3 TESTS 21 592 18124800 1600
80238528 Shankhadeep D May 15, 2020, 3:12 p.m. OK Python 3 TESTS 21 592 26419200 1600
80926210 zuun7 D May 22, 2020, 10:55 a.m. OK Python 3 TESTS 21 607 15564800 1600
80238355 Shankhadeep D May 15, 2020, 3:10 p.m. OK Python 3 TESTS 21 608 35840000 1600
80161799 chinu1712 D May 14, 2020, 5:36 p.m. OK Python 3 TESTS 21 623 33792000 1600
80156287 code1194 D May 14, 2020, 4:45 p.m. OK Python 3 TESTS 21 624 33792000 1600
80159393 maguro_tuna D May 14, 2020, 5:10 p.m. OK Rust TESTS 21 62 14028800 1600
80182530 sansen D May 15, 2020, 1:11 a.m. OK Rust TESTS 21 78 9113600 1600
80232302 maguro_tuna D May 15, 2020, 1:59 p.m. OK Rust TESTS 21 78 13209600 1600
80268072 TomazGomes D May 15, 2020, 11:35 p.m. OK Rust TESTS 21 186 7782400 1600
80178500 userCodeForces D May 14, 2020, 10:44 p.m. OK Rust TESTS 21 202 8294400 1600
81593131 springroll D May 27, 2020, 7:33 a.m. OK Rust TESTS 21 202 11366400 1600
80555305 garciparedes D May 17, 2020, 9:23 p.m. OK Rust TESTS 21 202 12595200 1600
81404233 pandrei D May 25, 2020, 4:54 p.m. OK Rust TESTS 21 217 2355200 1600
80176384 userCodeForces D May 14, 2020, 9:38 p.m. OK Rust TESTS 21 217 6451200 1600
80263094 one_feeble_coder D May 15, 2020, 8:59 p.m. OK Rust TESTS 21 233 6144000 1600
80163940 mt0 D May 14, 2020, 6:01 p.m. OK Scala TESTS 21 826 46387200 1600
80258155 IvanDyachenko D May 15, 2020, 7:26 p.m. OK Scala TESTS 21 982 45260800 1600

remove filters

Back to search problems