Codeforces Round 260 (Div. 1)

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
455 Codeforces Round 260 (Div. 1) FINISHED False 7200 324311399 Aug. 8, 2014, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 682 ) E Function PROGRAMMING data structures 2800

B"Serega and Fedor play with functions. One day they came across a very interesting function. It looks like that: Here a is an integer array of length n. Serega and Fedya want to know what values this function takes at some points. But they don't want to calculate the values manually. So they ask you to help them. The first line contains integer n (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105) -- the length of array a. The next line contains n integers: a[1], xe2 x80 x89a[2], xe2 x80 x89..., xe2 x80 x89a[n] (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89a[i] xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89104). The next line contains integer m (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105) -- the number of queries. Each of the next m lines contains two integers: xi, yi (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89xi xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89yi xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n). Each line means that Fedor and Serega want to know the value of f(xi, xe2 x80 x89yi). Print m lines -- the answers to the guys' queries."...

Tutorials

Codeforces Round #260 — Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
42309060 Scut82 E Aug. 31, 2018, 1:09 p.m. OK GNU C++ TESTS 65 46 5632000 2800
33243728 newp E Dec. 14, 2017, 3:11 p.m. OK GNU C++ TESTS 65 62 4710400 2800
41651678 SylvanasS E Aug. 16, 2018, 12:13 p.m. OK GNU C++ TESTS 65 78 22016000 2800
41543158 Jin_Haonan E Aug. 13, 2018, 2 a.m. OK GNU C++ TESTS 65 93 3993600 2800
40776875 vjudge2 E July 26, 2018, 11:48 a.m. OK GNU C++ TESTS 65 93 3993600 2800
39432204 pocket_lengend E June 20, 2018, 9:53 a.m. OK GNU C++ TESTS 65 93 9216000 2800
35152802 luogu_bot4 E Feb. 11, 2018, 12:30 p.m. OK GNU C++ TESTS 65 140 38195200 2800
42080661 Scut82 E Aug. 25, 2018, 8:03 a.m. OK GNU C++ TESTS 65 264 23040000 2800
40888157 vjudge3 E July 28, 2018, 2 p.m. OK GNU C++11 TESTS 65 77 2867200 2800
39063491 Durant_Lee E June 9, 2018, 8:03 a.m. OK GNU C++11 TESTS 65 77 2867200 2800
38314767 iki E May 16, 2018, 8:58 a.m. OK GNU C++11 TESTS 65 78 6656000 2800
45446465 zhouyuyang E Nov. 8, 2018, 1:40 p.m. OK GNU C++11 TESTS 65 93 3993600 2800
56387197 luogu_bot3 E July 1, 2019, 11:03 a.m. OK GNU C++11 TESTS 65 93 4403200 2800
68029628 mlby E Jan. 1, 2020, 8:24 a.m. OK GNU C++11 TESTS 65 93 5632000 2800
46901707 hychyc E Dec. 11, 2018, 12:17 p.m. OK GNU C++11 TESTS 65 93 9625600 2800
61852283 vjudge3 E Oct. 4, 2019, 1:02 p.m. OK GNU C++11 TESTS 65 108 2662400 2800
52456084 vjudge3 E April 7, 2019, 11:47 a.m. OK GNU C++11 TESTS 65 108 36147200 2800
39216820 dy0607 E June 13, 2018, 12:53 p.m. OK GNU C++11 TESTS 65 109 3993600 2800
40853882 vjudge3 E July 27, 2018, 4:08 p.m. OK GNU C++14 TESTS 65 124 2867200 2800
58215540 DimmyT E Aug. 3, 2019, 10:36 a.m. OK GNU C++14 TESTS 65 124 18636800 2800
58215594 DimmyT E Aug. 3, 2019, 10:37 a.m. OK GNU C++14 TESTS 65 139 18636800 2800
40873359 vjudge2 E July 28, 2018, 7:22 a.m. OK GNU C++14 TESTS 65 140 2764800 2800
62652877 thetrickster10 E Oct. 15, 2019, 10:46 p.m. OK GNU C++14 TESTS 65 171 7987200 2800
66434336 davidberard E Dec. 7, 2019, 5:23 a.m. OK GNU C++14 TESTS 65 217 21606400 2800
66434963 davidberard E Dec. 7, 2019, 5:43 a.m. OK GNU C++14 TESTS 65 218 21811200 2800
58430649 vjudge5 E Aug. 7, 2019, 11:43 a.m. OK GNU C++14 TESTS 65 233 12902400 2800
43468234 KATATONIA E Sept. 26, 2018, 7:58 p.m. OK GNU C++14 TESTS 65 249 12083200 2800
55202355 megatron10599 E June 6, 2019, 11:07 a.m. OK GNU C++14 TESTS 65 280 13926400 2800
46101302 zbtrs E Nov. 23, 2018, 6:03 a.m. OK GNU C++17 TESTS 65 124 2764800 2800
51084403 nimphy E March 9, 2019, 12:38 p.m. OK GNU C++17 TESTS 65 139 2764800 2800
46102016 zbtrs E Nov. 23, 2018, 6:36 a.m. OK GNU C++17 TESTS 65 139 5632000 2800
39437647 baguabagau E June 20, 2018, 1:49 p.m. OK GNU C++17 TESTS 65 139 20070400 2800
44699955 vjudge2 E Oct. 22, 2018, 2:25 p.m. OK GNU C++17 TESTS 65 140 2764800 2800
38537511 Cmd2001 E May 22, 2018, 1:49 p.m. OK GNU C++17 TESTS 65 156 2764800 2800
56387151 Fulisike E July 1, 2019, 11:02 a.m. OK GNU C++17 TESTS 65 156 4403200 2800
38580882 Als123 E May 24, 2018, 8:44 a.m. OK GNU C++17 TESTS 65 171 2764800 2800
45428011 Chameleon2460 E Nov. 7, 2018, 11:38 p.m. OK GNU C++17 TESTS 65 217 9830400 2800
45428031 Chameleon2460 E Nov. 7, 2018, 11:40 p.m. OK GNU C++17 TESTS 65 234 9113600 2800
61902490 vjudge1 E Oct. 5, 2019, 8:56 a.m. OK MS C++ TESTS 65 498 22220800 2800

remove filters

Back to search problems