Educational Codeforces Round 15

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
702 Educational Codeforces Round 15 FINISHED False 7200 262018799 July 29, 2016, 3 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 3376 ) D Road to Post Office PROGRAMMING math 1900

B"Vasiliy has a car and he wants to get from home to the post office. The distance which he needs to pass equals to d kilometers. Vasiliy's car is not new -- it breaks after driven every k kilometers and Vasiliy needs t seconds to repair it. After repairing his car Vasiliy can drive again (but after k kilometers it will break again, and so on). In the beginning of the trip the car is just from repair station. To drive one kilometer on car Vasiliy spends a seconds, to walk one kilometer on foot he needs b seconds (a xe2 x80 x89< xe2 x80 x89b). Your task is to find minimal time after which Vasiliy will be able to reach the post office. Consider that in every moment of time Vasiliy can left his car and start to go on foot. The first line contains 5 positive integers d, xe2 x80 x89k, xe2 x80 x89a, xe2 x80 x89b, xe2 x80 x89t (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89d xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891012; 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89k, xe2 x80 x89a, xe2 x80 x89b, xe2 x80 x89t xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89106; a xe2 x80 x89< xe2 x80 x89b), where: Print the minimal time after which Vasiliy will be able to reach the post office. In the first example Vasiliy needs to drive the first 2 kilometers on the car (in 2 seconds) and then to walk on foot 3 kilometers (in 12 seconds). So the answer equals to 14 seconds. In the second example Vasiliy needs to drive the first 2 kilometers on the car (in 2 seconds), then repair his car (in 5 seconds) and drive 2 kilometers more on the car (in 2 seconds). After that he needs to walk on foot 1 kilometer (in 4 seconds). So the answer equals to 13 seconds. "...

Tutorials

