VK Cup 2012 Qualification Round 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
158 VK Cup 2012 Qualification Round 1 FINISHED False 86400 401018399 March 3, 2012, 8 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 6252 ) D Ice Sculptures PROGRAMMING *special brute force number theory 1900

B"The Berland University is preparing to celebrate the 256-th anniversary of its founding! A specially appointed Vice Rector for the celebration prepares to decorate the campus. In the center of the campus n ice sculptures were erected. The sculptures are arranged in a circle at equal distances from each other, so they form a regular n-gon. They are numbered in clockwise order with numbers from 1 to n. The site of the University has already conducted a voting that estimated each sculpture's characteristic of ti -- the degree of the sculpture's attractiveness. The values of ti can be positive, negative or zero. When the university rector came to evaluate the work, he said that this might be not the perfect arrangement. He suggested to melt some of the sculptures so that: Help the Vice Rector to analyze the criticism -- find the maximum value of ti sum which can be obtained in this way. It is allowed not to melt any sculptures at all. The sculptures can not be moved. The first input line contains an integer n (3 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8920000) -- the initial number of sculptures. The second line contains a sequence of integers t1, xe2 x80 x89t2, xe2 x80 x89..., xe2 x80 x89tn, ti -- the degree of the i-th sculpture's attractiveness ( xe2 x80 x89- xe2 x80 x891000 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ti xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891000). The numbers on the line are separated by spaces. Print the required maximum sum of the sculptures' attractiveness. In the first sample it is best to leave every second sculpture, that is, leave sculptures with attractivenesses: 2, 4, 5 xd0 xb8 3."...

Tutorials

