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 |
---|---|---|---|---|---|---|
1009 | Educational Codeforces Round 47 (Rated for Div. 2) | FINISHED | False | 7200 | 205946723 | July 14, 2018, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 3037 ) | E | Intercity Travelling | PROGRAMMING | combinatorics math probabilities | 1900 |
B"Leha is planning his journey from Moscow to Saratov. He hates trains, so he has decided to get from one city to another by car. The path from Moscow to Saratov can be represented as a straight line (well, it's not that straight in reality, but in this problem we will consider it to be straight), and the distance between Moscow and Saratov is n km. Let's say that Moscow is situated at the point with coordinate 0 km, and Saratov -- at coordinate n km. Driving for a long time may be really difficult. Formally, if Leha has already covered i kilometers since he stopped to have a rest, he considers the difficulty of covering (i + 1) -th kilometer as a_{i + 1} . It is guaranteed that for every i in [1, n - 1] a_i <= a_{i + 1} . The difficulty of the journey is denoted as the sum of difficulties of each kilometer in the journey. Fortunately, there may be some rest sites between Moscow and Saratov. Every integer point from 1 to n - 1 may contain a rest site. When Leha enters a rest site, he may have a rest, and the next kilometer will have difficulty a_1 , the kilometer after it -- difficulty a_2 , and so on. For example, if n = 5 and there is a rest site in coordinate 2 , the difficulty of journey will be 2a_1 + 2a_2 + a_3 : the first kilometer will have difficulty a_1 , the second one -- a_2 , then Leha will have a rest, and the third kilometer will have difficulty a_1 , the fourth -- a_2 , and the last one -- a_3 . Another example: if n = 7 and there are rest sites in coordinates 1 and 5 , the difficulty of Leha's journey is 3a_1 + 2a_2 + a_3 + a_4 . Leha doesn't know which integer points contain rest sites. So he has to consider every possible situation. Obviously, there are 2^{n - 1} different distributions of rest sites (two distributions are different if there exists some point x such that it contains a rest sit"... |
60630 |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
40575527 | rr_ | E | July 20, 2018, 11:03 a.m. | OK | D | TESTS | 38 | 358 | 44236800 | 1900 | |
40350813 | ruban | E | July 14, 2018, 5:04 p.m. | OK | Delphi | TESTS | 38 | 732 | 82534400 | 1900 | |
40571246 | NSK | E | July 20, 2018, 8:18 a.m. | OK | FPC | TESTS | 38 | 233 | 3993600 | 1900 | |
40570253 | NSK | E | July 20, 2018, 7:45 a.m. | OK | FPC | TESTS | 38 | 249 | 24064000 | 1900 | |
40461850 | __ShaW | E | July 17, 2018, 4:32 a.m. | OK | FPC | TESTS | 38 | 249 | 24064000 | 1900 | |
40352863 | forlfs | E | July 14, 2018, 6:04 p.m. | OK | GNU C | TESTS | 38 | 233 | 11980800 | 1900 | |
40482065 | Daymaker9000 | E | July 17, 2018, 2:35 p.m. | OK | GNU C | TESTS | 38 | 234 | 3993600 | 1900 | |
40371142 | TsReaper | E | July 15, 2018, 8:15 a.m. | OK | GNU C | TESTS | 38 | 234 | 20070400 | 1900 | |
40779673 | AhmedTom | E | July 26, 2018, 1:05 p.m. | OK | GNU C | TESTS | 38 | 390 | 3993600 | 1900 | |
41621330 | M_sea | E | Aug. 15, 2018, 12:07 p.m. | OK | GNU C++ | TESTS | 38 | 62 | 0 | 1900 | |
41638591 | M_sea | E | Aug. 16, 2018, 3:03 a.m. | OK | GNU C++ | TESTS | 38 | 62 | 0 | 1900 | |
41638577 | M_sea | E | Aug. 16, 2018, 3:03 a.m. | OK | GNU C++ | TESTS | 38 | 62 | 0 | 1900 | |
41638560 | M_sea | E | Aug. 16, 2018, 3:02 a.m. | OK | GNU C++ | TESTS | 38 | 62 | 0 | 1900 | |
41638548 | M_sea | E | Aug. 16, 2018, 3:01 a.m. | OK | GNU C++ | TESTS | 38 | 62 | 0 | 1900 | |
41621685 | M_sea | E | Aug. 15, 2018, 12:17 p.m. | OK | GNU C++ | TESTS | 38 | 62 | 0 | 1900 | |
41621638 | M_sea | E | Aug. 15, 2018, 12:15 p.m. | OK | GNU C++ | TESTS | 38 | 62 | 0 | 1900 | |
41621256 | M_sea | E | Aug. 15, 2018, 12:06 p.m. | OK | GNU C++ | TESTS | 38 | 77 | 12083200 | 1900 | |
41621196 | M_sea | E | Aug. 15, 2018, 12:04 p.m. | OK | GNU C++ | TESTS | 38 | 77 | 12083200 | 1900 | |
40722470 | zhtzht | E | July 25, 2018, 2:16 a.m. | OK | GNU C++ | TESTS | 38 | 78 | 3993600 | 1900 | |
50612613 | rainboy | E | Feb. 28, 2019, 5:37 p.m. | OK | GNU C11 | TESTS | 38 | 202 | 7987200 | 1900 | |
40349590 | psaini | E | July 14, 2018, 4:45 p.m. | OK | GNU C11 | TESTS | 38 | 233 | 0 | 1900 | |
43875716 | sansen | E | Oct. 6, 2018, 1:29 a.m. | OK | GNU C11 | TESTS | 38 | 234 | 3993600 | 1900 | |
42186915 | Gediminas | E | Aug. 27, 2018, 10:10 p.m. | OK | GNU C11 | TESTS | 38 | 264 | 7987200 | 1900 | |
48128008 | zysbzddsj | E | Jan. 9, 2019, 3:01 p.m. | OK | GNU C11 | TESTS | 38 | 280 | 7987200 | 1900 | |
62426955 | heyuanjie | E | Oct. 12, 2019, 2:34 p.m. | OK | GNU C++11 | TESTS | 38 | 46 | 0 | 1900 | |
68294260 | vjudge2 | E | Jan. 6, 2020, 12:57 a.m. | OK | GNU C++11 | TESTS | 38 | 46 | 0 | 1900 | |
63517707 | Frame233 | E | Oct. 27, 2019, 1:51 a.m. | OK | GNU C++11 | TESTS | 38 | 61 | 3993600 | 1900 | |
69096208 | herself32 | E | Jan. 19, 2020, 12:09 p.m. | OK | GNU C++11 | TESTS | 38 | 62 | 2150400 | 1900 | |
42263780 | DOlaBMOon | E | Aug. 30, 2018, 5:43 a.m. | OK | GNU C++11 | TESTS | 38 | 62 | 3993600 | 1900 | |
42263800 | DOlaBMOon | E | Aug. 30, 2018, 5:44 a.m. | OK | GNU C++11 | TESTS | 38 | 62 | 5017600 | 1900 | |
40617762 | buda | E | July 21, 2018, 8:14 p.m. | OK | GNU C++11 | TESTS | 38 | 77 | 4096000 | 1900 | |
40513168 | vjudge1 | E | July 18, 2018, 12:05 p.m. | OK | GNU C++11 | TESTS | 38 | 77 | 7987200 | 1900 | |
48702314 | mmmod_lqs | E | Jan. 22, 2019, 3:34 a.m. | OK | GNU C++11 | TESTS | 38 | 77 | 48128000 | 1900 | |
40617605 | buda | E | July 21, 2018, 8:04 p.m. | OK | GNU C++11 | TESTS | 38 | 78 | 102400 | 1900 | |
40359152 | wleung_bvg | E | July 14, 2018, 10:38 p.m. | OK | GNU C++14 | TESTS | 38 | 77 | 0 | 1900 | |
40363130 | wleung_bvg | E | July 15, 2018, 3:18 a.m. | OK | GNU C++14 | TESTS | 38 | 77 | 0 | 1900 | |
40359409 | wleung_bvg | E | July 14, 2018, 10:57 p.m. | OK | GNU C++14 | TESTS | 38 | 77 | 0 | 1900 | |
40354215 | wleung_bvg | E | July 14, 2018, 6:53 p.m. | OK | GNU C++14 | TESTS | 38 | 109 | 8089600 | 1900 | |
40405064 | MikanHako1024 | E | July 16, 2018, 9:21 a.m. | OK | GNU C++14 | TESTS | 38 | 218 | 3993600 | 1900 | |
40370579 | Laura_Cornei | E | July 15, 2018, 7:59 a.m. | OK | GNU C++14 | TESTS | 38 | 233 | 11980800 | 1900 | |
40404627 | MikanHako1024 | E | July 16, 2018, 9:08 a.m. | OK | GNU C++14 | TESTS | 38 | 233 | 19968000 | 1900 | |
40566085 | DanWarren | E | July 20, 2018, 5:32 a.m. | OK | GNU C++14 | TESTS | 38 | 233 | 20172800 | 1900 | |
40514209 | mohamedeltair | E | July 18, 2018, 12:35 p.m. | OK | GNU C++14 | TESTS | 38 | 249 | 3993600 | 1900 | |
55408388 | FastestFinger | E | June 10, 2019, 5:59 p.m. | OK | GNU C++14 | TESTS | 38 | 249 | 3993600 | 1900 | |
40399578 | Trisolaris | E | July 16, 2018, 7:01 a.m. | OK | GNU C++17 | TESTS | 38 | 46 | 0 | 1900 | |
41391020 | UnstoppableChillMachine | E | Aug. 9, 2018, 8:27 a.m. | OK | GNU C++17 | TESTS | 38 | 109 | 16384000 | 1900 | |
40515596 | AlvinFei | E | July 18, 2018, 1:11 p.m. | OK | GNU C++17 | TESTS | 38 | 187 | 7987200 | 1900 | |
41387901 | DevSusu | E | Aug. 9, 2018, 6:59 a.m. | OK | GNU C++17 | TESTS | 38 | 218 | 12288000 | 1900 | |
40368715 | Denverjin | E | July 15, 2018, 7:09 a.m. | OK | GNU C++17 | TESTS | 38 | 233 | 15974400 | 1900 | |
58938748 | TianJianXing | E | Aug. 17, 2019, 5:56 a.m. | OK | GNU C++17 | TESTS | 38 | 234 | 15974400 | 1900 | |
54143942 | quake0 | E | May 14, 2019, 6:44 p.m. | OK | GNU C++17 | TESTS | 38 | 249 | 0 | 1900 | |
53864710 | trungvthe130284 | E | May 8, 2019, 2:13 a.m. | OK | GNU C++17 | TESTS | 38 | 249 | 3993600 | 1900 | |
53864949 | trungvthe130284 | E | May 8, 2019, 2:29 a.m. | OK | GNU C++17 | TESTS | 38 | 249 | 3993600 | 1900 | |
66494243 | LilMeyer | E | Dec. 8, 2019, 9:48 a.m. | OK | GNU C++17 | TESTS | 38 | 249 | 7987200 | 1900 | |
40364077 | aman28rwt | E | July 15, 2018, 4:08 a.m. | OK | Java 8 | TESTS | 38 | 187 | 0 | 1900 | |
40354547 | aman28rwt | E | July 14, 2018, 7:05 p.m. | OK | Java 8 | TESTS | 38 | 187 | 0 | 1900 | |
40354490 | aman28rwt | E | July 14, 2018, 7:03 p.m. | OK | Java 8 | TESTS | 38 | 187 | 0 | 1900 | |
40366673 | 7dan | E | July 15, 2018, 6:15 a.m. | OK | Java 8 | TESTS | 38 | 202 | 15360000 | 1900 | |
40354436 | aman28rwt | E | July 14, 2018, 7:01 p.m. | OK | Java 8 | TESTS | 38 | 217 | 0 | 1900 | |
41154621 | antkhorin | E | Aug. 3, 2018, 11:17 a.m. | OK | Java 8 | TESTS | 38 | 217 | 15360000 | 1900 | |
40363824 | xodiac | E | July 15, 2018, 3:51 a.m. | OK | Java 8 | TESTS | 38 | 218 | 5734400 | 1900 | |
68385266 | saurabhs1206 | E | Jan. 8, 2020, 5:28 a.m. | OK | Java 8 | TESTS | 38 | 218 | 22323200 | 1900 | |
40781820 | hulk_man | E | July 26, 2018, 2:16 p.m. | OK | Java 8 | TESTS | 38 | 233 | 0 | 1900 | |
40397510 | dalt | E | July 16, 2018, 6:05 a.m. | OK | Java 8 | TESTS | 38 | 233 | 2867200 | 1900 | |
40514522 | YYOne | E | July 18, 2018, 12:44 p.m. | OK | Mono C# | TESTS | 38 | 405 | 111104000 | 1900 | |
48492856 | vjudge5 | E | Jan. 17, 2019, 11:42 a.m. | OK | MS C++ | TESTS | 38 | 187 | 3993600 | 1900 | |
40573035 | UminchuR | E | July 20, 2018, 9:13 a.m. | OK | MS C++ | TESTS | 38 | 202 | 3993600 | 1900 | |
48487099 | vjudge4 | E | Jan. 17, 2019, 8:53 a.m. | OK | MS C++ | TESTS | 38 | 202 | 24064000 | 1900 | |
48487868 | vjudge2 | E | Jan. 17, 2019, 9:13 a.m. | OK | MS C++ | TESTS | 38 | 218 | 7987200 | 1900 | |
58991290 | TianSunXing | E | Aug. 18, 2019, 9:20 a.m. | OK | MS C++ | TESTS | 38 | 218 | 12083200 | 1900 | |
48488268 | vjudge2 | E | Jan. 17, 2019, 9:24 a.m. | OK | MS C++ | TESTS | 38 | 218 | 48128000 | 1900 | |
56718947 | vjudge2 | E | July 8, 2019, 3:49 p.m. | OK | MS C++ | TESTS | 38 | 233 | 17612800 | 1900 | |
58991245 | TianZuiXing | E | Aug. 18, 2019, 9:19 a.m. | OK | MS C++ | TESTS | 38 | 234 | 16076800 | 1900 | |
48489238 | RicheyJang | E | Jan. 17, 2019, 9:55 a.m. | OK | MS C++ | TESTS | 38 | 234 | 24064000 | 1900 | |
41311544 | CrashMaster | E | Aug. 7, 2018, 4:27 p.m. | OK | MS C++ | TESTS | 38 | 249 | 7987200 | 1900 | |
64183004 | EDawn | E | Nov. 4, 2019, 2:38 a.m. | OK | MS C++ 2017 | TESTS | 38 | 327 | 11980800 | 1900 | |
47820575 | c1729 | E | Jan. 1, 2019, 5:25 p.m. | OK | PyPy 2 | TESTS | 38 | 405 | 46182400 | 1900 | |
58547782 | YESMAths | E | Aug. 10, 2019, 5:44 p.m. | OK | PyPy 2 | TESTS | 38 | 405 | 53248000 | 1900 | |
40701747 | Onesh0t | E | July 24, 2018, 11:17 a.m. | OK | PyPy 2 | TESTS | 38 | 420 | 53350400 | 1900 | |
59834286 | FlyingBag65 | E | Sept. 1, 2019, 2:38 a.m. | OK | PyPy 2 | TESTS | 38 | 998 | 73216000 | 1900 | |
40602792 | MaxHo | E | July 21, 2018, 9:33 a.m. | OK | PyPy 3 | TESTS | 38 | 920 | 92467200 | 1900 | |
40366781 | rkill | E | July 15, 2018, 6:18 a.m. | OK | PyPy 3 | TESTS | 38 | 1091 | 92467200 | 1900 | |
40358044 | bentjacobson | E | July 14, 2018, 9:29 p.m. | OK | PyPy 3 | TESTS | 38 | 1170 | 92160000 | 1900 | |
40391713 | wangkan2001 | E | July 16, 2018, 1:29 a.m. | OK | Python 2 | TESTS | 38 | 1154 | 53760000 | 1900 | |
40409568 | sallyyao2001 | E | July 16, 2018, 11:45 a.m. | OK | Python 2 | TESTS | 38 | 1170 | 53760000 | 1900 | |
40720581 | Andromedayu | E | July 25, 2018, 12:54 a.m. | OK | Python 2 | TESTS | 38 | 1403 | 53760000 | 1900 | |
40366762 | Ali_Pi | E | July 15, 2018, 6:18 a.m. | OK | Python 2 | TESTS | 38 | 1465 | 53657600 | 1900 | |
40930629 | ReaLNero1 | E | July 30, 2018, 12:04 a.m. | OK | Python 2 | TESTS | 38 | 1497 | 53657600 | 1900 | |
47820520 | c1729 | E | Jan. 1, 2019, 5:23 p.m. | OK | Python 3 | TESTS | 38 | 826 | 77721600 | 1900 | |
40375516 | orailly | E | July 15, 2018, 10:48 a.m. | OK | Python 3 | TESTS | 38 | 966 | 61235200 | 1900 | |
47820740 | c1729 | E | Jan. 1, 2019, 5:32 p.m. | OK | Python 3 | TESTS | 38 | 982 | 47616000 | 1900 | |
40377333 | DeadPillow | E | July 15, 2018, 11:51 a.m. | OK | Python 3 | TESTS | 38 | 1278 | 61440000 | 1900 | |
40430550 | _Kee | E | July 16, 2018, 3:29 p.m. | OK | Python 3 | TESTS | 38 | 1341 | 62566400 | 1900 | |
41310503 | jojomobobo | E | Aug. 7, 2018, 3:44 p.m. | OK | Python 3 | TESTS | 38 | 1372 | 61235200 | 1900 | |
59503949 | NocturneBflat | E | Aug. 26, 2019, 4:56 a.m. | OK | Python 3 | TESTS | 38 | 1404 | 61440000 | 1900 | |
40702763 | aruncveli | E | July 24, 2018, 11:52 a.m. | OK | Python 3 | TESTS | 38 | 1419 | 61235200 | 1900 | |
48977353 | Darkarchon | E | Jan. 26, 2019, 9:44 a.m. | OK | Python 3 | TESTS | 38 | 1450 | 61747200 | 1900 |
Back to search problems