Codeforces Round 563 (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
1174 Codeforces Round 563 (Div. 2) FINISHED False 7200 172252499 June 3, 2019, 2:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 15571 ) B Ehab Is an Odd Person PROGRAMMING sortings 1200

B"You're given an array a of length n . You can perform the following operation on it as many times as you want: What is lexicographically the smallest array you can obtain? An array x is lexicographically smaller than an array y if there exists an index i such that x_i<y_i , and x_j=y_j for all 1 <= j < i . Less formally, at the first index i in which they differ, x_i<y_i The first line contains an integer n ( 1 <= n <= 10^5 ) -- the number of elements in the array a . The second line contains n space-separated integers a_1 , a_2 , ldots , a_{n} ( 1 <= a_i <= 10^9 ) -- the elements of the array a . The only line contains n space-separated integers, the lexicographically smallest array you can obtain. In the first example, we can swap 1 and 4 since 1+4=5 , which is odd. "...

Tutorials

Codeforces round #563 editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
55200118 xcodevn B June 6, 2019, 10:13 a.m. OK D TESTS 63 62 0 1200
55072331 omlgg B June 4, 2019, 6:53 a.m. OK FPC TESTS 63 327 409600 1200
67448169 Dbvivi B Dec. 23, 2019, 12:52 a.m. OK FPC TESTS 63 327 409600 1200
55086406 tuvidai2003 B June 4, 2019, 12:44 p.m. OK FPC TESTS 63 327 1024000 1200
58332230 CPLNY B Aug. 5, 2019, 9:53 a.m. OK FPC TESTS 63 342 409600 1200
55044188 Craspedacusta B June 3, 2019, 3:29 p.m. OK FPC TESTS 63 342 1024000 1200
55046489 zyenz123 B June 3, 2019, 3:44 p.m. OK FPC TESTS 63 343 409600 1200
63979601 chaorenhaha B Nov. 1, 2019, 9:47 a.m. OK FPC TESTS 63 343 614400 1200
63979585 chaorenhaha B Nov. 1, 2019, 9:47 a.m. OK FPC TESTS 63 343 1024000 1200
55051647 LaSWeeG B June 3, 2019, 5:30 p.m. OK FPC TESTS 63 343 1024000 1200
55048473 PAG B June 3, 2019, 3:56 p.m. OK FPC TESTS 63 358 819200 1200
69070859 ndaidemf B Jan. 18, 2020, 9:44 p.m. OK GNU C11 TESTS 63 61 8601600 1200
55865916 med_amine B June 21, 2019, 12:08 p.m. OK GNU C11 TESTS 63 389 409600 1200
55697938 rishiraje B June 18, 2019, 1:07 a.m. OK GNU C11 TESTS 63 390 409600 1200
55952192 saspi B June 23, 2019, 3:41 a.m. OK GNU C11 TESTS 63 390 409600 1200
58805095 wander_dog B Aug. 14, 2019, 8:39 a.m. OK GNU C11 TESTS 63 390 409600 1200
61047608 nikhilreddy123 B Sept. 22, 2019, 5:14 a.m. OK GNU C11 TESTS 63 390 409600 1200
62877627 rahulgoel B Oct. 18, 2019, 3:48 p.m. OK GNU C11 TESTS 63 390 409600 1200
67197497 yigezhe B Dec. 19, 2019, 9:39 a.m. OK GNU C11 TESTS 63 390 409600 1200
55272290 ashk_21 B June 7, 2019, 5:02 p.m. OK GNU C11 TESTS 63 390 409600 1200
55552354 ldw2614 B June 14, 2019, 7:55 a.m. OK GNU C11 TESTS 63 390 409600 1200
55111247 White_Devil B June 5, 2019, 6:22 a.m. OK GNU C++11 TESTS 63 46 204800 1200
55060437 Frame233 B June 3, 2019, 10:04 p.m. OK GNU C++11 TESTS 63 46 204800 1200
55079510 luogu_bot2 B June 4, 2019, 10:08 a.m. OK GNU C++11 TESTS 63 46 409600 1200
55085534 siruiyang_sry B June 4, 2019, 12:26 p.m. OK GNU C++11 TESTS 63 46 409600 1200
55085585 Big_black_jujube B June 4, 2019, 12:27 p.m. OK GNU C++11 TESTS 63 46 409600 1200
55085604 Big_black_jujube B June 4, 2019, 12:28 p.m. OK GNU C++11 TESTS 63 46 409600 1200
55091664 dysyn1314 B June 4, 2019, 2:49 p.m. OK GNU C++11 TESTS 63 46 409600 1200
55183385 maomao330 B June 6, 2019, 1:25 a.m. OK GNU C++11 TESTS 63 46 409600 1200
55064406 hyjhyj B June 4, 2019, 2:27 a.m. OK GNU C++11 TESTS 63 46 409600 1200
57989520 xukuan B July 30, 2019, 12:42 p.m. OK GNU C++11 TESTS 63 46 819200 1200
57924552 XUANSE B July 29, 2019, 6:36 a.m. OK GNU C++14 TESTS 63 61 409600 1200
55234724 BabaVoss B June 7, 2019, 7:45 a.m. OK GNU C++14 TESTS 63 61 5017600 1200
62879016 sliman00 B Oct. 18, 2019, 4:14 p.m. OK GNU C++14 TESTS 63 62 409600 1200
68590382 shubh.kr1997 B Jan. 11, 2020, 12:29 p.m. OK GNU C++14 TESTS 63 62 409600 1200
67676058 Ryryme B Dec. 27, 2019, 1:54 a.m. OK GNU C++14 TESTS 63 62 409600 1200
67604378 invictus_123 B Dec. 25, 2019, 1:03 p.m. OK GNU C++14 TESTS 63 62 409600 1200
66993627 Hamadneh B Dec. 15, 2019, 10:26 p.m. OK GNU C++14 TESTS 63 62 409600 1200
66142681 LANDDKPLA Zery_test wvuvw B Dec. 1, 2019, 3:08 p.m. OK GNU C++14 TESTS 63 62 409600 1200
63294151 lclpsoz B Oct. 24, 2019, 12:31 p.m. OK GNU C++14 TESTS 63 62 409600 1200
62625813 suzuken_w B Oct. 15, 2019, 2:02 p.m. OK GNU C++14 TESTS 63 62 409600 1200
56790149 vjudge2 B July 10, 2019, 10:14 a.m. OK GNU C++17 TESTS 63 61 409600 1200
67783741 M...... B Dec. 28, 2019, 11:56 a.m. OK GNU C++17 TESTS 63 61 409600 1200
55120198 idxcalccalc B June 5, 2019, 10:42 a.m. OK GNU C++17 TESTS 63 61 1843200 1200
68493563 FelixArg B Jan. 10, 2020, 12:35 p.m. OK GNU C++17 TESTS 63 62 409600 1200
68575698 vjudge1 B Jan. 11, 2020, 9:58 a.m. OK GNU C++17 TESTS 63 62 409600 1200
68582811 vjudge5 B Jan. 11, 2020, 10:30 a.m. OK GNU C++17 TESTS 63 62 409600 1200
69245656 ZA139 B Jan. 21, 2020, 12:49 p.m. OK GNU C++17 TESTS 63 62 409600 1200
68319671 YanBee B Jan. 6, 2020, 2:28 p.m. OK GNU C++17 TESTS 63 62 409600 1200
67046491 Ciafrino B Dec. 16, 2019, 10:56 p.m. OK GNU C++17 TESTS 63 62 409600 1200
68454704 Mip182 B Jan. 9, 2020, 3:43 p.m. OK GNU C++17 TESTS 63 62 409600 1200
59582844 sighduck B Aug. 27, 2019, 4:45 p.m. OK Go TESTS 63 140 0 1200
55071365 tony_stark1 B June 4, 2019, 6:28 a.m. OK Go TESTS 63 140 4505600 1200
55092154 mihassan B June 4, 2019, 3:06 p.m. OK Haskell TESTS 63 389 20070400 1200
66825904 potatmen B Dec. 14, 2019, 8:56 a.m. OK Java 11 TESTS 63 265 0 1200
67286375 Captain_nick B Dec. 20, 2019, 2:24 p.m. OK Java 11 TESTS 63 576 0 1200
55123609 bluesky111 B June 5, 2019, 11:51 a.m. OK Java 8 TESTS 63 124 0 1200
55217715 KharYusuf B June 6, 2019, 5:40 p.m. OK Java 8 TESTS 63 140 0 1200
55717584 saurabh0611 B June 18, 2019, 1:30 p.m. OK Java 8 TESTS 63 140 0 1200
55073095 In_The_Name_Of_Love B June 4, 2019, 7:15 a.m. OK Java 8 TESTS 63 140 0 1200
55064449 chojh1222 B June 4, 2019, 2:29 a.m. OK Java 8 TESTS 63 140 0 1200
55096016 spar5h B June 4, 2019, 5:12 p.m. OK Java 8 TESTS 63 155 0 1200
55069999 Pratik_Rajani B June 4, 2019, 5:51 a.m. OK Java 8 TESTS 63 155 0 1200
55065174 holeguma B June 4, 2019, 3:02 a.m. OK Java 8 TESTS 63 155 0 1200
55062343 programbhavan B June 4, 2019, 12:24 a.m. OK Java 8 TESTS 63 155 0 1200
55055674 toshihoge B June 3, 2019, 6:53 p.m. OK Java 8 TESTS 63 155 0 1200
55051475 orazbek B June 3, 2019, 5:27 p.m. OK JavaScript TESTS 63 124 21401600 1200
55068283 galloska B June 4, 2019, 4:59 a.m. OK Kotlin TESTS 63 311 6860800 1200
55066419 KanhuKeNanu B June 4, 2019, 3:52 a.m. OK Kotlin TESTS 63 312 7168000 1200
59245112 david_varela B Aug. 21, 2019, 10:45 p.m. OK Kotlin TESTS 63 327 6963200 1200
55115259 demon.machine B June 5, 2019, 8:22 a.m. OK Kotlin TESTS 63 327 6963200 1200
55074895 eidolon B June 4, 2019, 8:06 a.m. OK Kotlin TESTS 63 327 7270400 1200
55048108 kovin B June 3, 2019, 3:54 p.m. OK Kotlin TESTS 63 327 8806400 1200
55304257 tadashiya B June 8, 2019, 1:27 p.m. OK Kotlin TESTS 63 343 3379200 1200
56027583 Spheniscine B June 25, 2019, 7:45 a.m. OK Kotlin TESTS 63 343 7372800 1200
55053059 daniilzimin4 B June 3, 2019, 5:57 p.m. OK Kotlin TESTS 63 608 6451200 1200
55083362 viajero B June 4, 2019, 11:38 a.m. OK Kotlin TESTS 63 623 6451200 1200
55127197 og.kostya B June 5, 2019, 1:24 p.m. OK Mono C# TESTS 63 93 7065600 1200
66623514 balibalo756 B Dec. 11, 2019, 7:58 a.m. OK Mono C# TESTS 63 124 23142400 1200
56878763 treasuryonly B July 12, 2019, 9:24 a.m. OK Mono C# TESTS 63 140 20377600 1200
55062005 fastnoise B June 4, 2019, 12:02 a.m. OK Mono C# TESTS 63 140 28569600 1200
55287052 m1_k3 B June 8, 2019, 5:38 a.m. OK Mono C# TESTS 63 155 11776000 1200
55287006 m1_k3 B June 8, 2019, 5:37 a.m. OK Mono C# TESTS 63 171 11776000 1200
55061630 hibatibati B June 3, 2019, 11:31 p.m. OK Mono C# TESTS 63 187 25395200 1200
69943442 nastya1199 B Feb. 1, 2020, 6:52 a.m. OK Mono C# TESTS 63 405 15974400 1200
56622430 zazak B July 6, 2019, 12:24 p.m. OK Mono C# TESTS 63 436 22528000 1200
56790082 vjudge1 B July 10, 2019, 10:12 a.m. OK MS C++ TESTS 63 62 409600 1200
56833361 vjudge1 B July 11, 2019, 7:57 a.m. OK MS C++ TESTS 63 62 409600 1200
65729174 vjudge3 B Nov. 26, 2019, 3:26 a.m. OK MS C++ TESTS 63 62 409600 1200
57505271 VIMINAREMAX B July 22, 2019, 11:47 a.m. OK MS C++ TESTS 63 62 409600 1200
57625852 vjudge4 B July 24, 2019, 6:59 a.m. OK MS C++ TESTS 63 62 409600 1200
57626474 vjudge2 B July 24, 2019, 7:12 a.m. OK MS C++ TESTS 63 62 409600 1200
65482794 vjudge4 B Nov. 21, 2019, 12:13 p.m. OK MS C++ TESTS 63 62 409600 1200
65491512 vjudge2 B Nov. 21, 2019, 2:51 p.m. OK MS C++ TESTS 63 62 409600 1200
65501030 vjudge2 B Nov. 21, 2019, 6:55 p.m. OK MS C++ TESTS 63 62 409600 1200
65534565 vjudge2 B Nov. 22, 2019, 1:42 p.m. OK MS C++ TESTS 63 62 409600 1200
55073435 Aiahchen B June 4, 2019, 7:25 a.m. OK MS C++ 2017 TESTS 63 62 409600 1200
56233420 petko_mitkov B June 28, 2019, 3:08 p.m. OK MS C++ 2017 TESTS 63 78 409600 1200
56016466 FikiCar B June 24, 2019, 9:39 p.m. OK MS C++ 2017 TESTS 63 78 409600 1200
55304297 paispls B June 8, 2019, 1:28 p.m. OK MS C++ 2017 TESTS 63 78 409600 1200
57880431 ZSTU-2018329621261 B July 28, 2019, 7:31 a.m. OK MS C++ 2017 TESTS 63 78 409600 1200
55041366 Heyhue B June 3, 2019, 3:13 p.m. OK MS C++ 2017 TESTS 63 78 409600 1200
55037555 pinefrost B June 3, 2019, 2:54 p.m. OK MS C++ 2017 TESTS 63 78 409600 1200
55073492 Aiahchen B June 4, 2019, 7:27 a.m. OK MS C++ 2017 TESTS 63 78 409600 1200
66294854 vjudge3 B Dec. 5, 2019, 3:18 a.m. OK MS C++ 2017 TESTS 63 78 1024000 1200
55047142 2018030401051 B June 3, 2019, 3:48 p.m. OK MS C++ 2017 TESTS 63 78 3993600 1200
55081444 CyberGoose B June 4, 2019, 10:53 a.m. OK Ocaml TESTS 63 109 3276800 1200
55076333 lostamok B June 4, 2019, 8:46 a.m. OK PHP TESTS 63 140 10035200 1200
55541663 mayakin B June 13, 2019, 8:17 p.m. OK PHP TESTS 63 155 8396800 1200
55076271 lostamok B June 4, 2019, 8:44 a.m. OK PHP TESTS 63 156 7987200 1200
55115913 bupt.wc B June 5, 2019, 8:38 a.m. OK PyPy 2 TESTS 63 155 11468800 1200
55042150 supersangjin B June 3, 2019, 3:18 p.m. OK PyPy 2 TESTS 63 171 11161600 1200
58915656 -Morass- B Aug. 16, 2019, 2:52 p.m. OK PyPy 2 TESTS 63 171 11673600 1200
55064809 Mukundan314 B June 4, 2019, 2:46 a.m. OK PyPy 2 TESTS 63 186 9932800 1200
67068456 aaa_bbb_ccc B Dec. 17, 2019, 11:56 a.m. OK PyPy 2 TESTS 63 187 10035200 1200
55051877 raj1307 B June 3, 2019, 5:34 p.m. OK PyPy 2 TESTS 63 187 10649600 1200
58572706 snape_here B Aug. 11, 2019, 10:58 a.m. OK PyPy 2 TESTS 63 202 10444800 1200
55329455 H4Wk3ye B June 9, 2019, 10:06 a.m. OK PyPy 2 TESTS 63 202 11571200 1200
55223547 bertrandovide B June 6, 2019, 9:58 p.m. OK PyPy 2 TESTS 63 233 13312000 1200
55035468 thenewguy39 B June 3, 2019, 2:46 p.m. OK PyPy 2 TESTS 63 265 18534400 1200
55329561 H4Wk3ye B June 9, 2019, 10:09 a.m. OK PyPy 3 TESTS 63 218 15360000 1200
55329498 H4Wk3ye B June 9, 2019, 10:07 a.m. OK PyPy 3 TESTS 63 218 15360000 1200
55115937 Arhimason B June 5, 2019, 8:39 a.m. OK PyPy 3 TESTS 63 265 15155200 1200
55098259 samvel B June 4, 2019, 6:28 p.m. OK PyPy 3 TESTS 63 280 14643200 1200
55329288 H4Wk3ye B June 9, 2019, 10 a.m. OK PyPy 3 TESTS 63 295 14848000 1200
55648875 Leendertz B June 16, 2019, 1:33 p.m. OK PyPy 3 TESTS 63 296 14131200 1200
55178685 Leemur B June 5, 2019, 8:05 p.m. OK PyPy 3 TESTS 63 296 14848000 1200
55099852 manuchroma B June 4, 2019, 7:26 p.m. OK PyPy 3 TESTS 63 311 11673600 1200
55067673 io___oi B June 4, 2019, 4:39 a.m. OK PyPy 3 TESTS 63 311 13824000 1200
55220025 pasthec B June 6, 2019, 6:57 p.m. OK PyPy 3 TESTS 63 311 13926400 1200
55057446 elistark B June 3, 2019, 7:44 p.m. OK Python 2 TESTS 63 265 7065600 1200
55322238 15927491671 B June 9, 2019, 5:39 a.m. OK Python 2 TESTS 63 296 5632000 1200
55058357 psaini B June 3, 2019, 8:17 p.m. OK Python 2 TESTS 63 296 5632000 1200
55036942 manvigoel B June 3, 2019, 2:52 p.m. OK Python 2 TESTS 63 296 5632000 1200
55042137 Wizmann B June 3, 2019, 3:17 p.m. OK Python 2 TESTS 63 296 6656000 1200
55042367 kpiiitb B June 3, 2019, 3:19 p.m. OK Python 2 TESTS 63 311 5632000 1200
55537724 pranav_739 B June 13, 2019, 5:27 p.m. OK Python 2 TESTS 63 311 5836800 1200
55045486 jangandsim B June 3, 2019, 3:37 p.m. OK Python 2 TESTS 63 311 9011200 1200
55057099 SoSooding B June 3, 2019, 7:33 p.m. OK Python 2 TESTS 63 311 15872000 1200
69673506 soumyasarkar1998 B Jan. 28, 2020, 1:40 p.m. OK Python 2 TESTS 63 312 5632000 1200
55069239 amitdx94 B June 4, 2019, 5:28 a.m. OK Python 3 TESTS 63 202 9420800 1200
55078848 hitsedesen B June 4, 2019, 9:52 a.m. OK Python 3 TESTS 63 202 9523200 1200
55069730 rodrigods B June 4, 2019, 5:43 a.m. OK Python 3 TESTS 63 202 9523200 1200
55713173 sowlosc B June 18, 2019, 11:20 a.m. OK Python 3 TESTS 63 202 9932800 1200
55241504 Ricky_pon B June 7, 2019, 11:16 a.m. OK Python 3 TESTS 63 202 9932800 1200
59132375 vicwxz B Aug. 20, 2019, 11:29 a.m. OK Python 3 TESTS 63 217 9420800 1200
55068115 amruth_kumar B June 4, 2019, 4:54 a.m. OK Python 3 TESTS 63 217 9523200 1200
55089267 iamssk B June 4, 2019, 1:49 p.m. OK Python 3 TESTS 63 217 9932800 1200
55044990 princerk B June 3, 2019, 3:34 p.m. OK Python 3 TESTS 63 217 9932800 1200
55035621 wall_of_fire B June 3, 2019, 2:47 p.m. OK Python 3 TESTS 63 218 9420800 1200
59497422 sansen B Aug. 25, 2019, 11:44 p.m. OK Rust TESTS 63 46 2048000 1200
55046842 arzk B June 3, 2019, 3:46 p.m. OK Rust TESTS 63 109 1228800 1200

remove filters

Back to search problems