Simple solution to vk cup Qualification Round 1 and 2

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
66571986 1942938446 D Dec. 10, 2019, 5:13 a.m. OK FPC TESTS 39 62 204800 1900
58925661 rainboy D Aug. 16, 2019, 7:21 p.m. OK GNU C11 TESTS 39 62 102400 1900
59778869 luogu_bot4 D Aug. 31, 2019, 1:47 a.m. OK GNU C++11 TESTS 39 62 0 1900
63623650 bei_li D Oct. 28, 2019, 1:44 a.m. OK GNU C++11 TESTS 39 62 0 1900
61304925 Liah D Sept. 26, 2019, 6:47 a.m. OK GNU C++11 TESTS 39 62 102400 1900
65226237 smax D Nov. 17, 2019, 1:58 a.m. OK GNU C++11 TESTS 39 62 102400 1900
61056330 luogu_bot4 D Sept. 22, 2019, 8:10 a.m. OK GNU C++11 TESTS 39 62 102400 1900
64372238 xChannel D Nov. 6, 2019, 2:42 p.m. OK GNU C++11 TESTS 39 62 204800 1900
66458041 vjudge4 D Dec. 7, 2019, 1:51 p.m. OK GNU C++11 TESTS 39 62 204800 1900
61075605 mh755628 D Sept. 22, 2019, 2:20 p.m. OK GNU C++11 TESTS 39 62 204800 1900
60842983 luogu_bot3 D Sept. 19, 2019, 11:38 a.m. OK GNU C++11 TESTS 39 62 204800 1900
66456688 _jthe D Dec. 7, 2019, 1:23 p.m. OK GNU C++11 TESTS 39 62 204800 1900
61955183 yuyawk_0908 D Oct. 6, 2019, 5:36 a.m. OK GNU C++14 TESTS 39 60 102400 1900
58576187 greenblade D Aug. 11, 2019, 12:29 p.m. OK GNU C++14 TESTS 39 60 102400 1900
59705324 codephilic D Aug. 30, 2019, 12:25 p.m. OK GNU C++14 TESTS 39 60 204800 1900
59879741 jebouin D Sept. 2, 2019, 3:46 a.m. OK GNU C++14 TESTS 39 62 102400 1900
69025190 Invisible_Shadow D Jan. 18, 2020, 7:05 a.m. OK GNU C++14 TESTS 39 62 102400 1900
67172561 dhr_1 D Dec. 18, 2019, 5:51 p.m. OK GNU C++14 TESTS 39 62 102400 1900
66563925 Leonardo_Blanger D Dec. 9, 2019, 8:28 p.m. OK GNU C++14 TESTS 39 62 102400 1900
66250451 gerard.onats D Dec. 4, 2019, 1:13 a.m. OK GNU C++14 TESTS 39 62 102400 1900
61288673 GeorgeRaouf D Sept. 25, 2019, 7:33 p.m. OK GNU C++14 TESTS 39 62 102400 1900
59777649 Elquenoentrena D Aug. 31, 2019, 12:50 a.m. OK GNU C++14 TESTS 39 62 102400 1900
63557120 wo_okje D Oct. 27, 2019, 1:11 p.m. OK GNU C++17 TESTS 39 60 102400 1900
66552207 suraj1611 D Dec. 9, 2019, 3:21 p.m. OK GNU C++17 TESTS 39 62 102400 1900
65480948 JeuneEncore D Nov. 21, 2019, 11:40 a.m. OK GNU C++17 TESTS 39 62 102400 1900
67764594 Regulo D Dec. 28, 2019, 2:34 a.m. OK GNU C++17 TESTS 39 62 102400 1900
65396439 HadyKo D Nov. 19, 2019, 7:17 p.m. OK GNU C++17 TESTS 39 62 102400 1900
64754751 vjudge4 D Nov. 12, 2019, 4:30 p.m. OK GNU C++17 TESTS 39 62 102400 1900
64716979 Joselsneto D Nov. 11, 2019, 11:08 p.m. OK GNU C++17 TESTS 39 62 102400 1900
64557626 khalid007 D Nov. 9, 2019, 4:39 a.m. OK GNU C++17 TESTS 39 62 102400 1900
64541505 sakt_launda D Nov. 8, 2019, 6:51 p.m. OK GNU C++17 TESTS 39 62 102400 1900
66642053 talant110726 D Dec. 11, 2019, 3:07 p.m. OK GNU C++17 TESTS 39 62 102400 1900
60903069 LAKOUAM_IMAD D Sept. 19, 2019, 11:56 p.m. OK Java 8 TESTS 39 218 0 1900
60483269 AmmarKayaliite D Sept. 13, 2019, 11:30 a.m. OK Java 8 TESTS 39 248 0 1900
69901219 xwchen D Jan. 31, 2020, 1:04 p.m. OK Java 8 TESTS 39 248 0 1900
69065144 sunnycarlos D Jan. 18, 2020, 6:16 p.m. OK Java 8 TESTS 39 248 0 1900
63667637 egaeus D Oct. 28, 2019, 3:52 p.m. OK Java 8 TESTS 39 248 0 1900
65390561 goalboy D Nov. 19, 2019, 5:27 p.m. OK Java 8 TESTS 39 342 0 1900
58925659 Dukkha D Aug. 16, 2019, 7:21 p.m. OK Java 8 TESTS 39 374 0 1900
68374826 Rohit777singh D Jan. 7, 2020, 7:17 p.m. OK MS C++ 2017 TESTS 39 62 102400 1900
66992529 chervovn04 D Dec. 15, 2019, 9:27 p.m. OK MS C++ 2017 TESTS 39 62 409600 1900
67160838 PS41 D Dec. 18, 2019, 1:55 p.m. OK PyPy 3 TESTS 39 310 2969600 1900
61097768 zx081325 D Sept. 23, 2019, 4:43 a.m. OK PyPy 3 TESTS 39 310 3276800 1900
58473086 tiantian5 D Aug. 9, 2019, 1:40 a.m. OK PyPy 3 TESTS 39 340 3174400 1900
64875790 Evil__Coder D Nov. 14, 2019, 9:47 a.m. OK PyPy 3 TESTS 39 342 2969600 1900
67160453 vjudge5 D Dec. 18, 2019, 1:48 p.m. OK PyPy 3 TESTS 39 372 2867200 1900
59936423 leydenberg D Sept. 3, 2019, 9:39 a.m. OK Python 3 TESTS 39 310 1331200 1900
59935448 Astronomer_Denis D Sept. 3, 2019, 9:18 a.m. OK Python 3 TESTS 39 810 1331200 1900
67952173 Firepaw D Dec. 30, 2019, 8:09 a.m. OK Python 3 TESTS 39 998 3276800 1900
65431544 tuna_salad D Nov. 20, 2019, 12:13 p.m. OK Rust TESTS 39 92 307200 1900

remove filters

Back to search problems