Educational Codeforces Round 10

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
652 Educational Codeforces Round 10 FINISHED False 7200 272912399 March 25, 2016, 1 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 4781 ) A Gabriel and Caterpillar PROGRAMMING implementation math 1400

B"The 9-th grade student Gabriel noticed a caterpillar on a tree when walking around in a forest after the classes. The caterpillar was on the height h1 cm from the ground. On the height h2 cm (h2 xe2 x80 x89> xe2 x80 x89h1) on the same tree hung an apple and the caterpillar was crawling to the apple. Gabriel is interested when the caterpillar gets the apple. He noted that the caterpillar goes up by a cm per hour by day and slips down by b cm per hour by night. In how many days Gabriel should return to the forest to see the caterpillar get the apple. You can consider that the day starts at 10 am and finishes at 10 pm. Gabriel's classes finish at 2 pm. You can consider that Gabriel noticed the caterpillar just after the classes at 2 pm. Note that the forest is magic so the caterpillar can slip down under the ground and then lift to the apple. The first line contains two integers h1, xe2 x80 x89h2 (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89h1 xe2 x80 x89< xe2 x80 x89h2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105) -- the heights of the position of the caterpillar and the apple in centimeters. The second line contains two integers a, xe2 x80 x89b (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89a, xe2 x80 x89b xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105) -- the distance the caterpillar goes up by day and slips down by night, in centimeters per hour. Print the only integer k -- the number of days Gabriel should wait to return to the forest and see the caterpillar getting the apple. If the caterpillar can't get the apple print the only integer xe2 x80 x89- xe2 x80 x891. In the first example at 10 pm of the first day the caterpillar gets the height 26. At 10 am of the next day it slips down to the height 14. And finally at 6 pm of the same day the caterpillar gets the apple. Note that in the last example the caterpillar was slipping down under the ground and getting the apple on the next day. "...

Tutorials

