RCC 2014 Warmup (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
418 RCC 2014 Warmup (Div. 1) FINISHED False 7200 334073999 April 17, 2014, 3:40 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 316 ) E Tricky Password PROGRAMMING data structures 3100

B'In order to ensure confidentiality, the access to the "Russian Code Cup" problems is password protected during the problem development process. To select a password, the jury can generate a special table that contains n columns and the infinite number of rows. To construct a table, the first row is fixed, and all the others are obtained by the following rule: In the row i at position p there is a number equal to the number of times a[i xe2 x80 x89- xe2 x80 x891][p] occurs on the prefix a[i xe2 x80 x89- xe2 x80 x891][1... p]. To ensure the required level of confidentiality, the jury must be able to perform the following operations: Doing all these steps manually is very tedious, so the jury asks you to help him. Write a program that responds to the request of the jury. The first line contains an integer n (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100000) -- the number of columns. The second line contains the description of the first row of the table, that is, n integers, which are not less than 1 and do not exceed 109. The third line of the input contains an integer m (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100000) -- the number of requests. Next, each row contains a description of the request, which consists of three integers: Print an answer for each request of the second type in the order you receive them.'...

Tutorials

RCC 2014 WarmUp Analysis

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
14005405 130705009 E Nov. 1, 2015, 10:32 a.m. OK GNU C++ TESTS 46 451 80486400 3100
11338244 Amr_Hassan E May 28, 2015, 7:35 p.m. OK GNU C++ TESTS 46 451 80486400 3100
15143156 HappyNewYearMike E Dec. 31, 2015, 11:05 p.m. OK GNU C++ TESTS 46 452 80486400 3100
6871857 hed E June 13, 2014, 8:19 a.m. OK GNU C++ TESTS 46 483 97996800 3100
6633793 sunweijun E May 16, 2014, 2:03 a.m. OK GNU C++ TESTS 46 514 80691200 3100
11972881 Memory120 E July 8, 2015, 1:35 p.m. OK GNU C++ TESTS 46 546 103833600 3100
6943567 FancyCoder E June 22, 2014, 5:30 p.m. OK GNU C++ TESTS 46 623 18841600 3100
6816618 pwecar E June 5, 2014, 4:40 a.m. OK GNU C++ TESTS 46 639 184217600 3100
11679567 Dylans E June 20, 2015, 8:53 a.m. OK GNU C++ TESTS 46 702 176332800 3100
6816575 songsymbol E June 5, 2014, 4:35 a.m. OK GNU C++ TESTS 46 717 184115200 3100
6436390 Archon.JK E April 21, 2014, 5:31 p.m. OK GNU C++0x TESTS 46 1076 100864000 3100
6413472 ikatanic E April 18, 2014, 9:49 p.m. OK GNU C++0x TESTS 46 1185 296345600 3100
6413473 ikatanic E April 18, 2014, 9:49 p.m. OK GNU C++0x TESTS 46 1216 344064000 3100
7363122 snuke E Aug. 6, 2014, 7:14 p.m. OK GNU C++0x TESTS 46 1621 148377600 3100
8101807 zhj E Oct. 6, 2014, 5:56 a.m. OK GNU C++0x TESTS 46 1809 37376000 3100
6432344 dc. E April 21, 2014, 2:23 a.m. OK GNU C++0x TESTS 46 2464 23142400 3100
8101785 zhj E Oct. 6, 2014, 5:52 a.m. OK GNU C++0x TESTS 46 2667 50483200 3100
6717395 wakaka E May 26, 2014, 6:12 p.m. OK GNU C++0x TESTS 46 2807 265318400 3100
7376791 hogloid E Aug. 8, 2014, 2:34 p.m. OK GNU C++0x TESTS 46 3103 273612800 3100
6413443 ikatanic E April 18, 2014, 9:43 p.m. OK GNU C++0x TESTS 46 3478 267366400 3100
27980303 FizzyDavid E June 23, 2017, 8:24 a.m. OK GNU C++11 TESTS 46 265 148172800 3100
40988767 ReaLNero1 E July 30, 2018, 10:20 p.m. OK GNU C++11 TESTS 46 311 114073600 3100
27980354 FizzyDavid E June 23, 2017, 8:26 a.m. OK GNU C++11 TESTS 46 326 116121600 3100
27980474 FizzyDavid E June 23, 2017, 8:33 a.m. OK GNU C++11 TESTS 46 358 156262400 3100
27980366 FizzyDavid E June 23, 2017, 8:27 a.m. OK GNU C++11 TESTS 46 405 180224000 3100
62895888 luogu_bot1 E Oct. 18, 2019, 11:54 p.m. OK GNU C++11 TESTS 46 452 80486400 3100
27979768 FizzyDavid E June 23, 2017, 7:56 a.m. OK GNU C++11 TESTS 46 467 179814400 3100
17144900 freebsdx E April 3, 2016, 12:33 p.m. OK GNU C++11 TESTS 46 483 82534400 3100
27980496 FizzyDavid E June 23, 2017, 8:34 a.m. OK GNU C++11 TESTS 46 499 108134400 3100
27979794 FizzyDavid E June 23, 2017, 7:57 a.m. OK GNU C++11 TESTS 46 545 147763200 3100
42064575 omidazadi E Aug. 24, 2018, 6:49 p.m. OK GNU C++14 TESTS 46 436 384409600 3100
33973799 Dalgerok E Jan. 6, 2018, 10:51 p.m. OK GNU C++14 TESTS 46 498 93900800 3100
32323431 joyfun E Nov. 15, 2017, 3:35 a.m. OK GNU C++14 TESTS 46 514 80691200 3100
23656855 Ali.Pi E Jan. 8, 2017, 9:13 p.m. OK GNU C++14 TESTS 46 546 82636800 3100
25715652 radoslav11 E March 22, 2017, 3:27 p.m. OK GNU C++14 TESTS 46 717 234496000 3100
42003036 AghaTizi E Aug. 23, 2018, 4:29 p.m. OK GNU C++14 TESTS 46 764 87040000 3100
42003029 AghaTizi E Aug. 23, 2018, 4:29 p.m. OK GNU C++14 TESTS 46 779 106291200 3100
55472696 4l5n3 E June 11, 2019, 7:53 p.m. OK GNU C++14 TESTS 46 858 114176000 3100
42002993 AghaTizi E Aug. 23, 2018, 4:27 p.m. OK GNU C++14 TESTS 46 1138 145920000 3100
34303632 EpicPants E Jan. 19, 2018, 1:23 p.m. OK GNU C++14 TESTS 46 1325 251289600 3100
60025301 Benq E Sept. 4, 2019, 2:02 p.m. OK GNU C++17 TESTS 46 467 81920000 3100
58200356 ruo E Aug. 3, 2019, 3:47 a.m. OK GNU C++17 TESTS 46 483 96460800 3100
60025575 Benq E Sept. 4, 2019, 2:06 p.m. OK GNU C++17 TESTS 46 592 94822400 3100
60142659 saketh E Sept. 5, 2019, 9:09 p.m. OK GNU C++17 TESTS 46 608 306176000 3100
60025155 Benq E Sept. 4, 2019, 2:01 p.m. OK GNU C++17 TESTS 46 654 158003200 3100
60025428 Benq E Sept. 4, 2019, 2:04 p.m. OK GNU C++17 TESTS 46 748 43929600 3100
59907096 ivan100sic E Sept. 2, 2019, 3:48 p.m. OK GNU C++17 TESTS 46 841 420659200 3100
55691317 Shayan.P E June 17, 2019, 6:21 p.m. OK GNU C++17 TESTS 46 904 89395200 3100
60025033 Benq E Sept. 4, 2019, 1:59 p.m. OK GNU C++17 TESTS 46 1325 309555200 3100
64918409 tEMMIE.w. E Nov. 15, 2019, 3:18 a.m. OK GNU C++17 TESTS 46 1809 132300800 3100
6663843 PrinceOfPersian E May 20, 2014, 6:32 p.m. OK Java 7 TESTS 46 1513 232038400 3100
6396412 Aksenov239 E April 17, 2014, 7:16 p.m. OK Java 7 TESTS 46 1528 232038400 3100
6414004 ftiasch E April 19, 2014, 12:55 a.m. OK Java 7 TESTS 46 1544 200396800 3100
6400269 Khina E April 18, 2014, 8:19 a.m. OK Java 7 TESTS 46 1575 232038400 3100
7189009 IgorKoval E July 20, 2014, 8:58 p.m. OK Java 8 TESTS 46 1700 186880000 3100
7188878 IgorKoval E July 20, 2014, 8:11 p.m. OK Java 8 TESTS 46 1778 71065600 3100
7188883 IgorKoval E July 20, 2014, 8:12 p.m. OK Java 8 TESTS 46 2089 57036800 3100
6481120 Rivx E April 26, 2014, 10:28 p.m. OK MS C++ TESTS 46 2090 141516800 3100

remove filters

Back to search problems