Codeforces Round 464 (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
939 Codeforces Round 464 (Div. 2) FINISHED False 7200 212961299 Feb. 17, 2018, 10:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 3162 ) E Maximize! PROGRAMMING binary search greedy ternary search two pointers 1900

B"You are given a multiset S consisting of positive integers (initially empty). There are two kind of queries: The first line contains a single integer Q (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89Q xe2 x80 x89 xe2 x89 xa4 xe2 x80 x895 xc2 xb7105) -- the number of queries. Each of the next Q lines contains a description of query. For queries of type 1 two integers 1 and x are given, where x (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89x xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109) is a number that you should add to S. It's guaranteed that x is not less than any number in S. For queries of type 2, a single integer 2 is given. It's guaranteed that the first query has type 1, i. e. S is not empty when a query of type 2 comes. Output the answer for each query of the second type in the order these queries are given in input. Each number should be printed in separate line. Your answer is considered correct, if each of your answers has absolute or relative error not greater than 10 xe2 x80 x89- xe2 x80 x896. Formally, let your answer be a, and the jury's answer be b. Your answer is considered correct if . "...

Tutorials

Analysis of Codeforces Round #464

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
35611757 Slonik E Feb. 23, 2018, 11:38 p.m. OK FPC TESTS 30 795 5632000 1900
35519940 caen E Feb. 20, 2018, 11:48 a.m. OK GNU C TESTS 30 467 5836800 1900
35894686 yanshannan E March 3, 2018, 4:27 p.m. OK GNU C++ TESTS 30 202 10956800 1900
35436423 cwb_sb E Feb. 18, 2018, 5:04 a.m. OK GNU C++ TESTS 30 233 3891200 1900
35574257 Toosample E Feb. 22, 2018, 1:29 p.m. OK GNU C++ TESTS 30 233 4096000 1900
35515281 zhenGG E Feb. 20, 2018, 8:18 a.m. OK GNU C++ TESTS 30 233 4096000 1900
35543968 Mrha E Feb. 21, 2018, 10:24 a.m. OK GNU C++ TESTS 30 234 9932800 1900
37536520 DQS E April 22, 2018, 4:11 p.m. OK GNU C++ TESTS 30 234 75673600 1900
38116750 Scut82 E May 11, 2018, 2:26 p.m. OK GNU C++ TESTS 30 248 9830400 1900
35672400 Bartholomew E Feb. 25, 2018, 8:21 a.m. OK GNU C++ TESTS 30 249 6144000 1900
35590516 luogu_bot3 E Feb. 23, 2018, 7:31 a.m. OK GNU C++ TESTS 30 249 8089600 1900
35589329 luogu_bot1 E Feb. 23, 2018, 6:09 a.m. OK GNU C++ TESTS 30 249 10956800 1900
57922025 vjudge1 E July 29, 2019, 5:25 a.m. OK GNU C11 TESTS 30 1622 6041600 1900
50154799 07_2018 E Feb. 19, 2019, 9:24 a.m. OK GNU C++11 TESTS 30 187 2048000 1900
57379442 Kylin_ E July 20, 2019, 1:58 p.m. OK GNU C++11 TESTS 30 187 7884800 1900
44428690 SGColin E Oct. 17, 2018, 6:23 a.m. OK GNU C++11 TESTS 30 187 7987200 1900
64293691 Duanyll E Nov. 5, 2019, 7:56 a.m. OK GNU C++11 TESTS 30 202 3174400 1900
44686609 When E Oct. 22, 2018, 9:55 a.m. OK GNU C++11 TESTS 30 202 3993600 1900
57785222 luogu_bot2 E July 26, 2019, 7:31 a.m. OK GNU C++11 TESTS 30 202 5836800 1900
44428739 COLINGAO E Oct. 17, 2018, 6:25 a.m. OK GNU C++11 TESTS 30 202 7987200 1900
44433470 1776840722 E Oct. 17, 2018, 8:47 a.m. OK GNU C++11 TESTS 30 202 7987200 1900
35435204 icube E Feb. 18, 2018, 3:14 a.m. OK GNU C++11 TESTS 30 217 6041600 1900
44425196 luogu_bot2 E Oct. 17, 2018, 3:39 a.m. OK GNU C++11 TESTS 30 218 3788800 1900
35430410 ankeet E Feb. 17, 2018, 8:07 p.m. OK GNU C++14 TESTS 30 295 3891200 1900
35430345 ankeet E Feb. 17, 2018, 8:04 p.m. OK GNU C++14 TESTS 30 295 3891200 1900
35430473 ankeet E Feb. 17, 2018, 8:10 p.m. OK GNU C++14 TESTS 30 296 3891200 1900
35430335 ankeet E Feb. 17, 2018, 8:03 p.m. OK GNU C++14 TESTS 30 311 3891200 1900
35442334 interestingLSY E Feb. 18, 2018, 9:59 a.m. OK GNU C++14 TESTS 30 311 5120000 1900
45718374 joey161 E Nov. 14, 2018, 3:53 p.m. OK GNU C++14 TESTS 30 311 8704000 1900
35430196 ankeet E Feb. 17, 2018, 7:58 p.m. OK GNU C++14 TESTS 30 312 3891200 1900
35430161 ankeet E Feb. 17, 2018, 7:56 p.m. OK GNU C++14 TESTS 30 312 3891200 1900
35430244 ankeet E Feb. 17, 2018, 8 p.m. OK GNU C++14 TESTS 30 312 3891200 1900
54015177 1710252507 E May 12, 2019, 6:09 a.m. OK GNU C++14 TESTS 30 312 7987200 1900
35419850 libra9z E Feb. 17, 2018, 2:23 p.m. OK GNU C++17 TESTS 30 327 5017600 1900
36515907 embrane E March 22, 2018, 9:15 p.m. OK GNU C++17 TESTS 30 342 7270400 1900
67324238 APM28 E Dec. 21, 2019, 9:11 a.m. OK GNU C++17 TESTS 30 343 3993600 1900
67326609 APM28 E Dec. 21, 2019, 9:59 a.m. OK GNU C++17 TESTS 30 358 3993600 1900
67325668 APM28 E Dec. 21, 2019, 9:40 a.m. OK GNU C++17 TESTS 30 358 3993600 1900
35904029 LiChenKoh E March 4, 2018, 12:29 a.m. OK GNU C++17 TESTS 30 373 5939200 1900
67325243 APM28 E Dec. 21, 2019, 9:31 a.m. OK GNU C++17 TESTS 30 374 3993600 1900
67324555 APM28 E Dec. 21, 2019, 9:17 a.m. OK GNU C++17 TESTS 30 374 3993600 1900
67327272 APM28 E Dec. 21, 2019, 10:14 a.m. OK GNU C++17 TESTS 30 374 3993600 1900
68689170 SingerCoder E Jan. 13, 2020, 5:15 a.m. OK GNU C++17 TESTS 30 389 1945600 1900
67326691 APM28 E Dec. 21, 2019, 10:01 a.m. OK Java 11 TESTS 30 2277 0 1900
67327241 APM28 E Dec. 21, 2019, 10:13 a.m. OK Java 11 TESTS 30 2292 0 1900
67260939 APM28 E Dec. 20, 2019, 3:24 a.m. OK Java 11 TESTS 30 2292 5017600 1900
67380018 APM28 E Dec. 21, 2019, 4:07 p.m. OK Java 11 TESTS 30 2339 5017600 1900
67271548 APM28 E Dec. 20, 2019, 8:31 a.m. OK Java 11 TESTS 30 2339 5017600 1900
67260870 APM28 E Dec. 20, 2019, 3:21 a.m. OK Java 11 TESTS 30 2370 5017600 1900
67260979 APM28 E Dec. 20, 2019, 3:26 a.m. OK Java 11 TESTS 30 2386 5017600 1900
47875845 aman28rwt E Jan. 3, 2019, 3:19 p.m. OK Java 8 TESTS 30 420 0 1900
52548879 dalt E April 10, 2019, 1:35 a.m. OK Java 8 TESTS 30 451 32665600 1900
49884252 Ahmad_Elsagheer E Feb. 13, 2019, 8:02 p.m. OK Java 8 TESTS 30 514 0 1900
35775622 tyuan73 E Feb. 27, 2018, 9:33 p.m. OK Java 8 TESTS 30 514 21094400 1900
35564313 Itwazonce E Feb. 22, 2018, 4:08 a.m. OK Java 8 TESTS 30 514 25497600 1900
35563900 Itwazonce E Feb. 22, 2018, 3:31 a.m. OK Java 8 TESTS 30 514 25497600 1900
35548819 parth_15 E Feb. 21, 2018, 1:31 p.m. OK Java 8 TESTS 30 514 28160000 1900
35775944 tyuan73 E Feb. 27, 2018, 10:13 p.m. OK Java 8 TESTS 30 529 21094400 1900
36240401 Golmol E March 13, 2018, 6:33 a.m. OK Java 8 TESTS 30 529 29081600 1900
38649386 spar5h E May 27, 2018, 7 a.m. OK Java 8 TESTS 30 546 9216000 1900
38711908 ZALeo E May 29, 2018, 7:28 a.m. OK Kotlin TESTS 30 2417 7680000 1900
64560662 satyamcse E Nov. 9, 2019, 5:55 a.m. OK Kotlin TESTS 30 2838 31948800 1900
40978063 ReaLNero1 E July 30, 2018, 4:28 p.m. OK Mono C# TESTS 30 140 7168000 1900
38322591 og.kostya E May 16, 2018, 1:12 p.m. OK Mono C# TESTS 30 155 15155200 1900
40977609 ReaLNero1 E July 30, 2018, 4:17 p.m. OK Mono C# TESTS 30 156 7168000 1900
51932634 hongquanntct E March 28, 2019, 11:09 a.m. OK Mono C# TESTS 30 327 27136000 1900
35453746 claw88 E Feb. 18, 2018, 6:06 p.m. OK Mono C# TESTS 30 358 23654400 1900
52212357 Mosyagin E April 1, 2019, 8:49 p.m. OK Mono C# TESTS 30 358 43110400 1900
52212369 Mosyagin E April 1, 2019, 8:50 p.m. OK Mono C# TESTS 30 374 9625600 1900
35453625 claw88 E Feb. 18, 2018, 6:01 p.m. OK Mono C# TESTS 30 436 32051200 1900
35453706 claw88 E Feb. 18, 2018, 6:04 p.m. OK Mono C# TESTS 30 436 32051200 1900
35453875 claw88 E Feb. 18, 2018, 6:12 p.m. OK Mono C# TESTS 30 436 32051200 1900
35453823 claw88 E Feb. 18, 2018, 6:10 p.m. OK MS C# TESTS 30 373 23654400 1900
35680519 Gugulete E Feb. 25, 2018, 1:10 p.m. OK MS C# TESTS 30 420 49254400 1900
35437923 MenOfPassion E Feb. 18, 2018, 6:29 a.m. OK MS C++ TESTS 30 373 11878400 1900
35437800 MenOfPassion E Feb. 18, 2018, 6:23 a.m. OK MS C++ TESTS 30 373 11878400 1900
35435854 Volpe E Feb. 18, 2018, 4:15 a.m. OK MS C++ TESTS 30 374 11878400 1900
35437887 MenOfPassion E Feb. 18, 2018, 6:27 a.m. OK MS C++ TESTS 30 374 11878400 1900
35437900 MenOfPassion E Feb. 18, 2018, 6:28 a.m. OK MS C++ TESTS 30 389 11878400 1900
43482498 vjudge3 E Sept. 27, 2018, 8:09 a.m. OK MS C++ TESTS 30 436 2457600 1900
35567963 Volpe E Feb. 22, 2018, 8:28 a.m. OK MS C++ TESTS 30 436 18022400 1900
63067669 vjudge5 E Oct. 21, 2019, 11:25 a.m. OK MS C++ TESTS 30 451 3993600 1900
43597519 vjudge1 E Sept. 30, 2018, 8:09 a.m. OK MS C++ TESTS 30 451 16076800 1900
57921363 vjudge4 E July 29, 2019, 5 a.m. OK MS C++ TESTS 30 452 7987200 1900
57931058 vjudge2 E July 29, 2019, 8:44 a.m. OK MS C++ 2017 TESTS 30 436 6041600 1900
57984578 vjudge2 E July 30, 2019, 10:51 a.m. OK MS C++ 2017 TESTS 30 467 7987200 1900
69708497 vjudge4 E Jan. 29, 2020, 5:56 a.m. OK MS C++ 2017 TESTS 30 1746 7987200 1900
68011802 vjudge4 E Dec. 31, 2019, 4:13 p.m. OK PyPy 2 TESTS 30 2105 48230400 1900
68012657 MVP E Dec. 31, 2019, 4:39 p.m. OK PyPy 2 TESTS 30 2386 48230400 1900
62101716 deadguy E Oct. 8, 2019, 9:20 a.m. OK PyPy 3 TESTS 30 1590 116326400 1900
43157354 sergovoy E Sept. 20, 2018, 8:54 p.m. OK PyPy 3 TESTS 30 1730 117555200 1900
44620850 icpc_practice E Oct. 21, 2018, 6:15 a.m. OK Python 2 TESTS 30 1715 19763200 1900
38980559 Ali_Pi E June 5, 2018, 11:45 p.m. OK Python 2 TESTS 30 2542 24985600 1900
36891572 s.ritam.7692 E April 3, 2018, 2:25 a.m. OK Python 2 TESTS 30 2573 30822400 1900
35803528 Savit_Gupta E March 1, 2018, 6:24 a.m. OK Python 3 TESTS 30 2870 24268800 1900
35995108 vain0 E March 6, 2018, 2:37 p.m. OK Rust TESTS 30 389 16691200 1900

remove filters

Back to search problems