Editorial of Educational Codeforces Round 10

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
16937528 I_Love_Sasha_Golovach A March 25, 2016, 6:45 p.m. OK Delphi TESTS 76 30 2560000 1400
16924114 A_Sey A March 25, 2016, 1:23 p.m. OK Delphi TESTS 76 30 2662400 1400
16970460 den_mel A March 27, 2016, 11:51 a.m. OK Delphi TESTS 76 31 2662400 1400
17146910 ruban A April 3, 2016, 3:01 p.m. OK Delphi TESTS 76 46 2662400 1400
22907834 Zeron A Dec. 12, 2016, 3:59 p.m. OK FPC TESTS 76 15 0 1400
26585808 vjudge4 A April 22, 2017, 2:21 p.m. OK FPC TESTS 76 15 1638400 1400
26585369 vjudge1 A April 22, 2017, 2 p.m. OK FPC TESTS 76 15 1638400 1400
26585202 vjudge3 A April 22, 2017, 1:53 p.m. OK FPC TESTS 76 15 1638400 1400
26585192 vjudge1 A April 22, 2017, 1:52 p.m. OK FPC TESTS 76 15 1638400 1400
26586399 vjudge3 A April 22, 2017, 2:48 p.m. OK FPC TESTS 76 15 1638400 1400
26586567 vjudge3 A April 22, 2017, 2:56 p.m. OK FPC TESTS 76 15 1638400 1400
26595389 vjudge3 A April 23, 2017, 5 a.m. OK FPC TESTS 76 15 1638400 1400
26597274 vjudge4 A April 23, 2017, 7:01 a.m. OK FPC TESTS 76 15 1638400 1400
26598044 vjudge3 A April 23, 2017, 7:46 a.m. OK FPC TESTS 76 15 1638400 1400
21879596 Tom_Hanks A Oct. 29, 2016, 6:37 p.m. OK GNU C TESTS 76 15 0 1400
19521348 dGreen A July 30, 2016, 4:20 p.m. OK GNU C TESTS 76 15 0 1400
19012923 rudr A July 10, 2016, 4:20 p.m. OK GNU C TESTS 76 15 0 1400
17315558 15251104115 A April 14, 2016, 2:21 p.m. OK GNU C TESTS 76 15 0 1400
17035098 ariqrahman A March 30, 2016, 1:50 p.m. OK GNU C TESTS 76 15 0 1400
17034075 akashmandal21 A March 30, 2016, 12:48 p.m. OK GNU C TESTS 76 15 0 1400
16937021 shivamaryan17 A March 25, 2016, 6:28 p.m. OK GNU C TESTS 76 15 1843200 1400
16950705 Rayhana37 A March 26, 2016, 9:14 a.m. OK GNU C TESTS 76 15 1843200 1400
16944380 WHO_ A March 26, 2016, 5:54 a.m. OK GNU C TESTS 76 15 1843200 1400
16935759 gmsr120 A March 25, 2016, 5:44 p.m. OK GNU C TESTS 76 15 1843200 1400
32089847 anotherandres A Nov. 6, 2017, 8:40 a.m. OK GNU C++ TESTS 76 15 0 1400
29813460 Artemx A Aug. 26, 2017, 7:10 p.m. OK GNU C++ TESTS 76 15 0 1400
32542495 vjudge3 A Nov. 22, 2017, 7:13 a.m. OK GNU C++ TESTS 76 15 0 1400
27761133 Adham_Nasr A June 13, 2017, 6:27 p.m. OK GNU C++ TESTS 76 15 0 1400
27703337 Reayz A June 10, 2017, 9:24 a.m. OK GNU C++ TESTS 76 15 0 1400
27608964 vjudge3 A June 6, 2017, 8:49 a.m. OK GNU C++ TESTS 76 15 0 1400
27337017 vjudge5 A May 25, 2017, 12:56 p.m. OK GNU C++ TESTS 76 15 0 1400
27336985 vjudge3 A May 25, 2017, 12:55 p.m. OK GNU C++ TESTS 76 15 0 1400
27335837 vjudge5 A May 25, 2017, 12:07 p.m. OK GNU C++ TESTS 76 15 0 1400
27335766 vjudge1 A May 25, 2017, 12:03 p.m. OK GNU C++ TESTS 76 15 0 1400
20802754 parth12345 A Sept. 21, 2016, 5:40 p.m. OK GNU C11 TESTS 76 15 102400 1400
16954471 Jaquiroman A March 26, 2016, 10:55 a.m. OK GNU C11 TESTS 76 15 1843200 1400
16936418 uniqueemon69 A March 25, 2016, 6:07 p.m. OK GNU C11 TESTS 76 15 1843200 1400
16929542 antares A March 25, 2016, 2:31 p.m. OK GNU C11 TESTS 76 15 2048000 1400
17908676 Farhan007 A May 14, 2016, 2:42 p.m. OK GNU C11 TESTS 76 15 2048000 1400
17246595 Kei_H A April 9, 2016, 12:11 a.m. OK GNU C11 TESTS 76 15 2048000 1400
19615706 venom000 A Aug. 4, 2016, 1:13 p.m. OK GNU C11 TESTS 76 30 0 1400
57727270 abcd227 A July 25, 2019, 7:32 a.m. OK GNU C11 TESTS 76 31 0 1400
52251172 kaiboy A April 3, 2019, 12:30 a.m. OK GNU C11 TESTS 76 31 0 1400
64262120 Razvan2000f A Nov. 4, 2019, 4:55 p.m. OK GNU C11 TESTS 76 31 0 1400
27115862 Initiated A May 15, 2017, 5:26 a.m. OK GNU C++11 TESTS 76 15 0 1400
31984740 Nodir_Bobiev A Nov. 2, 2017, 3:30 p.m. OK GNU C++11 TESTS 76 15 0 1400
31101572 aka.Sohieb A Oct. 7, 2017, 6:15 a.m. OK GNU C++11 TESTS 76 15 0 1400
30947985 st-Firdavs A Oct. 2, 2017, 4:17 p.m. OK GNU C++11 TESTS 76 15 0 1400
30384939 TurboSergikk A Sept. 16, 2017, 2:04 p.m. OK GNU C++11 TESTS 76 15 0 1400
29806259 kai9 A Aug. 26, 2017, 12:37 p.m. OK GNU C++11 TESTS 76 15 0 1400
27687872 shash42 A June 9, 2017, 11:24 a.m. OK GNU C++11 TESTS 76 15 0 1400
27425885 searcher7 A May 29, 2017, 8:36 a.m. OK GNU C++11 TESTS 76 15 0 1400
27334596 vjudge3 A May 25, 2017, 11:08 a.m. OK GNU C++11 TESTS 76 15 0 1400
26968632 Ridowan_Ahmed A May 9, 2017, 6:44 a.m. OK GNU C++11 TESTS 76 15 0 1400
30820038 KHUSRAV A Sept. 29, 2017, 4:25 a.m. OK GNU C++14 TESTS 76 15 0 1400
30946897 FiftyNine A Oct. 2, 2017, 3:27 p.m. OK GNU C++14 TESTS 76 15 0 1400
32505875 NiroBC A Nov. 20, 2017, 4:28 p.m. OK GNU C++14 TESTS 76 15 0 1400
32058701 mutsu-enmeiryuu A Nov. 4, 2017, 4:45 p.m. OK GNU C++14 TESTS 76 15 0 1400
31217953 BatyrAkhmetov A Oct. 11, 2017, 1:45 p.m. OK GNU C++14 TESTS 76 15 0 1400
31172676 Warawreh A Oct. 9, 2017, 4:22 p.m. OK GNU C++14 TESTS 76 15 0 1400
31149999 SSa_KrVf47FD A Oct. 8, 2017, 4:42 p.m. OK GNU C++14 TESTS 76 15 0 1400
31121654 Omnia.Saleh A Oct. 7, 2017, 4:08 p.m. OK GNU C++14 TESTS 76 15 0 1400
31010089 Abdulbosit.Abdullo A Oct. 5, 2017, 6:45 a.m. OK GNU C++14 TESTS 76 15 0 1400
31001756 srinu37 A Oct. 4, 2017, 7:35 p.m. OK GNU C++14 TESTS 76 15 0 1400
51257712 Umm A March 13, 2019, 12:01 p.m. OK GNU C++17 TESTS 76 15 0 1400
38352901 ondr12 A May 17, 2018, 2:52 p.m. OK GNU C++17 TESTS 76 15 0 1400
38068374 vjudge4 A May 9, 2018, 10:53 a.m. OK GNU C++17 TESTS 76 15 3379200 1400
50340817 Biioy A Feb. 23, 2019, 2 a.m. OK GNU C++17 TESTS 76 30 0 1400
50348118 zstuycz A Feb. 23, 2019, 7:20 a.m. OK GNU C++17 TESTS 76 30 0 1400
53894904 trungvthe130284 A May 9, 2019, 4:59 a.m. OK GNU C++17 TESTS 76 30 0 1400
56249049 raymondyuewang A June 29, 2019, 12:59 a.m. OK GNU C++17 TESTS 76 30 0 1400
56971729 hobgoblin23 A July 13, 2019, 10:34 a.m. OK GNU C++17 TESTS 76 30 0 1400
58079733 mustafa9900 A July 31, 2019, 1:32 p.m. OK GNU C++17 TESTS 76 30 0 1400
50339515 _op.z A Feb. 23, 2019, 12:46 a.m. OK GNU C++17 TESTS 76 30 0 1400
18327274 Makoz A June 8, 2016, 6:33 p.m. OK Go TESTS 76 15 5939200 1400
17287584 binhuq A April 12, 2016, 9:07 a.m. OK Go TESTS 76 30 0 1400
19950216 pavel.rosputko A Aug. 18, 2016, 5:07 p.m. OK Haskell TESTS 76 15 44851200 1400
18067621 CyberZHG A May 25, 2016, 7:46 a.m. OK Haskell TESTS 76 15 53248000 1400
64493898 davisrollman A Nov. 7, 2019, 9:49 p.m. OK Java 11 TESTS 76 187 0 1400
17176037 dream_coder A April 5, 2016, 5:38 p.m. OK Java 7 TESTS 76 93 39014400 1400
17175636 dspstanky A April 5, 2016, 5:09 p.m. OK Java 7 TESTS 76 93 39014400 1400
17118725 yan_lazy A April 1, 2016, 7:55 p.m. OK Java 7 TESTS 76 108 38912000 1400
17031103 maitony A March 30, 2016, 9:38 a.m. OK Java 7 TESTS 76 109 8806400 1400
17088477 tawsif93 A April 1, 2016, 10:46 a.m. OK Java 7 TESTS 76 109 38912000 1400
17175671 dspstanky A April 5, 2016, 5:10 p.m. OK Java 7 TESTS 76 109 39014400 1400
17393386 mIchanic A April 20, 2016, 12:17 a.m. OK Java 7 TESTS 76 109 39014400 1400
16964692 Genericcoder A March 27, 2016, 4:14 a.m. OK Java 7 TESTS 76 109 39116800 1400
16968638 LocknKey A March 27, 2016, 9:31 a.m. OK Java 7 TESTS 76 109 39116800 1400
17076999 tawsif93 A March 31, 2016, 3:39 p.m. OK Java 7 TESTS 76 109 39219200 1400
28822921 tomdmitriev A July 24, 2017, 11:29 a.m. OK Java 8 TESTS 76 108 20582400 1400
17353696 I_love_Malika A April 16, 2016, 7:56 p.m. OK Java 8 TESTS 76 109 0 1400
59234355 jakejase2 A Aug. 21, 2019, 4:48 p.m. OK Java 8 TESTS 76 109 0 1400
47509619 Harbin A Dec. 26, 2018, 5:30 a.m. OK Java 8 TESTS 76 109 0 1400
44594280 catforce A Oct. 20, 2018, 12:03 p.m. OK Java 8 TESTS 76 109 0 1400
19461915 a2910 A July 28, 2016, 1:08 p.m. OK Java 8 TESTS 76 109 0 1400
19735723 pd_008 A Aug. 8, 2016, 8:07 p.m. OK Java 8 TESTS 76 109 20480000 1400
18269461 kocko A June 6, 2016, 11:27 a.m. OK Java 8 TESTS 76 109 20582400 1400
16976523 akorzun A March 27, 2016, 5:20 p.m. OK Java 8 TESTS 76 109 20684800 1400
16925910 Mussa A March 25, 2016, 1:40 p.m. OK Java 8 TESTS 76 109 20684800 1400
19199862 anvesh16 A July 18, 2016, 3:31 a.m. OK JavaScript TESTS 76 31 0 1400
16987332 Grizix A March 28, 2016, 1:04 p.m. OK JavaScript TESTS 76 61 6144000 1400
54575611 arknave A May 24, 2019, 11:22 p.m. OK Kotlin TESTS 76 155 102400 1400
16965194 JhonTorres A March 27, 2016, 5:12 a.m. OK Mono C# TESTS 76 62 9113600 1400
23622289 Xtreemist A Jan. 7, 2017, 10:57 a.m. OK Mono C# TESTS 76 77 9113600 1400
23622335 Xtreemist A Jan. 7, 2017, 11:01 a.m. OK Mono C# TESTS 76 78 9113600 1400
16982939 russimuser A March 28, 2016, 6:06 a.m. OK Mono C# TESTS 76 92 9216000 1400
27543109 AymanWizard A June 3, 2017, 12:16 p.m. OK MS C# TESTS 76 46 102400 1400
16944230 labhamsahani A March 26, 2016, 5:41 a.m. OK MS C# TESTS 76 61 8908800 1400
16942958 ShashankKalangi A March 26, 2016, 3:10 a.m. OK MS C# TESTS 76 61 8908800 1400
16930976 Reshetova603 A March 25, 2016, 2:55 p.m. OK MS C# TESTS 76 61 9011200 1400
16924442 DVRazor A March 25, 2016, 1:26 p.m. OK MS C# TESTS 76 61 9113600 1400
16984177 AnatolyTolstobrov A March 28, 2016, 8:53 a.m. OK MS C# TESTS 76 61 9318400 1400
18973432 ARMy A July 8, 2016, 5:02 p.m. OK MS C# TESTS 76 62 0 1400
16943359 alokyadaviitd A March 26, 2016, 4:02 a.m. OK MS C# TESTS 76 62 8908800 1400
16932415 og.kostya A March 25, 2016, 4:06 p.m. OK MS C# TESTS 76 62 9011200 1400
16929553 Lemenvinks A March 25, 2016, 2:31 p.m. OK MS C# TESTS 76 62 9113600 1400
17323936 HeyZOJian A April 15, 2016, 8:33 a.m. OK MS C++ TESTS 76 15 0 1400
27391027 vjudge5 A May 27, 2017, 2:20 p.m. OK MS C++ TESTS 76 15 204800 1400
24607872 vjudge4 A Feb. 12, 2017, 11:58 a.m. OK MS C++ TESTS 76 15 2048000 1400
34824039 vjudge5 A Feb. 2, 2018, 2:23 a.m. OK MS C++ TESTS 76 15 2048000 1400
28187098 Ne0n25 A July 1, 2017, 8:14 a.m. OK MS C++ TESTS 76 15 2048000 1400
26299012 vjudge5 A April 11, 2017, 12:55 p.m. OK MS C++ TESTS 76 15 2048000 1400
26285456 vjudge1 A April 10, 2017, 10:27 p.m. OK MS C++ TESTS 76 15 2048000 1400
24604296 vjudge1 A Feb. 12, 2017, 8:24 a.m. OK MS C++ TESTS 76 15 2048000 1400
24602139 vjudge4 A Feb. 12, 2017, 6:16 a.m. OK MS C++ TESTS 76 15 2048000 1400
23286522 vjudge2 A Dec. 25, 2016, 7:25 a.m. OK MS C++ TESTS 76 15 2048000 1400
50349821 2018339960014 A Feb. 23, 2019, 8:01 a.m. OK MS C++ 2017 TESTS 76 31 0 1400
56562634 zaregenilsya A July 5, 2019, 3:11 p.m. OK MS C++ 2017 TESTS 76 31 0 1400
60466167 siwei A Sept. 13, 2019, 1:50 a.m. OK MS C++ 2017 TESTS 76 31 0 1400
16934817 mayakin A March 25, 2016, 5:14 p.m. OK PHP TESTS 76 46 4710400 1400
16923190 mehrankhodabandeh A March 25, 2016, 1:15 p.m. OK PyPy 2 TESTS 76 77 22425600 1400
17382486 juniorcompressor A April 19, 2016, 1:18 a.m. OK PyPy 2 TESTS 76 77 22630400 1400
16923693 EvgeniSergeev A March 25, 2016, 1:19 p.m. OK PyPy 2 TESTS 76 77 22630400 1400
16963949 Eeyore A March 27, 2016, 1:47 a.m. OK PyPy 2 TESTS 76 93 23347200 1400
48379492 IrOty1oX5uSp4 A Jan. 14, 2019, 9:42 a.m. OK PyPy 2 TESTS 76 124 0 1400
17024970 barakraganosungam A March 29, 2016, 7:32 p.m. OK PyPy 2 TESTS 76 124 22630400 1400
29467260 Qumeric A Aug. 14, 2017, 9:07 p.m. OK PyPy 3 TESTS 76 109 23142400 1400
59265664 XOR-star A Aug. 22, 2019, 10:36 a.m. OK PyPy 3 TESTS 76 155 1433600 1400
26711017 Naoki_M A April 28, 2017, 12:32 a.m. OK PyPy 3 TESTS 76 155 23347200 1400
64908641 kchau A Nov. 15, 2019, 1:03 a.m. OK PyPy 3 TESTS 76 171 0 1400
16983146 repush12 A March 28, 2016, 6:39 a.m. OK Python 2 TESTS 76 46 4710400 1400
25397150 jackpotax3 A March 11, 2017, 8:01 a.m. OK Python 2 TESTS 76 61 4608000 1400
17175809 gahj A April 5, 2016, 5:18 p.m. OK Python 2 TESTS 76 61 4710400 1400
17025779 nealzane A March 29, 2016, 9:06 p.m. OK Python 2 TESTS 76 61 4710400 1400
16963204 thegreatshasha A March 26, 2016, 10:43 p.m. OK Python 2 TESTS 76 61 4710400 1400
22833656 franckmy A Dec. 9, 2016, 12:49 p.m. OK Python 2 TESTS 76 62 0 1400
20938269 lovesh93 A Sept. 27, 2016, 5:34 a.m. OK Python 2 TESTS 76 62 0 1400
20766920 Leti A Sept. 20, 2016, 1:41 a.m. OK Python 2 TESTS 76 62 0 1400
23392722 entri A Dec. 29, 2016, 8:08 a.m. OK Python 2 TESTS 76 62 4608000 1400
17175953 denvaar A April 5, 2016, 5:30 p.m. OK Python 2 TESTS 76 62 4608000 1400
18848887 Vasiliy_48 A July 2, 2016, 4:14 a.m. OK Python 3 TESTS 76 62 0 1400
17354449 lavafalls A April 16, 2016, 9:09 p.m. OK Python 3 TESTS 76 62 0 1400
31142715 Flametaa A Oct. 8, 2017, 11:43 a.m. OK Python 3 TESTS 76 62 307200 1400
23584895 xarshila_ A Jan. 6, 2017, 12:09 p.m. OK Python 3 TESTS 76 62 4608000 1400
19962639 graseful A Aug. 19, 2016, 11:17 a.m. OK Python 3 TESTS 76 62 4608000 1400
16938854 taa A March 25, 2016, 7:41 p.m. OK Python 3 TESTS 76 62 4915200 1400
18410619 joker2003 A June 13, 2016, 10:46 a.m. OK Python 3 TESTS 76 62 5120000 1400
18409169 joker2003 A June 13, 2016, 9:30 a.m. OK Python 3 TESTS 76 62 5120000 1400
18296579 bingoer A June 8, 2016, 10:31 a.m. OK Python 3 TESTS 76 62 5120000 1400
17703625 sxx A May 4, 2016, 2:29 a.m. OK Python 3 TESTS 76 62 5120000 1400
18743486 redchrom A June 26, 2016, 10:03 p.m. OK Ruby TESTS 76 62 0 1400
17175431 dsprufus A April 5, 2016, 4:56 p.m. OK Ruby TESTS 76 62 6553600 1400
17175311 dsprufus A April 5, 2016, 4:49 p.m. OK Ruby TESTS 76 62 6553600 1400
16982280 daewon A March 28, 2016, 4:09 a.m. OK Ruby TESTS 76 62 6553600 1400
16927359 PanicStation A March 25, 2016, 1:57 p.m. OK Ruby TESTS 76 62 6553600 1400
16940318 MishaPrigara A March 25, 2016, 9 p.m. OK Ruby TESTS 76 77 6451200 1400
16925146 hidapple A March 25, 2016, 1:32 p.m. OK Ruby TESTS 76 77 6553600 1400
18649037 redchrom A June 22, 2016, 3:39 p.m. OK Ruby TESTS 76 108 0 1400
16977464 TheBoo A March 27, 2016, 6:35 p.m. OK Ruby TESTS 76 108 6553600 1400
35887512 ______M______ A March 3, 2018, 2:06 p.m. OK Ruby TESTS 76 436 6348800 1400
17288336 reldan A April 12, 2016, 10:33 a.m. OK Scala TESTS 76 327 0 1400

remove filters

Back to search problems