Codeforces Round 430 (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
842 Codeforces Round 430 (Div. 2) FINISHED False 7200 233506524 Aug. 29, 2017, 3:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 3748 ) D Vitya and Strange Lesson PROGRAMMING binary search data structures 2100

B'Today at the lesson Vitya learned a very interesting function -- mex. Mex of a sequence of numbers is the minimum non-negative number that is not present in the sequence as element. For example, mex([4, xe2 x80 x8933, xe2 x80 x890, xe2 x80 x891, xe2 x80 x891, xe2 x80 x895]) xe2 x80 x89= xe2 x80 x892 and mex([1, xe2 x80 x892, xe2 x80 x893]) xe2 x80 x89= xe2 x80 x890. Vitya quickly understood all tasks of the teacher, but can you do the same? You are given an array consisting of n non-negative integers, and m queries. Each query is characterized by one number x and consists of the following consecutive steps: Note that after each query the array changes. First line contains two integer numbers n and m (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x893 xc2 xb7105) -- number of elements in array and number of queries. Next line contains n integer numbers ai (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ai xe2 x80 x89 xe2 x89 xa4 xe2 x80 x893 xc2 xb7105) -- elements of then array. Each of next m lines contains query -- one integer number x (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89x xe2 x80 x89 xe2 x89 xa4 xe2 x80 x893 xc2 xb7105). For each query print the answer on a separate line. '...

Tutorials

