Codeforces Round 532 (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
1100 Codeforces Round 532 (Div. 2) FINISHED False 7200 190135524 Jan. 13, 2019, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 11240 ) B Build a Contest PROGRAMMING data structures implementation 1300

B"Arkady coordinates rounds on some not really famous competitive programming platform. Each round features n problems of distinct difficulty, the difficulties are numbered from 1 to n . To hold a round Arkady needs n new (not used previously) problems, one for each difficulty. As for now, Arkady creates all the problems himself, but unfortunately, he can't just create a problem of a desired difficulty. Instead, when he creates a problem, he evaluates its difficulty from 1 to n and puts it into the problems pool. At each moment when Arkady can choose a set of n new problems of distinct difficulties from the pool, he holds a round with these problems and removes them from the pool. Arkady always creates one problem at a time, so if he can hold a round after creating a problem, he immediately does it. You are given a sequence of problems' difficulties in the order Arkady created them. For each problem, determine whether Arkady held the round right after creating this problem, or not. Initially the problems pool is empty. The first line contains two integers n and m ( 1 <= n, m <= 10^5 ) -- the number of difficulty levels and the number of problems Arkady created. The second line contains m integers a_1, a_2, ldots, a_m ( 1 <= a_i <= n ) -- the problems' difficulties in the order Arkady created them. Print a line containing m digits. The i -th digit should be 1 if Arkady held the round after creation of the i -th problem, and 0 otherwise. In the first example Arkady held the round after the first three problems, because they are of distinct difficulties, and then only after the last problem. "...

Tutorials