46324

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
19603306 BaL1337 D Aug. 3, 2016, 6:03 p.m. OK Delphi TESTS 129 31 0 1900
20078295 Chreonix D Aug. 23, 2016, 6:09 a.m. OK FPC TESTS 129 15 1638400 1900
21463477 k2nt D Oct. 15, 2016, 5:20 p.m. OK FPC TESTS 129 30 1740800 1900
19762858 Gray_58 D Aug. 10, 2016, 9:39 a.m. OK FPC TESTS 129 30 1740800 1900
19617508 lerom D Aug. 4, 2016, 2:56 p.m. OK FPC TESTS 129 31 102400 1900
19908517 LossABike D Aug. 16, 2016, 1:45 p.m. OK FPC TESTS 129 31 1740800 1900
28396111 KagamiharaNadeshiko D July 10, 2017, 1:35 a.m. OK FPC TESTS 129 31 1740800 1900
19750326 vkozlovs D Aug. 9, 2016, 3:53 p.m. OK FPC TESTS 129 202 1740800 1900
21971452 Adipra D Nov. 1, 2016, 3:09 p.m. OK GNU C TESTS 129 15 0 1900
23191582 PavanV D Dec. 21, 2016, 5:26 a.m. OK GNU C TESTS 129 15 1843200 1900
35947696 rainboy D March 4, 2018, 7:05 p.m. OK GNU C TESTS 129 15 1843200 1900
20289221 srijansingh D Aug. 30, 2016, 8:12 p.m. OK GNU C TESTS 129 30 0 1900
20497848 pratik0509 D Sept. 10, 2016, 1:19 p.m. OK GNU C TESTS 129 31 0 1900
20647918 salim23 D Sept. 15, 2016, 7:43 p.m. OK GNU C TESTS 129 31 0 1900
19639010 tiorted D Aug. 4, 2016, 8:31 p.m. OK GNU C TESTS 129 31 1843200 1900
22589570 Joker1010123 D Nov. 29, 2016, 1:27 a.m. OK GNU C++ TESTS 129 15 0 1900
21987454 Tanim_kuet D Nov. 2, 2016, 9:54 a.m. OK GNU C++ TESTS 129 15 0 1900
21987134 vjudge3 D Nov. 2, 2016, 9:39 a.m. OK GNU C++ TESTS 129 15 0 1900
21623586 -g0d- D Oct. 20, 2016, 4:55 p.m. OK GNU C++ TESTS 129 15 0 1900
30420771 vjudge5 D Sept. 17, 2017, 12:19 p.m. OK GNU C++ TESTS 129 15 0 1900
31104449 vjudge4 D Oct. 7, 2017, 7:48 a.m. OK GNU C++ TESTS 129 15 0 1900
30524121 vjudge4 D Sept. 19, 2017, 5:43 p.m. OK GNU C++ TESTS 129 15 0 1900
29823038 vjudge3 D Aug. 27, 2017, 9:35 a.m. OK GNU C++ TESTS 129 15 0 1900
29822189 vjudge2 D Aug. 27, 2017, 8:42 a.m. OK GNU C++ TESTS 129 15 0 1900
29821544 vjudge2 D Aug. 27, 2017, 8:05 a.m. OK GNU C++ TESTS 129 15 0 1900
21894714 nayem_097 D Oct. 30, 2016, 3:20 p.m. OK GNU C11 TESTS 129 15 0 1900
27771821 ayaHamdi D June 14, 2017, 10:03 a.m. OK GNU C++11 TESTS 129 15 0 1900
31138543 BENYAM1N D Oct. 8, 2017, 9:14 a.m. OK GNU C++11 TESTS 129 15 0 1900
31136344 20155603 D Oct. 8, 2017, 7:45 a.m. OK GNU C++11 TESTS 129 15 0 1900
29636120 dyzsr D Aug. 21, 2017, 6:02 a.m. OK GNU C++11 TESTS 129 15 0 1900
27548128 imipc D June 3, 2017, 3:47 p.m. OK GNU C++11 TESTS 129 15 0 1900
27355492 vjudge3 D May 26, 2017, 12:28 p.m. OK GNU C++11 TESTS 129 15 0 1900
27098816 Svlad_Cjelli D May 14, 2017, 1:08 a.m. OK GNU C++11 TESTS 129 15 0 1900
22652672 scarf D Dec. 2, 2016, 6:22 a.m. OK GNU C++11 TESTS 129 15 0 1900
21898869 gafeol D Oct. 30, 2016, 7:34 p.m. OK GNU C++11 TESTS 129 15 0 1900
21857342 SendThemToHell D Oct. 28, 2016, 7:26 p.m. OK GNU C++11 TESTS 129 15 0 1900
31262106 Medeowex D Oct. 12, 2017, 11:23 p.m. OK GNU C++14 TESTS 129 15 0 1900
31169993 st-Firdavs D Oct. 9, 2017, 2:25 p.m. OK GNU C++14 TESTS 129 15 0 1900
31167439 KHUSRAV D Oct. 9, 2017, 12:45 p.m. OK GNU C++14 TESTS 129 15 0 1900
31159053 srinu37 D Oct. 9, 2017, 4:53 a.m. OK GNU C++14 TESTS 129 15 0 1900
30333499 _Jaykishan_Parmar D Sept. 14, 2017, 4:30 p.m. OK GNU C++14 TESTS 129 15 0 1900
30327461 brijeshpanara24 D Sept. 14, 2017, 12:06 p.m. OK GNU C++14 TESTS 129 15 0 1900
29953617 Near_mj D Aug. 31, 2017, 3:16 p.m. OK GNU C++14 TESTS 129 15 0 1900
29836156 Ashishgup D Aug. 27, 2017, 11:35 p.m. OK GNU C++14 TESTS 129 15 0 1900
29666563 2shraaf D Aug. 21, 2017, 7:09 p.m. OK GNU C++14 TESTS 129 15 0 1900
31991918 kush_s D Nov. 2, 2017, 8:12 p.m. OK GNU C++14 TESTS 129 15 0 1900
35463453 eyg D Feb. 19, 2018, 6:40 a.m. OK GNU C++17 TESTS 129 15 2048000 1900
54064786 Rodrigoaf61 D May 13, 2019, 12:54 p.m. OK GNU C++17 TESTS 129 30 0 1900
69479476 BanazadehAria D Jan. 24, 2020, 5:15 p.m. OK GNU C++17 TESTS 129 31 0 1900
69069635 ILSM D Jan. 18, 2020, 8:42 p.m. OK GNU C++17 TESTS 129 31 0 1900
68988836 zh_zhumash D Jan. 17, 2020, 1:28 p.m. OK GNU C++17 TESTS 129 31 0 1900
68903522 hank55663 D Jan. 16, 2020, 6:28 a.m. OK GNU C++17 TESTS 129 31 0 1900
68447628 1234 D Jan. 9, 2020, 1:15 p.m. OK GNU C++17 TESTS 129 31 0 1900
68352721 Zihad_Bd D Jan. 7, 2020, 10:39 a.m. OK GNU C++17 TESTS 129 31 0 1900
67185938 shamim7999 D Dec. 19, 2019, 4:39 a.m. OK GNU C++17 TESTS 129 31 0 1900
69653992 ST_C D Jan. 28, 2020, 6:37 a.m. OK GNU C++17 TESTS 129 31 0 1900
68736504 ankyy_0103 D Jan. 13, 2020, 8:30 p.m. OK Java 11 TESTS 129 186 0 1900
19595774 rechmae D Aug. 3, 2016, 10:37 a.m. OK Java 7 TESTS 129 109 0 1900
19615945 harsh11298 D Aug. 4, 2016, 1:25 p.m. OK Java 7 TESTS 129 124 0 1900
19592426 sevimlikedicik D Aug. 3, 2016, 6:47 a.m. OK Java 7 TESTS 129 124 0 1900
19612567 dmvs000 D Aug. 4, 2016, 9:32 a.m. OK Java 7 TESTS 129 140 0 1900
19605493 maria12881 D Aug. 3, 2016, 9:04 p.m. OK Java 7 TESTS 129 155 0 1900
46576362 wery0 D Dec. 4, 2018, 8:55 a.m. OK Java 8 TESTS 129 109 0 1900
25106885 maldonadokevin11 huapito D Feb. 28, 2017, 5:41 p.m. OK Java 8 TESTS 129 109 20172800 1900
19946931 hossamfawzy96 D Aug. 18, 2016, 1:24 p.m. OK Java 8 TESTS 129 109 20172800 1900
19946728 hossamfawzy96 D Aug. 18, 2016, 1:12 p.m. OK Java 8 TESTS 129 109 20172800 1900
19737425 Derino D Aug. 8, 2016, 11:36 p.m. OK Java 8 TESTS 129 109 20172800 1900
66530186 yaoct D Dec. 9, 2019, 7:23 a.m. OK Java 8 TESTS 129 124 0 1900
57984146 vaibhavpulastya D July 30, 2019, 10:39 a.m. OK Java 8 TESTS 129 124 0 1900
19613120 haris D Aug. 4, 2016, 10:18 a.m. OK Java 8 TESTS 129 124 0 1900
19596692 yasmineamr D Aug. 3, 2016, 11:43 a.m. OK Java 8 TESTS 129 124 0 1900
23379111 Ali.Pi D Dec. 28, 2016, 1:46 p.m. OK Java 8 TESTS 129 124 20275200 1900
19599448 AnatolyTolstobrov D Aug. 3, 2016, 2:12 p.m. OK MS C# TESTS 129 62 2457600 1900
22530198 og.kostya D Nov. 27, 2016, 4:25 p.m. OK MS C# TESTS 129 77 9113600 1900
22220630 Mem D Nov. 15, 2016, 10:56 a.m. OK MS C# TESTS 129 108 2560000 1900
19783725 DigitalArtistKz D Aug. 11, 2016, 12:15 p.m. OK MS C# TESTS 129 109 11366400 1900
19590828 BlinKer D Aug. 3, 2016, 4:18 a.m. OK MS C++ TESTS 129 15 0 1900
27686000 vjudge5 D June 9, 2017, 9:18 a.m. OK MS C++ TESTS 129 15 102400 1900
27685998 vjudge4 D June 9, 2017, 9:18 a.m. OK MS C++ TESTS 129 15 204800 1900
21427952 Roma54 D Oct. 14, 2016, 4:30 p.m. OK MS C++ TESTS 129 15 2048000 1900
19775991 Sweety_Girl D Aug. 11, 2016, 3:09 a.m. OK MS C++ TESTS 129 15 2048000 1900
20803695 Domonion D Sept. 21, 2016, 6:24 p.m. OK MS C++ TESTS 129 30 0 1900
19590808 BlinKer D Aug. 3, 2016, 4:16 a.m. OK MS C++ TESTS 129 30 0 1900
22059234 Mano D Nov. 5, 2016, 3:19 p.m. OK MS C++ TESTS 129 30 102400 1900
20108712 cfeitong D Aug. 24, 2016, 3:44 p.m. OK MS C++ TESTS 129 30 2048000 1900
20040677 charles123 D Aug. 22, 2016, 7:33 a.m. OK MS C++ TESTS 129 30 2048000 1900
19595791 s_p D Aug. 3, 2016, 10:39 a.m. OK Perl TESTS 129 31 0 1900
52721604 syzymon D April 13, 2019, 8:11 p.m. OK PyPy 3 TESTS 129 139 0 1900
57982920 _rdv_ D July 30, 2019, 10:07 a.m. OK PyPy 3 TESTS 129 155 0 1900
62229817 anakib1 D Oct. 9, 2019, 8:13 p.m. OK PyPy 3 TESTS 129 171 0 1900
19637782 michal.waszczuk D Aug. 4, 2016, 7:24 p.m. OK PyPy 3 TESTS 129 171 23040000 1900
23667454 vjudge4 D Jan. 9, 2017, 4:58 p.m. OK PyPy 3 TESTS 129 265 38912000 1900
20228899 AidosKz D Aug. 29, 2016, 11:59 a.m. OK Python 2 TESTS 129 61 0 1900
30216342 WaltTheWonderBoy D Sept. 9, 2017, 3:08 a.m. OK Python 2 TESTS 129 62 0 1900
21048661 GoNoCoder D Sept. 30, 2016, 7:04 p.m. OK Python 2 TESTS 129 62 0 1900
19687688 andreamaf D Aug. 7, 2016, 1:49 p.m. OK Python 2 TESTS 129 62 4608000 1900
19661569 maiquynhtruong D Aug. 6, 2016, 3:35 a.m. OK Python 2 TESTS 129 62 4608000 1900
19653437 igor375 D Aug. 5, 2016, 2:17 p.m. OK Python 2 TESTS 129 62 4608000 1900
19644831 franckmy D Aug. 5, 2016, 6:07 a.m. OK Python 2 TESTS 129 62 4608000 1900
28152009 ArGuTe D June 29, 2017, 4:46 p.m. OK Python 2 TESTS 129 62 4710400 1900
28151180 ArGuTe D June 29, 2017, 4:35 p.m. OK Python 2 TESTS 129 62 4710400 1900
22130752 Sungmin D Nov. 9, 2016, 1:30 p.m. OK Python 2 TESTS 129 78 0 1900
27061703 toster1287 D May 12, 2017, 8:12 p.m. OK Python 3 TESTS 129 62 0 1900
27061697 hpotter97762 D May 12, 2017, 8:12 p.m. OK Python 3 TESTS 129 62 0 1900
20636608 Nikodimishe D Sept. 15, 2016, 9:38 a.m. OK Python 3 TESTS 129 62 0 1900
19617317 Leks D Aug. 4, 2016, 2:45 p.m. OK Python 3 TESTS 129 62 0 1900
19613495 canlasalbert29 D Aug. 4, 2016, 10:44 a.m. OK Python 3 TESTS 129 62 0 1900
19610207 Hajime_005 D Aug. 4, 2016, 6:30 a.m. OK Python 3 TESTS 129 62 0 1900
19609600 MiaShe D Aug. 4, 2016, 5:40 a.m. OK Python 3 TESTS 129 62 0 1900
20214176 raymond13513 D Aug. 28, 2016, 3:17 p.m. OK Python 3 TESTS 129 62 4608000 1900
19870878 ashibaev D Aug. 14, 2016, 3:03 p.m. OK Python 3 TESTS 129 62 4608000 1900
19754877 umamaheswar D Aug. 9, 2016, 9:40 p.m. OK Python 3 TESTS 129 62 4608000 1900
24747336 PL_kolek D Feb. 17, 2017, 11:11 p.m. OK Rust TESTS 129 31 1536000 1900

remove filters

Back to search problems