Tutorial Codeforces Round #430 (Div. 2)

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
32857795 Scut82 D Dec. 2, 2017, 12:27 p.m. OK GNU C++ TESTS 68 77 42188800 2100
40980218 ReaLNero1 D July 30, 2018, 5:25 p.m. OK GNU C++ TESTS 68 78 40140800 2100
29963595 vjudge5 D Sept. 1, 2017, 3:41 a.m. OK GNU C++ TESTS 68 109 163942400 2100
29894284 zyyorz D Aug. 29, 2017, 4:46 p.m. OK GNU C++ TESTS 68 109 242585600 2100
35381553 yang23 D Feb. 17, 2018, 4:14 a.m. OK GNU C++ TESTS 68 124 70553600 2100
29938695 abhinash_rai D Aug. 31, 2017, 9:11 a.m. OK GNU C++ TESTS 68 140 4198400 2100
29906697 xmhuangzhen D Aug. 30, 2017, 3:06 a.m. OK GNU C++ TESTS 68 140 11980800 2100
29896932 zzb111 D Aug. 29, 2017, 5:01 p.m. OK GNU C++ TESTS 68 140 48128000 2100
35381524 yang23 D Feb. 17, 2018, 4:11 a.m. OK GNU C++ TESTS 68 140 70553600 2100
29915151 QAEAWAA D Aug. 30, 2017, 10:59 a.m. OK GNU C++ TESTS 68 140 102195200 2100
29913845 f2lk6wf90d D Aug. 30, 2017, 9:59 a.m. OK GNU C11 TESTS 68 1903 201011200 2100
30455695 f2lk6wf90d D Sept. 18, 2017, 5:31 a.m. OK GNU C11 TESTS 68 1965 202956800 2100
30641384 cscandkswon D Sept. 23, 2017, 12:32 p.m. OK GNU C++11 TESTS 68 124 4300800 2100
45054896 xsc D Oct. 29, 2018, 12:19 p.m. OK GNU C++11 TESTS 68 124 26419200 2100
29917759 choutii D Aug. 30, 2017, 12:59 p.m. OK GNU C++11 TESTS 68 124 26521600 2100
48542623 gmr D Jan. 18, 2019, 5:31 p.m. OK GNU C++11 TESTS 68 124 37273600 2100
62346617 gubeiqg D Oct. 11, 2019, 7:47 a.m. OK GNU C++11 TESTS 68 124 41984000 2100
49324042 HiOkami D Feb. 1, 2019, 1:24 p.m. OK GNU C++11 TESTS 68 124 51097600 2100
53423018 Qglin D April 27, 2019, 12:22 p.m. OK GNU C++11 TESTS 68 124 68505600 2100
53539337 chhokmah D April 30, 2019, 5:30 a.m. OK GNU C++11 TESTS 68 124 120217600 2100
63925852 Xones D Oct. 31, 2019, 12:59 p.m. OK GNU C++11 TESTS 68 124 132300800 2100
49324120 HiOkami D Feb. 1, 2019, 1:26 p.m. OK GNU C++11 TESTS 68 139 51097600 2100
29894225 applese D Aug. 29, 2017, 4:46 p.m. OK GNU C++14 TESTS 68 78 9216000 2100
36115365 ..vince D March 9, 2018, 12:21 p.m. OK GNU C++14 TESTS 68 187 7270400 2100
31908952 dotorya D Oct. 31, 2017, 2 a.m. OK GNU C++14 TESTS 68 202 2457600 2100
29887023 Egor.Lifar D Aug. 29, 2017, 4:04 p.m. OK GNU C++14 TESTS 68 202 3584000 2100
29883316 natsugiri D Aug. 29, 2017, 3:46 p.m. OK GNU C++14 TESTS 68 202 4198400 2100
29920370 waynetuinfor D Aug. 30, 2017, 2:14 p.m. OK GNU C++14 TESTS 68 202 16896000 2100
57827880 vjudge3 D July 27, 2019, 4:29 a.m. OK GNU C++14 TESTS 68 202 48025600 2100
29966610 Taco D Sept. 1, 2017, 8:03 a.m. OK GNU C++14 TESTS 68 202 120320000 2100
29915200 MStrechen D Aug. 30, 2017, 11:01 a.m. OK GNU C++14 TESTS 68 217 2150400 2100
29895547 redbox D Aug. 29, 2017, 4:54 p.m. OK GNU C++14 TESTS 68 217 72601600 2100
55965756 vjudge1 D June 23, 2019, 12:01 p.m. OK GNU C++17 TESTS 68 202 7987200 2100
48669388 tataky D Jan. 21, 2019, 9:52 a.m. OK GNU C++17 TESTS 68 202 70041600 2100
53720236 MetB D May 3, 2019, 10:11 p.m. OK GNU C++17 TESTS 68 218 7987200 2100
60180670 LawrenceMelo D Sept. 6, 2019, 4:11 p.m. OK GNU C++17 TESTS 68 218 14950400 2100
44447107 aki167yuuki D Oct. 17, 2018, 2:21 p.m. OK GNU C++17 TESTS 68 233 89497600 2100
65930272 silxi D Nov. 28, 2019, 8:34 p.m. OK GNU C++17 TESTS 68 233 92672000 2100
46392708 vjudge2 D Nov. 30, 2018, 7:05 a.m. OK GNU C++17 TESTS 68 233 105062400 2100
65689303 vjudge2 D Nov. 25, 2019, 3:24 a.m. OK GNU C++17 TESTS 68 233 153907200 2100
56615113 vjudge2 D July 6, 2019, 9:14 a.m. OK GNU C++17 TESTS 68 233 172339200 2100
51953552 Princ_iple D March 28, 2019, 10:53 p.m. OK GNU C++17 TESTS 68 234 2150400 2100
44601002 Marii D Oct. 20, 2018, 2:25 p.m. OK Go TESTS 68 639 14540800 2100
29956482 uwi D Aug. 31, 2017, 6:10 p.m. OK Java 8 TESTS 68 280 3072000 2100
29917988 meijun D Aug. 30, 2017, 1:10 p.m. OK Java 8 TESTS 68 280 7987200 2100
30052560 synapse D Sept. 4, 2017, 12:18 p.m. OK Java 8 TESTS 68 295 4915200 2100
29928097 Saturnman D Aug. 30, 2017, 5:49 p.m. OK Java 8 TESTS 68 296 7782400 2100
29903522 ebaalhuis D Aug. 29, 2017, 10:03 p.m. OK Java 8 TESTS 68 311 3174400 2100
34109297 alibaba D Jan. 12, 2018, 3:13 p.m. OK Java 8 TESTS 68 327 30105600 2100
29926528 Saturnman D Aug. 30, 2017, 5:41 p.m. OK Java 8 TESTS 68 358 4710400 2100
29909727 shpalasara D Aug. 30, 2017, 6:41 a.m. OK Java 8 TESTS 68 358 17100800 2100
29913766 coderbond007 D Aug. 30, 2017, 9:55 a.m. OK Java 8 TESTS 68 389 0 2100
31596682 Maulik_Patel D Oct. 22, 2017, 7:56 a.m. OK Java 8 TESTS 68 389 64307200 2100
29894800 leign D Aug. 29, 2017, 4:49 p.m. OK Mono C# TESTS 68 358 29696000 2100
29888439 azukun D Aug. 29, 2017, 4:12 p.m. OK MS C# TESTS 68 390 35737600 2100
29894182 AlexanderL D Aug. 29, 2017, 4:46 p.m. OK MS C# TESTS 68 1435 31744000 2100
57825192 vjudge3 D July 27, 2019, 2:37 a.m. OK MS C++ TESTS 68 202 117862400 2100
57825520 vjudge1 D July 27, 2019, 2:49 a.m. OK MS C++ TESTS 68 218 31334400 2100
58200041 vjudge1 D Aug. 3, 2019, 3:33 a.m. OK MS C++ TESTS 68 218 79667200 2100
68392830 vjudge5 D Jan. 8, 2020, 9:29 a.m. OK MS C++ TESTS 68 218 111820800 2100
44932766 vjudge3 D Oct. 27, 2018, 3:06 a.m. OK MS C++ TESTS 68 218 145100800 2100
66223251 vjudge3 D Dec. 3, 2019, 11:36 a.m. OK MS C++ TESTS 68 218 218828800 2100
57784962 vjudge2 D July 26, 2019, 7:25 a.m. OK MS C++ TESTS 68 233 144896000 2100
66430477 vjudge2 D Dec. 7, 2019, 2:26 a.m. OK MS C++ TESTS 68 249 15667200 2100
57825296 vjudge3 D July 27, 2019, 2:41 a.m. OK MS C++ TESTS 68 249 117862400 2100
60912070 vjudge1 D Sept. 20, 2019, 6:25 a.m. OK MS C++ TESTS 68 249 144896000 2100
57946997 TianJianXing D July 29, 2019, 2:44 p.m. OK MS C++ 2017 TESTS 68 280 48640000 2100
57949023 TianSunXing D July 29, 2019, 3:36 p.m. OK MS C++ 2017 TESTS 68 296 54067200 2100
57967166 TianZuiXing D July 30, 2019, 3:25 a.m. OK MS C++ 2017 TESTS 68 358 73318400 2100
57963760 TianZuiXing D July 30, 2019, 1:27 a.m. OK MS C++ 2017 TESTS 68 421 68403200 2100
60390010 nuchenghao D Sept. 11, 2019, 12:58 p.m. OK MS C++ 2017 TESTS 68 1653 48128000 2100
39850750 Ali_Pi D July 1, 2018, 8:27 p.m. OK PyPy 2 TESTS 68 499 37068800 2100
29921503 nwi D Aug. 30, 2017, 2:37 p.m. OK Python 2 TESTS 68 1606 32768000 2100

remove filters

Back to search problems