Unofficial Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
48538551 jeong000307 B Jan. 18, 2019, 3:29 p.m. OK Clang++17 Diagnostics TESTS 51 436 1024000 1300
69643704 Ghozlan B Jan. 27, 2020, 10:51 p.m. OK Clang++17 Diagnostics TESTS 51 763 23449600 1300
62968403 sash0 B Oct. 20, 2019, 5:52 a.m. OK D TESTS 51 46 4198400 1300
62968246 sash0 B Oct. 20, 2019, 5:48 a.m. OK D TESTS 51 62 4300800 1300
62967864 sash0 B Oct. 20, 2019, 5:38 a.m. OK D TESTS 51 78 0 1300
48340218 licey43u B Jan. 13, 2019, 3:04 p.m. OK Delphi TESTS 51 46 819200 1300
48343526 ruban B Jan. 13, 2019, 3:16 p.m. OK Delphi TESTS 51 62 27852800 1300
48341263 nasway B Jan. 13, 2019, 3:07 p.m. OK FPC TESTS 51 46 1740800 1300
48340785 Craspedacusta B Jan. 13, 2019, 3:05 p.m. OK FPC TESTS 51 327 409600 1300
48352478 PA1109 B Jan. 13, 2019, 4:06 p.m. OK FPC TESTS 51 327 512000 1300
48507070 binarmo B Jan. 17, 2019, 6:12 p.m. OK FPC TESTS 51 327 921600 1300
48371415 i9code B Jan. 14, 2019, 4:39 a.m. OK FPC TESTS 51 327 1228800 1300
48348590 dan8643 B Jan. 13, 2019, 3:41 p.m. OK FPC TESTS 51 327 1228800 1300
48405257 PhuongPeu B Jan. 15, 2019, 2:54 a.m. OK FPC TESTS 51 327 1331200 1300
48341437 PAG B Jan. 13, 2019, 3:08 p.m. OK FPC TESTS 51 327 1638400 1300
51919696 chaorenhaha B March 28, 2019, 2:59 a.m. OK FPC TESTS 51 327 7987200 1300
48341002 Meibisu B Jan. 13, 2019, 3:06 p.m. OK FPC TESTS 51 342 409600 1300
52142512 sansen B April 1, 2019, 7:36 a.m. OK GNU C11 TESTS 51 31 409600 1300
48348185 NoSoul B Jan. 13, 2019, 3:39 p.m. OK GNU C11 TESTS 51 46 409600 1300
48541779 vjudge1 B Jan. 18, 2019, 5:06 p.m. OK GNU C11 TESTS 51 46 409600 1300
48376549 Rafaaaaaaaaaaaam B Jan. 14, 2019, 7:55 a.m. OK GNU C11 TESTS 51 46 409600 1300
49044991 vjudge5 B Jan. 27, 2019, 8:22 a.m. OK GNU C11 TESTS 51 46 819200 1300
49045273 2018030401093 B Jan. 27, 2019, 8:29 a.m. OK GNU C11 TESTS 51 46 819200 1300
49045309 vjudge2 B Jan. 27, 2019, 8:30 a.m. OK GNU C11 TESTS 51 46 819200 1300
49231084 balasiva B Jan. 31, 2019, 5:33 a.m. OK GNU C11 TESTS 51 46 819200 1300
48541924 vjudge1 B Jan. 18, 2019, 5:11 p.m. OK GNU C11 TESTS 51 46 819200 1300
48376117 Rafaaaaaaaaaaaam B Jan. 14, 2019, 7:40 a.m. OK GNU C11 TESTS 51 61 409600 1300
57480404 vjudge3 B July 22, 2019, 2:01 a.m. OK GNU C++11 TESTS 51 31 204800 1300
62388890 2016c01 B Oct. 11, 2019, 11:40 p.m. OK GNU C++11 TESTS 51 31 204800 1300
49467476 lolissimus B Feb. 4, 2019, 3:41 p.m. OK GNU C++11 TESTS 51 31 204800 1300
49467280 lolissimus B Feb. 4, 2019, 3:36 p.m. OK GNU C++11 TESTS 51 31 204800 1300
48367766 xgzc B Jan. 14, 2019, 12:37 a.m. OK GNU C++11 TESTS 51 31 204800 1300
49466565 lolissimus B Feb. 4, 2019, 3:19 p.m. OK GNU C++11 TESTS 51 31 204800 1300
57561531 luogu_bot5 B July 23, 2019, 1:02 a.m. OK GNU C++11 TESTS 51 31 307200 1300
62611430 Heartbeat666 B Oct. 15, 2019, 9:55 a.m. OK GNU C++11 TESTS 51 31 409600 1300
62611476 luogu_bot1 B Oct. 15, 2019, 9:56 a.m. OK GNU C++11 TESTS 51 31 409600 1300
51058089 MorsLin B March 9, 2019, 12:49 a.m. OK GNU C++11 TESTS 51 31 409600 1300
48360044 tokitsukaze B Jan. 13, 2019, 6:15 p.m. OK GNU C++14 TESTS 51 31 21196800 1300
48341767 MirrorCraze B Jan. 13, 2019, 3:09 p.m. OK GNU C++14 TESTS 51 46 204800 1300
59670530 the_amazon14 B Aug. 29, 2019, 3:51 p.m. OK GNU C++14 TESTS 51 46 409600 1300
66302319 pratiikgoogler B Dec. 5, 2019, 7:48 a.m. OK GNU C++14 TESTS 51 46 409600 1300
60639808 yusufali B Sept. 15, 2019, 3:06 p.m. OK GNU C++14 TESTS 51 46 409600 1300
59618713 Hitman9972 B Aug. 28, 2019, 1:33 p.m. OK GNU C++14 TESTS 51 46 409600 1300
57480610 Lovely_AC_Lucy B July 22, 2019, 2:09 a.m. OK GNU C++14 TESTS 51 46 409600 1300
57478897 vjudge4 B July 22, 2019, 1:10 a.m. OK GNU C++14 TESTS 51 46 409600 1300
55934014 abhi1agarwal B June 22, 2019, 12:59 p.m. OK GNU C++14 TESTS 51 46 409600 1300
54009655 soft_and_silent B May 12, 2019, 12:29 a.m. OK GNU C++14 TESTS 51 46 409600 1300
48544243 forget B Jan. 18, 2019, 6:24 p.m. OK GNU C++17 TESTS 51 31 409600 1300
59274200 TrivialMan B Aug. 22, 2019, 1:57 p.m. OK GNU C++17 TESTS 51 46 409600 1300
59591188 MagicWand B Aug. 27, 2019, 8:38 p.m. OK GNU C++17 TESTS 51 46 409600 1300
59854012 YGBoss007 B Sept. 1, 2019, 12:47 p.m. OK GNU C++17 TESTS 51 46 409600 1300
60142808 yun_ke B Sept. 5, 2019, 9:14 p.m. OK GNU C++17 TESTS 51 46 409600 1300
61924702 niftyy B Oct. 5, 2019, 2:15 p.m. OK GNU C++17 TESTS 51 46 409600 1300
65599752 tsirout123 B Nov. 23, 2019, 5:27 p.m. OK GNU C++17 TESTS 51 46 409600 1300
66138077 MichaelCh B Dec. 1, 2019, 1:07 p.m. OK GNU C++17 TESTS 51 46 409600 1300
66313714 1813004846 B Dec. 5, 2019, 12:20 p.m. OK GNU C++17 TESTS 51 46 409600 1300
58071628 shahinhakemi B July 31, 2019, 10:54 a.m. OK GNU C++17 TESTS 51 46 409600 1300
48345451 ak_j17_258749 B Jan. 13, 2019, 3:25 p.m. OK Go TESTS 51 61 716800 1300
48348295 mishagam B Jan. 13, 2019, 3:39 p.m. OK Go TESTS 51 62 4505600 1300
48706572 Meternal B Jan. 22, 2019, 6:12 a.m. OK Go TESTS 51 93 0 1300
48577806 life_is_not_bed_of_roses B Jan. 19, 2019, 2:59 p.m. OK Go TESTS 51 124 716800 1300
48405137 2008061626 B Jan. 15, 2019, 2:48 a.m. OK Go TESTS 51 404 0 1300
48343988 2008061626 B Jan. 13, 2019, 3:18 p.m. OK Go TESTS 51 420 0 1300
57914492 jmazon B July 28, 2019, 11:54 p.m. OK Haskell TESTS 51 46 2252800 1300
48351244 gksato B Jan. 13, 2019, 3:58 p.m. OK Haskell TESTS 51 46 10752000 1300
49080951 Hasker B Jan. 28, 2019, 6:07 a.m. OK Haskell TESTS 51 93 13824000 1300
48370160 Tushar__2018 B Jan. 14, 2019, 3:30 a.m. OK Java 8 TESTS 51 109 0 1300
61422320 Nirav412000 B Sept. 28, 2019, 12:08 p.m. OK Java 8 TESTS 51 124 0 1300
55430986 bhavikmehta98 B June 11, 2019, 11:24 a.m. OK Java 8 TESTS 51 124 0 1300
52642426 mannshah27 B April 12, 2019, 1:04 p.m. OK Java 8 TESTS 51 124 0 1300
48645376 bpendragon B Jan. 20, 2019, 5:12 p.m. OK Java 8 TESTS 51 124 0 1300
48488709 Pratik_Rajani B Jan. 17, 2019, 9:36 a.m. OK Java 8 TESTS 51 124 0 1300
48434937 meracle2309 B Jan. 15, 2019, 7:43 p.m. OK Java 8 TESTS 51 124 0 1300
48434285 tsumit023 B Jan. 15, 2019, 7:16 p.m. OK Java 8 TESTS 51 124 0 1300
48430304 amolpratap007 B Jan. 15, 2019, 5:01 p.m. OK Java 8 TESTS 51 124 0 1300
48362237 Ziklon B Jan. 13, 2019, 7:13 p.m. OK Java 8 TESTS 51 124 0 1300
48351306 romanovma B Jan. 13, 2019, 3:59 p.m. OK JavaScript TESTS 51 249 34406400 1300
51446396 jhw866 B March 18, 2019, 12:41 p.m. OK Kotlin TESTS 51 312 3584000 1300
59897012 david_varela B Sept. 2, 2019, 12:28 p.m. OK Kotlin TESTS 51 374 21913600 1300
59416632 vjudge5 B Aug. 24, 2019, 6:35 p.m. OK Kotlin TESTS 51 483 0 1300
49951232 Avtakhov B Feb. 15, 2019, 2:06 p.m. OK Kotlin TESTS 51 546 3481600 1300
48473312 Quaternion B Jan. 16, 2019, 11:35 p.m. OK Kotlin TESTS 51 607 4096000 1300
59137673 vjudge3 B Aug. 20, 2019, 1:15 p.m. OK Kotlin TESTS 51 608 0 1300
48341350 spookywooky B Jan. 13, 2019, 3:07 p.m. OK Kotlin TESTS 51 624 0 1300
48361188 Olegan777 B Jan. 13, 2019, 6:42 p.m. OK Kotlin TESTS 51 670 11776000 1300
48344449 islamdidarmd B Jan. 13, 2019, 3:20 p.m. OK Kotlin TESTS 51 717 21811200 1300
54902549 og.kostya B June 1, 2019, 7:23 a.m. OK Mono C# TESTS 51 61 819200 1300
54902108 og.kostya B June 1, 2019, 7:09 a.m. OK Mono C# TESTS 51 62 409600 1300
63645792 m1_k3 B Oct. 28, 2019, 9:38 a.m. OK Mono C# TESTS 51 93 3072000 1300
48343920 teru B Jan. 13, 2019, 3:18 p.m. OK Mono C# TESTS 51 93 12390400 1300
48470458 Illedan B Jan. 16, 2019, 7:52 p.m. OK Mono C# TESTS 51 93 13926400 1300
50505222 nemars B Feb. 25, 2019, 7:17 p.m. OK Mono C# TESTS 51 108 16076800 1300
53815587 treasuryonly B May 6, 2019, 10:08 a.m. OK Mono C# TESTS 51 109 9625600 1300
48689072 selpo B Jan. 21, 2019, 4:42 p.m. OK Mono C# TESTS 51 124 14950400 1300
48374228 jeanstefanovich B Jan. 14, 2019, 6:40 a.m. OK Mono C# TESTS 51 389 8192000 1300
48347495 VLukiantsev B Jan. 13, 2019, 3:35 p.m. OK Mono C# TESTS 51 405 91033600 1300
50771237 SUSTech-Vegetable B March 4, 2019, 5 a.m. OK MS C++ TESTS 51 46 409600 1300
48484672 vjudge1 B Jan. 17, 2019, 7:49 a.m. OK MS C++ TESTS 51 46 409600 1300
48340959 r57shell B Jan. 13, 2019, 3:06 p.m. OK MS C++ TESTS 51 46 409600 1300
50689473 wjfwjfwjf B March 2, 2019, 3:01 p.m. OK MS C++ TESTS 51 46 409600 1300
57479109 vjudge5 B July 22, 2019, 1:17 a.m. OK MS C++ TESTS 51 46 409600 1300
49928179 vjudge1 B Feb. 15, 2019, 1:46 a.m. OK MS C++ TESTS 51 46 512000 1300
53847978 vjudge3 B May 7, 2019, 12:04 p.m. OK MS C++ TESTS 51 46 819200 1300
50349396 vjudge2 B Feb. 23, 2019, 7:51 a.m. OK MS C++ TESTS 51 46 819200 1300
53582292 vjudge3 B April 30, 2019, 4:18 p.m. OK MS C++ TESTS 51 46 819200 1300
56874912 vjudge3 B July 12, 2019, 7:55 a.m. OK MS C++ TESTS 51 46 819200 1300
50607324 youx B Feb. 28, 2019, 3:10 p.m. OK MS C++ 2017 TESTS 51 61 819200 1300
56041313 petko_mitkov B June 25, 2019, 2:27 p.m. OK MS C++ 2017 TESTS 51 62 409600 1300
68652979 vjudge4 B Jan. 12, 2020, 11:21 a.m. OK MS C++ 2017 TESTS 51 62 819200 1300
57348221 116c B July 20, 2019, 1:35 a.m. OK MS C++ 2017 TESTS 51 62 1228800 1300
54364962 yun_ke B May 19, 2019, 1:36 a.m. OK MS C++ 2017 TESTS 51 108 409600 1300
69262969 arduinoprog B Jan. 21, 2020, 5:39 p.m. OK MS C++ 2017 TESTS 51 109 409600 1300
56037550 petko_mitkov B June 25, 2019, 12:47 p.m. OK MS C++ 2017 TESTS 51 109 3993600 1300
58527986 ZSTU-2018329621261 B Aug. 10, 2019, 8:05 a.m. OK MS C++ 2017 TESTS 51 124 7577600 1300
67470921 HPV B Dec. 23, 2019, 12:47 p.m. OK MS C++ 2017 TESTS 51 155 1228800 1300
64882357 vjudge2 B Nov. 14, 2019, 12:01 p.m. OK MS C++ 2017 TESTS 51 156 1126400 1300
48647288 sk0 B Jan. 20, 2019, 6:15 p.m. OK Ocaml TESTS 51 46 921600 1300
48359548 mateuszdanowski B Jan. 13, 2019, 6:05 p.m. OK Ocaml TESTS 51 46 921600 1300
48651016 sk0 B Jan. 20, 2019, 8:59 p.m. OK Ocaml TESTS 51 61 204800 1300
48343754 sk0 B Jan. 13, 2019, 3:17 p.m. OK Ocaml TESTS 51 156 5222400 1300
48359028 sk0 B Jan. 13, 2019, 5:59 p.m. OK Ocaml TESTS 51 218 2867200 1300
48342608 Darooha B Jan. 13, 2019, 3:12 p.m. OK Ocaml TESTS 51 311 7372800 1300
48364343 mayakin B Jan. 13, 2019, 8:27 p.m. OK PHP TESTS 51 77 35225600 1300
49339663 Dry7 B Feb. 1, 2019, 9:16 p.m. OK PHP TESTS 51 421 14233600 1300
48374644 ahnmo777 B Jan. 14, 2019, 6:53 a.m. OK PHP TESTS 51 467 14233600 1300
48648603 thenewguy39 B Jan. 20, 2019, 7:06 p.m. OK PyPy 2 TESTS 51 155 8089600 1300
48345321 seva_b B Jan. 13, 2019, 3:24 p.m. OK PyPy 2 TESTS 51 170 10342400 1300
48483759 vjudge3 B Jan. 17, 2019, 7:22 a.m. OK PyPy 2 TESTS 51 171 11161600 1300
49881345 gatsko B Feb. 13, 2019, 6:19 p.m. OK PyPy 2 TESTS 51 202 13209600 1300
48355966 kbagoli1999 B Jan. 13, 2019, 4:28 p.m. OK PyPy 2 TESTS 51 234 9420800 1300
48345879 figdan B Jan. 13, 2019, 3:27 p.m. OK PyPy 2 TESTS 51 623 6451200 1300
48363462 ben1989 B Jan. 13, 2019, 7:53 p.m. OK PyPy 2 TESTS 51 826 7475200 1300
48397976 mug B Jan. 14, 2019, 6:47 p.m. OK PyPy 3 TESTS 51 187 12800000 1300
48447020 Orik988 B Jan. 16, 2019, 8:02 a.m. OK PyPy 3 TESTS 51 202 10752000 1300
48607782 nostalin B Jan. 20, 2019, 11:55 a.m. OK PyPy 3 TESTS 51 202 12083200 1300
48483412 vjudge5 B Jan. 17, 2019, 7:12 a.m. OK PyPy 3 TESTS 51 202 12595200 1300
48379351 nik-in-au B Jan. 14, 2019, 9:37 a.m. OK PyPy 3 TESTS 51 202 13721600 1300
48360923 bkalra92 B Jan. 13, 2019, 6:35 p.m. OK PyPy 3 TESTS 51 202 14540800 1300
48483487 vjudge1 B Jan. 17, 2019, 7:14 a.m. OK PyPy 3 TESTS 51 218 12595200 1300
61206406 CubeCakes B Sept. 24, 2019, 9:53 a.m. OK PyPy 3 TESTS 51 218 13824000 1300
48467752 Bovniova B Jan. 16, 2019, 6:10 p.m. OK PyPy 3 TESTS 51 233 11059200 1300
48360422 devansh1497 B Jan. 13, 2019, 6:23 p.m. OK PyPy 3 TESTS 51 234 14745600 1300
48360001 kardandon B Jan. 13, 2019, 6:14 p.m. OK Python 2 TESTS 51 265 5427200 1300
48359024 brurrito B Jan. 13, 2019, 5:58 p.m. OK Python 2 TESTS 51 265 5427200 1300
48358950 brurrito B Jan. 13, 2019, 5:58 p.m. OK Python 2 TESTS 51 280 5324800 1300
48356674 conjecture_xyz B Jan. 13, 2019, 4:32 p.m. OK Python 2 TESTS 51 280 5324800 1300
48345656 supachai_pay B Jan. 13, 2019, 3:26 p.m. OK Python 2 TESTS 51 280 5324800 1300
48450638 Mohammed_52 B Jan. 16, 2019, 10:09 a.m. OK Python 2 TESTS 51 280 8806400 1300
48342855 wolffd B Jan. 13, 2019, 3:13 p.m. OK Python 2 TESTS 51 295 5939200 1300
48398151 hoangbao B Jan. 14, 2019, 6:53 p.m. OK Python 2 TESTS 51 295 9318400 1300
48478635 nealzane B Jan. 17, 2019, 4:46 a.m. OK Python 2 TESTS 51 296 5734400 1300
48584191 flash_back B Jan. 19, 2019, 6:28 p.m. OK Python 2 TESTS 51 296 6860800 1300
48360407 ahnmo777 B Jan. 13, 2019, 6:23 p.m. OK Python 3 TESTS 51 187 7372800 1300
48430931 nani_7 B Jan. 15, 2019, 5:23 p.m. OK Python 3 TESTS 51 187 9625600 1300
48384366 saku7 B Jan. 14, 2019, 12:11 p.m. OK Python 3 TESTS 51 187 9625600 1300
48395445 aksh02 B Jan. 14, 2019, 5:25 p.m. OK Python 3 TESTS 51 202 7372800 1300
48395390 aksh02 B Jan. 14, 2019, 5:23 p.m. OK Python 3 TESTS 51 202 7372800 1300
48409187 wangzpeng B Jan. 15, 2019, 6:36 a.m. OK Python 3 TESTS 51 202 9523200 1300
48409540 Messiah_10 B Jan. 15, 2019, 6:50 a.m. OK Python 3 TESTS 51 202 9625600 1300
59592560 vamsi246verma B Aug. 27, 2019, 9:43 p.m. OK Python 3 TESTS 51 202 10444800 1300
48469991 julianferres B Jan. 16, 2019, 7:32 p.m. OK Python 3 TESTS 51 202 12083200 1300
48358647 p4thet1c B Jan. 13, 2019, 5:55 p.m. OK Python 3 TESTS 51 217 7372800 1300
48342084 brauliobz B Jan. 13, 2019, 3:10 p.m. OK Rust TESTS 51 77 8089600 1300
48348408 nafeezabrar B Jan. 13, 2019, 3:40 p.m. OK Scala TESTS 51 670 8192000 1300

remove filters

Back to search problems