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 |
---|---|---|---|---|---|---|
720 | Russian Code Cup 2016 - Finals [Unofficial Mirror, Div. 1 Only Recommended] | FINISHED | False | 7200 | 257626499 | Sept. 18, 2016, 11:05 a.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 147 ) | F | Array Covering | PROGRAMMING | data structures | 3100 |
B'Misha has an array of integers of length n. He wants to choose k different continuous subarrays, so that each element of the array belongs to at least one of the chosen subarrays. Misha wants to choose the subarrays in such a way that if he calculated the sum of elements for each subarray, and then add up all these sums, the resulting value was maximum possible. The first line of input contains two integers: n, k (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100 xe2 x80 x89000, 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89k xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xc2 xb7(n xe2 x80 x89+ xe2 x80 x891) xe2 x80 x89/ xe2 x80 x892) -- the number of elements in the array and the number of different subarrays that must be chosen. The second line contains n integers ai ( xe2 x80 x89- xe2 x80 x8950 xe2 x80 x89000 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ai xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8950 xe2 x80 x89000) -- the elements of the array. Output one integer -- the maximum possible value Misha can get by choosing k different subarrays. '... |
Russian Code Cup 2016 — Results and Tutorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
20925507 | gogitidze4 | F | Sept. 26, 2016, 12:53 p.m. | OK | GNU C++ | TESTS | 41 | 607 | 121139200 | 3100 | |
20925489 | lukasamkharadze | F | Sept. 26, 2016, 12:52 p.m. | OK | GNU C++ | TESTS | 41 | 607 | 121139200 | 3100 | |
20924476 | AkaneSasu | F | Sept. 26, 2016, 12:03 p.m. | OK | GNU C++ | TESTS | 41 | 624 | 121139200 | 3100 | |
40983584 | ReaLNero1 | F | July 30, 2018, 6:56 p.m. | OK | GNU C++ | TESTS | 41 | 655 | 121139200 | 3100 | |
36340376 | zxyhh | F | March 17, 2018, 2:55 a.m. | OK | GNU C++ | TESTS | 41 | 717 | 97792000 | 3100 | |
20939753 | hzq84621 | F | Sept. 27, 2016, 7:46 a.m. | OK | GNU C++ | TESTS | 41 | 732 | 121139200 | 3100 | |
20957916 | hzq84621 | F | Sept. 27, 2016, 11:47 p.m. | OK | GNU C++ | TESTS | 41 | 764 | 94310400 | 3100 | |
20939906 | hzq84621 | F | Sept. 27, 2016, 7:54 a.m. | OK | GNU C++ | TESTS | 41 | 810 | 140288000 | 3100 | |
69849669 | yht_boyfriend | F | Jan. 30, 2020, 3:16 p.m. | OK | GNU C++11 | TESTS | 41 | 483 | 50790400 | 3100 | |
21008942 | fayzzz | F | Sept. 30, 2016, 7:10 a.m. | OK | GNU C++11 | TESTS | 41 | 608 | 121139200 | 3100 | |
22598069 | codemasterisme | F | Nov. 29, 2016, 12:16 p.m. | OK | GNU C++11 | TESTS | 41 | 623 | 121139200 | 3100 | |
20924890 | Akhmad228 | F | Sept. 26, 2016, 12:24 p.m. | OK | GNU C++11 | TESTS | 41 | 623 | 121139200 | 3100 | |
23364974 | Ali.Pi | F | Dec. 27, 2016, 6:24 p.m. | OK | GNU C++11 | TESTS | 41 | 638 | 123187200 | 3100 | |
21023144 | krijgertje | F | Sept. 30, 2016, 2:28 p.m. | OK | GNU C++11 | TESTS | 41 | 733 | 17510400 | 3100 | |
23222920 | 014-23322-07-Nurislam | F | Dec. 22, 2016, 11:09 a.m. | OK | GNU C++11 | TESTS | 41 | 748 | 19558400 | 3100 | |
25117370 | Altria-PenDragon | F | March 1, 2017, 7:43 a.m. | OK | GNU C++11 | TESTS | 41 | 873 | 262348800 | 3100 | |
59426249 | spacevortex | F | Aug. 25, 2019, 2:45 a.m. | OK | GNU C++11 | TESTS | 41 | 920 | 137113600 | 3100 | |
59424844 | spacevortex | F | Aug. 25, 2019, 1:22 a.m. | OK | GNU C++11 | TESTS | 41 | 966 | 135475200 | 3100 | |
53089133 | q234rty | F | April 21, 2019, 10:20 a.m. | OK | GNU C++14 | TESTS | 41 | 420 | 20275200 | 3100 | |
27568076 | zimpha | F | June 4, 2017, 5:11 p.m. | OK | GNU C++14 | TESTS | 41 | 826 | 24371200 | 3100 | |
27568009 | zimpha | F | June 4, 2017, 5:05 p.m. | OK | GNU C++14 | TESTS | 41 | 826 | 24371200 | 3100 | |
20966611 | N0t_Fake | F | Sept. 28, 2016, 12:12 p.m. | OK | GNU C++14 | TESTS | 41 | 873 | 94412800 | 3100 | |
69811245 | djq_fpc | F | Jan. 30, 2020, 4:28 a.m. | OK | GNU C++14 | TESTS | 41 | 889 | 241254400 | 3100 | |
39675190 | 1919810 | F | June 26, 2018, 12:20 p.m. | OK | GNU C++14 | TESTS | 41 | 904 | 29081600 | 3100 | |
39675082 | 1919810 | F | June 26, 2018, 12:16 p.m. | OK | GNU C++14 | TESTS | 41 | 951 | 29081600 | 3100 | |
21190882 | vkla | F | Oct. 4, 2016, 4 p.m. | OK | GNU C++14 | TESTS | 41 | 2262 | 38195200 | 3100 | |
24427295 | saliii | F | Feb. 4, 2017, 7:59 a.m. | OK | GNU C++14 | TESTS | 41 | 2402 | 40140800 | 3100 | |
20968992 | Philipsweng | F | Sept. 28, 2016, 1:59 p.m. | OK | GNU C++14 | TESTS | 41 | 2448 | 38195200 | 3100 | |
44333309 | 300iq | F | Oct. 14, 2018, 7:36 p.m. | OK | GNU C++17 | TESTS | 41 | 1964 | 30822400 | 3100 | |
21401167 | Los_Angelos_Laycurse | F | Oct. 13, 2016, 11:05 a.m. | OK | MS C++ | TESTS | 41 | 1263 | 23552000 | 3100 |
Back to search problems