Codeforces Round 247 (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
431 Codeforces Round 247 (Div. 2) FINISHED False 7200 331136999 May 21, 2014, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1023 ) E Chemistry Experiment PROGRAMMING binary search data structures ternary search 2500

B"One day two students, Grisha and Diana, found themselves in the university chemistry lab. In the lab the students found n test tubes with mercury numbered from 1 to n and decided to conduct an experiment. The experiment consists of q steps. On each step, one of the following actions occurs: Unfortunately, the calculations proved to be too complex and the students asked you to help them. Help them conduct the described experiment. The first line contains two integers n and q (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89q xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105) -- the number of tubes ans the number of experiment steps. The next line contains n space-separated integers: h1, xe2 x80 x89h2, xe2 x80 x89..., xe2 x80 x89hn (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89hi xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109), where hi is the volume of mercury in the xd1 x96-th tube at the beginning of the experiment. The next q lines contain the game actions in the following format: It is guaranteed that there is at least one action of the second type. It is guaranteed that all numbers that describe the experiment are integers. For each action of the second type print the calculated value. The answer will be considered correct if its relative or absolute error doesn't exceed 10 xe2 x80 x89- xe2 x80 x894."...

Tutorials

Editorial Codeforces Round #247 (Div. 2)

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
12414033 igdor99 E Aug. 8, 2015, 11:53 a.m. OK FPC TESTS 50 842 17817600 2500
40988665 ReaLNero1 E July 30, 2018, 10:15 p.m. OK GNU C++ TESTS 50 171 7065600 2500
12811748 Altria-PenDragon E Sept. 2, 2015, 7:22 a.m. OK GNU C++ TESTS 50 171 7065600 2500
11846076 Dylans E June 30, 2015, 6:15 a.m. OK GNU C++ TESTS 50 171 7065600 2500
7620392 Remilia-Scarlet E Aug. 29, 2014, 10:29 a.m. OK GNU C++ TESTS 50 171 7168000 2500
6858983 qqz003 E June 10, 2014, 12:19 p.m. OK GNU C++ TESTS 50 218 6041600 2500
6858763 qqz003 E June 10, 2014, 11:30 a.m. OK GNU C++ TESTS 50 218 6041600 2500
6721381 Lweb E May 27, 2014, 12:39 p.m. OK GNU C++ TESTS 50 218 6041600 2500
23530223 cyand1317 E Jan. 4, 2017, 7:36 a.m. OK GNU C++ TESTS 50 218 11059200 2500
21910136 chbug E Oct. 31, 2016, 11:41 a.m. OK GNU C++ TESTS 50 234 9625600 2500
20455600 MohanLau E Sept. 8, 2016, 10:06 a.m. OK GNU C++ TESTS 50 249 8806400 2500
6757309 mayukuner E May 31, 2014, 1:14 p.m. OK GNU C++0x TESTS 50 233 9625600 2500
7814762 zimpha E Sept. 17, 2014, 5:06 a.m. OK GNU C++0x TESTS 50 234 7372800 2500
7147464 hehaodele E July 18, 2014, 9:37 a.m. OK GNU C++0x TESTS 50 248 7168000 2500
8483081 adamant E Oct. 30, 2014, 12:24 p.m. OK GNU C++0x TESTS 50 623 5324800 2500
7498724 adamant E Aug. 18, 2014, 7:31 a.m. OK GNU C++0x TESTS 50 623 5324800 2500
6730970 marat.snowbear E May 29, 2014, 1:14 a.m. OK GNU C++0x TESTS 50 623 11776000 2500
7498716 adamant E Aug. 18, 2014, 7:30 a.m. OK GNU C++0x TESTS 50 654 7475200 2500
8718232 I_love_Hoang_Yen E Nov. 17, 2014, 1:27 p.m. OK GNU C++0x TESTS 50 670 9625600 2500
6724862 rendon E May 28, 2014, 4:54 a.m. OK GNU C++0x TESTS 50 685 29081600 2500
6720129 adamant E May 27, 2014, 8:40 a.m. OK GNU C++0x TESTS 50 717 109772800 2500
12812399 syc1999 E Sept. 2, 2015, 8:31 a.m. OK GNU C++11 TESTS 50 171 7065600 2500
53875569 time_interspace E May 8, 2019, 11:49 a.m. OK GNU C++11 TESTS 50 171 240844800 2500
49932331 xielinhan E Feb. 15, 2019, 5:28 a.m. OK GNU C++11 TESTS 50 202 6451200 2500
22846648 bluefi E Dec. 10, 2016, 1 a.m. OK GNU C++11 TESTS 50 233 6041600 2500
64679341 luogu_bot3 E Nov. 11, 2019, 9:20 a.m. OK GNU C++11 TESTS 50 233 6451200 2500
35871788 ______u______ E March 3, 2018, 6:58 a.m. OK GNU C++11 TESTS 50 233 8089600 2500
35871547 ______n______ E March 3, 2018, 6:52 a.m. OK GNU C++11 TESTS 50 233 8089600 2500
35870967 _____i_____ E March 3, 2018, 6:40 a.m. OK GNU C++11 TESTS 50 233 8089600 2500
35870962 _____k_____ E March 3, 2018, 6:40 a.m. OK GNU C++11 TESTS 50 233 8089600 2500
35862235 ______k______ E March 2, 2018, 10:21 p.m. OK GNU C++11 TESTS 50 233 8089600 2500
32577811 YazanRi E Nov. 23, 2017, 2:24 p.m. OK GNU C++14 TESTS 50 390 16179200 2500
38719120 shaochengxi E May 29, 2018, 12:59 p.m. OK GNU C++14 TESTS 50 405 80588800 2500
34406016 lyx_cjz E Jan. 21, 2018, 8:29 a.m. OK GNU C++14 TESTS 50 421 202854400 2500
23723028 chemthan E Jan. 11, 2017, 5:28 p.m. OK GNU C++14 TESTS 50 468 63692800 2500
23387130 Ali.Pi E Dec. 28, 2016, 9:15 p.m. OK GNU C++14 TESTS 50 498 18944000 2500
23487060 KhaledKEE E Jan. 1, 2017, 5:02 p.m. OK GNU C++14 TESTS 50 561 11161600 2500
29377057 gotop E Aug. 12, 2017, 12:23 p.m. OK GNU C++14 TESTS 50 561 22220800 2500
33589242 GODOF_Shinobi E Dec. 24, 2017, 9:28 a.m. OK GNU C++14 TESTS 50 592 41267200 2500
52900260 NotNight E April 17, 2019, 10:50 a.m. OK GNU C++14 TESTS 50 733 19251200 2500
33589584 GODOF_Shinobi E Dec. 24, 2017, 9:41 a.m. OK GNU C++14 TESTS 50 780 41267200 2500
67615858 Jester E Dec. 25, 2019, 5:11 p.m. OK GNU C++17 TESTS 50 249 8294400 2500
69870881 maras E Jan. 30, 2020, 11:51 p.m. OK GNU C++17 TESTS 50 327 4608000 2500
58426790 ruo E Aug. 7, 2019, 10:03 a.m. OK GNU C++17 TESTS 50 342 21811200 2500
55967990 andrew E June 23, 2019, 1:11 p.m. OK GNU C++17 TESTS 50 343 86835200 2500
43460183 partha_mbstu E Sept. 26, 2018, 4:42 p.m. OK GNU C++17 TESTS 50 358 5427200 2500
66427263 oskarfiuk1 E Dec. 6, 2019, 10:47 p.m. OK GNU C++17 TESTS 50 358 6041600 2500
57397644 Kuroni E July 20, 2019, 4:09 p.m. OK GNU C++17 TESTS 50 420 86732800 2500
57469979 yorky E July 21, 2019, 5:37 p.m. OK GNU C++17 TESTS 50 451 4608000 2500
64606170 CaptainTheBoatMan E Nov. 9, 2019, 8:48 p.m. OK GNU C++17 TESTS 50 467 160153600 2500
69723335 segmentfault E Jan. 29, 2020, 11:26 a.m. OK GNU C++17 TESTS 50 655 25292800 2500
50081155 SpargelTarzan E Feb. 18, 2019, 4:07 a.m. OK Java 8 TESTS 50 701 49254400 2500
6966988 AlexFetisov E June 27, 2014, 4:46 a.m. OK Java 8 TESTS 50 2589 20582400 2500
6739657 RRR_CF E May 30, 2014, 10:42 a.m. OK MS C++ TESTS 50 374 13312000 2500
7251009 csehydrogen E July 26, 2014, 3:02 p.m. OK MS C++ TESTS 50 452 17408000 2500
33623836 JustJesus E Dec. 25, 2017, 4:08 p.m. OK MS C++ TESTS 50 1341 18944000 2500
33619966 JustJesus E Dec. 25, 2017, 2:56 p.m. OK MS C++ TESTS 50 1341 18944000 2500

remove filters

Back to search problems