Educational Codeforces Round 24

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
818 Educational Codeforces Round 24 FINISHED False 8100 238776924 June 29, 2017, 3:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 7079 ) A Diplomas and Certificates PROGRAMMING implementation math 1000

B"There are n students who have taken part in an olympiad. Now it's time to award the students. Some of them will receive diplomas, some wiil get certificates, and others won't receive anything. Students with diplomas and certificates are called winners. But there are some rules of counting the number of diplomas and certificates. The number of certificates must be exactly k times greater than the number of diplomas. The number of winners must not be greater than half of the number of all students (i.e. not be greater than half of n). It's possible that there are no winners. You have to identify the maximum possible number of winners, according to these rules. Also for this case you have to calculate the number of students with diplomas, the number of students with certificates and the number of students who are not winners. The first (and the only) line of input contains two integers n and k (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89k xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891012), where n is the number of students and k is the ratio between the number of certificates and the number of diplomas. Output three numbers: the number of students with diplomas, the number of students with certificates and the number of students who are not winners in case when the number of winners is maximum possible. It's possible that there are no winners. "...

Tutorials

52991

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
28203378 nanae1914 A July 2, 2017, 4:59 a.m. OK D TESTS 44 15 2969600 1000
28143990 nanae1914 A June 29, 2017, 3:21 p.m. OK D TESTS 44 15 2969600 1000
28160558 fluffyowl A June 30, 2017, 12:55 a.m. OK D TESTS 44 31 2969600 1000
28194285 Akulyat A July 1, 2017, 3:32 p.m. OK Delphi TESTS 44 15 2560000 1000
28145546 Pilacis A June 29, 2017, 3:36 p.m. OK Delphi TESTS 44 15 2560000 1000
28152180 ruban A June 29, 2017, 4:48 p.m. OK Delphi TESTS 44 15 2560000 1000
28144461 PAG A June 29, 2017, 3:26 p.m. OK Delphi TESTS 44 31 2560000 1000
30823468 simoncatcity A Sept. 29, 2017, 8:19 a.m. OK FPC TESTS 44 15 0 1000
28360381 vjudge4 A July 8, 2017, 4:03 a.m. OK FPC TESTS 44 15 1638400 1000
28873035 OlMur A July 25, 2017, 10:37 a.m. OK FPC TESTS 44 15 1638400 1000
29098108 Anastazia A Aug. 1, 2017, 11:39 a.m. OK FPC TESTS 44 15 1638400 1000
28730012 hieutony15935 A July 20, 2017, 4:55 p.m. OK FPC TESTS 44 15 1638400 1000
28597016 hlly A July 16, 2017, 1:19 p.m. OK FPC TESTS 44 15 1638400 1000
28479208 hieutony159357 A July 12, 2017, 4:27 p.m. OK FPC TESTS 44 15 1638400 1000
28405936 neddie A July 10, 2017, 11:34 a.m. OK FPC TESTS 44 15 1638400 1000
28393523 KWS A July 9, 2017, 7:52 p.m. OK FPC TESTS 44 15 1638400 1000
28375678 Slonik A July 8, 2017, 7:50 p.m. OK FPC TESTS 44 15 1638400 1000
31160289 tamatama A Oct. 9, 2017, 6:18 a.m. OK GNU C TESTS 44 15 0 1000
31116270 maratonando2 A Oct. 7, 2017, 1:24 p.m. OK GNU C TESTS 44 15 0 1000
29706702 Apurbo A Aug. 23, 2017, 12:16 p.m. OK GNU C TESTS 44 15 0 1000
35576099 vuong123478 A Feb. 22, 2018, 2:48 p.m. OK GNU C TESTS 44 15 1843200 1000
33233617 Sumukh_Bhardwaj A Dec. 14, 2017, 8:20 a.m. OK GNU C TESTS 44 15 1843200 1000
29150003 smog A Aug. 3, 2017, 8:20 a.m. OK GNU C TESTS 44 15 1945600 1000
29448897 KinKong1 A Aug. 14, 2017, 5:32 a.m. OK GNU C TESTS 44 15 1945600 1000
29095491 172340 A Aug. 1, 2017, 9:58 a.m. OK GNU C TESTS 44 15 1945600 1000
28985377 Gaurav2663 A July 30, 2017, 7:48 a.m. OK GNU C TESTS 44 15 1945600 1000
28769951 raju24680 A July 22, 2017, 5:13 a.m. OK GNU C TESTS 44 15 1945600 1000
31890400 vjudge4 A Oct. 30, 2017, 10:44 a.m. OK GNU C++ TESTS 44 15 0 1000
32330541 vjudge5 A Nov. 15, 2017, 11:50 a.m. OK GNU C++ TESTS 44 15 0 1000
31883287 vjudge2 A Oct. 30, 2017, 7:06 a.m. OK GNU C++ TESTS 44 15 0 1000
31861813 vjudge4 A Oct. 29, 2017, 9:27 a.m. OK GNU C++ TESTS 44 15 0 1000
31861008 vjudge1 A Oct. 29, 2017, 8:56 a.m. OK GNU C++ TESTS 44 15 0 1000
31859744 vjudge1 A Oct. 29, 2017, 8:03 a.m. OK GNU C++ TESTS 44 15 0 1000
31849267 meJVJ A Oct. 28, 2017, 7:34 p.m. OK GNU C++ TESTS 44 15 0 1000
31230525 AbdulRahman_Nour A Oct. 12, 2017, 1:58 a.m. OK GNU C++ TESTS 44 15 0 1000
30015951 vjudge3 A Sept. 2, 2017, 3:30 p.m. OK GNU C++ TESTS 44 15 0 1000
30015754 vjudge2 A Sept. 2, 2017, 3:17 p.m. OK GNU C++ TESTS 44 15 0 1000
28144077 I_frankenstein A June 29, 2017, 3:22 p.m. OK GNU C11 TESTS 44 15 1945600 1000
29154396 karanattli A Aug. 3, 2017, 11:45 a.m. OK GNU C11 TESTS 44 15 1945600 1000
28780462 kush.shibu A July 22, 2017, 2:01 p.m. OK GNU C11 TESTS 44 15 1945600 1000
28525690 xiao-xiao A July 13, 2017, 5:31 p.m. OK GNU C11 TESTS 44 15 1945600 1000
28290032 fisicomiguel A July 4, 2017, 9:46 p.m. OK GNU C11 TESTS 44 15 1945600 1000
28154979 shubhjai1 A June 29, 2017, 5:34 p.m. OK GNU C11 TESTS 44 15 1945600 1000
28146808 BWO2 A June 29, 2017, 3:49 p.m. OK GNU C11 TESTS 44 15 1945600 1000
28143342 Mohit_kuri A June 29, 2017, 3:15 p.m. OK GNU C11 TESTS 44 15 1945600 1000
28147396 mannaemam A June 29, 2017, 3:54 p.m. OK GNU C11 TESTS 44 30 1945600 1000
28145685 FromSaffronCity A June 29, 2017, 3:38 p.m. OK GNU C11 TESTS 44 30 1945600 1000
30596159 DrSwad A Sept. 21, 2017, 6:02 p.m. OK GNU C++11 TESTS 44 15 0 1000
39075829 xsc A June 9, 2018, 6:04 p.m. OK GNU C++11 TESTS 44 15 0 1000
32499875 cherry00 A Nov. 20, 2017, 12:52 p.m. OK GNU C++11 TESTS 44 15 0 1000
31125506 Zergcito A Oct. 7, 2017, 6:36 p.m. OK GNU C++11 TESTS 44 15 0 1000
31034189 Laff1 A Oct. 5, 2017, 12:56 p.m. OK GNU C++11 TESTS 44 15 0 1000
30901039 sspu_zhaojingyuan1996 A Oct. 1, 2017, 6:57 a.m. OK GNU C++11 TESTS 44 15 0 1000
30763900 ggml A Sept. 26, 2017, 9:46 p.m. OK GNU C++11 TESTS 44 15 0 1000
30746164 _ChenKerui A Sept. 26, 2017, 9:46 a.m. OK GNU C++11 TESTS 44 15 0 1000
30031170 cmjb A Sept. 3, 2017, 11:13 a.m. OK GNU C++11 TESTS 44 15 0 1000
29955047 id1 A Aug. 31, 2017, 4:40 p.m. OK GNU C++11 TESTS 44 15 0 1000
32135872 A-Sitora A Nov. 8, 2017, 9:47 a.m. OK GNU C++14 TESTS 44 15 0 1000
31958334 dark_knight97 A Nov. 1, 2017, 5:15 p.m. OK GNU C++14 TESTS 44 15 0 1000
41447372 vjudge2 A Aug. 11, 2018, 1:35 a.m. OK GNU C++14 TESTS 44 15 0 1000
40688503 lhclqslove A July 24, 2018, 4:11 a.m. OK GNU C++14 TESTS 44 15 0 1000
40302642 thebes A July 14, 2018, 3:22 a.m. OK GNU C++14 TESTS 44 15 0 1000
39452564 Pooja_16 A June 21, 2018, 6:08 a.m. OK GNU C++14 TESTS 44 15 0 1000
39249882 charan007 A June 14, 2018, 5:09 p.m. OK GNU C++14 TESTS 44 15 0 1000
32537123 Peregrine_Falcon A Nov. 21, 2017, 10:36 p.m. OK GNU C++14 TESTS 44 15 0 1000
32349510 Faji A Nov. 16, 2017, 7:47 a.m. OK GNU C++14 TESTS 44 15 0 1000
32303159 Em00n A Nov. 14, 2017, 4:05 a.m. OK GNU C++14 TESTS 44 15 0 1000
50691235 vjudge3 A March 2, 2019, 3:47 p.m. OK GNU C++17 TESTS 44 15 0 1000
38605698 LKi A May 25, 2018, 10:07 a.m. OK GNU C++17 TESTS 44 15 0 1000
48566872 afyuda6 A Jan. 19, 2019, 10:02 a.m. OK GNU C++17 TESTS 44 15 307200 1000
36068303 easyhoon A March 8, 2018, 11:12 a.m. OK GNU C++17 TESTS 44 15 1843200 1000
35576083 vuong123478 A Feb. 22, 2018, 2:47 p.m. OK GNU C++17 TESTS 44 15 1843200 1000
35809642 vjudge3 A March 1, 2018, 11:23 a.m. OK GNU C++17 TESTS 44 15 1945600 1000
35810070 vjudge5 A March 1, 2018, 11:39 a.m. OK GNU C++17 TESTS 44 15 1945600 1000
68717705 Iftekhar_Fahim_CoU12ICT9 A Jan. 13, 2020, 3:05 p.m. OK GNU C++17 TESTS 44 30 0 1000
68719912 Georgioss A Jan. 13, 2020, 3:51 p.m. OK GNU C++17 TESTS 44 30 0 1000
67499506 Moririn2528 A Dec. 24, 2019, 3:16 a.m. OK GNU C++17 TESTS 44 30 0 1000
35811750 vjudge5 A March 1, 2018, 12:56 p.m. OK GNU C++17 Diagnostics TESTS 44 966 101580800 1000
37044206 vjudge5 A April 7, 2018, 8:48 a.m. OK GNU C++17 Diagnostics TESTS 44 982 99430400 1000
28176342 only_methol A June 30, 2017, 3:53 p.m. OK Go TESTS 44 15 6041600 1000
28817063 bluered A July 24, 2017, 7:05 a.m. OK Go TESTS 44 15 22937600 1000
29188736 codeonwort A Aug. 4, 2017, 8:34 a.m. OK Haskell TESTS 44 15 53248000 1000
28210203 sl0th A July 2, 2017, 12:30 p.m. OK Haskell TESTS 44 15 53248000 1000
28144350 Xrite A June 29, 2017, 3:25 p.m. OK Haskell TESTS 44 46 53248000 1000
68362115 its_aks_ulure A Jan. 7, 2020, 2:29 p.m. OK Java 11 TESTS 44 202 0 1000
68354014 Tak2702 A Jan. 7, 2020, 11:13 a.m. OK Java 11 TESTS 44 265 307200 1000
60712765 jakejase2 A Sept. 17, 2019, 9:10 a.m. OK Java 8 TESTS 44 108 0 1000
28349800 OmarRadwan A July 7, 2017, 1 p.m. OK Java 8 TESTS 44 108 20172800 1000
45501644 I.A.K.O.V A Nov. 10, 2018, 7:58 a.m. OK Java 8 TESTS 44 109 0 1000
56234797 Bashar. A June 28, 2019, 3:44 p.m. OK Java 8 TESTS 44 109 0 1000
53440066 mikkk A April 27, 2019, 10:44 p.m. OK Java 8 TESTS 44 109 0 1000
50116264 CharlesDai A Feb. 18, 2019, 4:18 p.m. OK Java 8 TESTS 44 109 0 1000
44485453 aman28rwt A Oct. 18, 2018, 12:14 p.m. OK Java 8 TESTS 44 109 0 1000
29973204 martin3 A Sept. 1, 2017, 11:57 a.m. OK Java 8 TESTS 44 109 0 1000
28301008 Kammola A July 5, 2017, 10:04 a.m. OK Java 8 TESTS 44 109 20172800 1000
28476596 arnavks97 A July 12, 2017, 2:16 p.m. OK Java 8 TESTS 44 109 20172800 1000
28156871 yashko A June 29, 2017, 7:12 p.m. OK JavaScript TESTS 44 31 7065600 1000
28615920 benjani A July 16, 2017, 5:31 p.m. OK JavaScript TESTS 44 31 7168000 1000
28144186 TarekElwkeel A June 29, 2017, 3:23 p.m. OK JavaScript TESTS 44 46 7065600 1000
28593753 MyNik A July 16, 2017, 10:31 a.m. OK Kotlin TESTS 44 156 22630400 1000
28148465 sesca A June 29, 2017, 4:05 p.m. OK Kotlin TESTS 44 186 22630400 1000
28148854 Voudy A June 29, 2017, 4:09 p.m. OK Kotlin TESTS 44 202 22630400 1000
28147121 mban259 A June 29, 2017, 3:52 p.m. OK Mono C# TESTS 44 46 9318400 1000
28143684 franter A June 29, 2017, 3:18 p.m. OK Mono C# TESTS 44 46 9318400 1000
28206438 lusine.petrosyan1 A July 2, 2017, 8:30 a.m. OK Mono C# TESTS 44 46 9318400 1000
28144914 semera A June 29, 2017, 3:30 p.m. OK Mono C# TESTS 44 61 9318400 1000
28208323 ME_AJUUUUUDAAA A July 2, 2017, 10:35 a.m. OK Mono C# TESTS 44 61 9318400 1000
28143023 leign A June 29, 2017, 3:12 p.m. OK Mono C# TESTS 44 62 9318400 1000
28168199 CrafterKolyan A June 30, 2017, 9:02 a.m. OK Mono C# TESTS 44 93 9318400 1000
28548771 luka25 A July 14, 2017, 12:55 p.m. OK MS C# TESTS 44 46 9318400 1000
28172398 ELsaka A June 30, 2017, 1:03 p.m. OK MS C# TESTS 44 46 9318400 1000
28143688 Maeda A June 29, 2017, 3:18 p.m. OK MS C# TESTS 44 46 9318400 1000
28145489 BaverSaitGUN A June 29, 2017, 3:36 p.m. OK MS C# TESTS 44 46 9318400 1000
28149380 pro100skm A June 29, 2017, 4:14 p.m. OK MS C# TESTS 44 46 9318400 1000
28155344 artsin666 A June 29, 2017, 5:46 p.m. OK MS C# TESTS 44 46 9318400 1000
28159450 zazak A June 29, 2017, 10:55 p.m. OK MS C# TESTS 44 61 9318400 1000
28403659 Sipher A July 10, 2017, 9:23 a.m. OK MS C# TESTS 44 62 9318400 1000
28142778 og.kostya A June 29, 2017, 3:10 p.m. OK MS C# TESTS 44 62 9318400 1000
28178726 IleksaNott A June 30, 2017, 6:42 p.m. OK MS C# TESTS 44 62 9318400 1000
32578222 Loqmane1994 A Nov. 23, 2017, 2:42 p.m. OK MS C++ TESTS 44 15 0 1000
29531556 Edwardnewgate A Aug. 17, 2017, 5:23 p.m. OK MS C++ TESTS 44 15 102400 1000
30364539 eastblue A Sept. 15, 2017, 1:51 p.m. OK MS C++ TESTS 44 15 204800 1000
29615936 Friska A Aug. 20, 2017, 8:15 a.m. OK MS C++ TESTS 44 15 204800 1000
30170303 Egoist_ A Sept. 7, 2017, 2:29 a.m. OK MS C++ TESTS 44 15 204800 1000
28764694 LauraPoliti A July 21, 2017, 10:13 p.m. OK MS C++ TESTS 44 15 1945600 1000
35811121 vjudge3 A March 1, 2018, 12:25 p.m. OK MS C++ TESTS 44 15 2048000 1000
35811525 vjudge4 A March 1, 2018, 12:43 p.m. OK MS C++ TESTS 44 15 2048000 1000
35868698 vjudge4 A March 3, 2018, 5:12 a.m. OK MS C++ TESTS 44 15 2048000 1000
35811060 vjudge4 A March 1, 2018, 12:23 p.m. OK MS C++ TESTS 44 15 2048000 1000
58863280 Moen1578 A Aug. 15, 2019, 12:27 p.m. OK MS C++ 2017 TESTS 44 31 0 1000
57920938 Uj_employee A July 29, 2019, 4:46 a.m. OK MS C++ 2017 TESTS 44 31 0 1000
65496291 HishamDroubi A Nov. 21, 2019, 4:43 p.m. OK MS C++ 2017 TESTS 44 31 307200 1000
34535252 Felix_re A Jan. 25, 2018, 4:21 a.m. OK PascalABC.NET TESTS 44 46 16998400 1000
28559262 Nommyde A July 15, 2017, 12:11 a.m. OK PHP TESTS 44 31 6041600 1000
28208560 Pwrl A July 2, 2017, 10:51 a.m. OK PHP TESTS 44 31 6041600 1000
28156788 mayakin A June 29, 2017, 7:06 p.m. OK PHP TESTS 44 31 6041600 1000
28142991 shangtai A June 29, 2017, 3:12 p.m. OK PyPy 2 TESTS 44 62 21913600 1000
28164090 anuj_shah A June 30, 2017, 5:14 a.m. OK PyPy 2 TESTS 44 62 21913600 1000
28143749 saathvik782 A June 29, 2017, 3:19 p.m. OK PyPy 2 TESTS 44 62 21913600 1000
28156762 EvilSpirit A June 29, 2017, 7:04 p.m. OK PyPy 2 TESTS 44 77 21913600 1000
28144624 Mateon1 A June 29, 2017, 3:28 p.m. OK PyPy 2 TESTS 44 77 21913600 1000
28144063 tjake A June 29, 2017, 3:22 p.m. OK PyPy 2 TESTS 44 77 21913600 1000
28143922 tushutripathi A June 29, 2017, 3:21 p.m. OK PyPy 2 TESTS 44 77 21913600 1000
28142965 Cypi A June 29, 2017, 3:12 p.m. OK PyPy 2 TESTS 44 77 21913600 1000
28142947 thuglife69 A June 29, 2017, 3:12 p.m. OK PyPy 2 TESTS 44 77 21913600 1000
28142541 Yash_ A June 29, 2017, 3:08 p.m. OK PyPy 2 TESTS 44 77 21913600 1000
29973847 sankur A Sept. 1, 2017, 12:32 p.m. OK PyPy 3 TESTS 44 93 0 1000
28496806 ShapeBlaze A July 13, 2017, 9 a.m. OK PyPy 3 TESTS 44 93 23142400 1000
28819660 Parag12 A July 24, 2017, 8:49 a.m. OK PyPy 3 TESTS 44 109 23142400 1000
28393199 mattiasm83 A July 9, 2017, 7:23 p.m. OK PyPy 3 TESTS 44 109 23142400 1000
28159926 Blencer A June 29, 2017, 11:51 p.m. OK PyPy 3 TESTS 44 109 23142400 1000
28144321 adarsh_007 A June 29, 2017, 3:24 p.m. OK PyPy 3 TESTS 44 109 23142400 1000
28142631 sas A June 29, 2017, 3:09 p.m. OK PyPy 3 TESTS 44 109 23142400 1000
28142476 SoMuchDrama A June 29, 2017, 3:07 p.m. OK PyPy 3 TESTS 44 109 23142400 1000
54244430 sonhuytranpython2 A May 16, 2019, 2:17 p.m. OK PyPy 3 TESTS 44 124 0 1000
28151977 _AUR_ A June 29, 2017, 4:46 p.m. OK PyPy 3 TESTS 44 124 23142400 1000
30037225 lawrenceli A Sept. 3, 2017, 2:18 p.m. OK Python 2 TESTS 44 46 0 1000
28743687 sachan.devendra A July 21, 2017, 7:51 a.m. OK Python 2 TESTS 44 46 4710400 1000
28422448 rav.gupta A July 11, 2017, 7:34 a.m. OK Python 2 TESTS 44 46 4710400 1000
28277548 ashketcham A July 4, 2017, 10:28 a.m. OK Python 2 TESTS 44 46 4710400 1000
28245461 rajasbansal1998 A July 3, 2017, 6:03 a.m. OK Python 2 TESTS 44 46 4710400 1000
28151376 piyush.ravi A June 29, 2017, 4:38 p.m. OK Python 2 TESTS 44 46 4710400 1000
28147752 chessdroid A June 29, 2017, 3:57 p.m. OK Python 2 TESTS 44 46 4710400 1000
28145082 sunary A June 29, 2017, 3:32 p.m. OK Python 2 TESTS 44 46 4710400 1000
28143117 Trunks A June 29, 2017, 3:13 p.m. OK Python 2 TESTS 44 46 4710400 1000
31154055 WNG A Oct. 8, 2017, 8:26 p.m. OK Python 2 TESTS 44 61 0 1000
28299031 NorthernLight A July 5, 2017, 8:30 a.m. OK Python 3 TESTS 44 46 5529600 1000
29724972 aLLex A Aug. 24, 2017, 7:38 a.m. OK Python 3 TESTS 44 61 0 1000
28701301 timofeeva.marsh A July 19, 2017, 4:24 p.m. OK Python 3 TESTS 44 61 4608000 1000
28570254 dhr_1 A July 15, 2017, 10:10 a.m. OK Python 3 TESTS 44 61 5529600 1000
28469745 umbakh A July 12, 2017, 9:45 a.m. OK Python 3 TESTS 44 61 5529600 1000
28368756 writergym A July 8, 2017, 12:21 p.m. OK Python 3 TESTS 44 61 5529600 1000
28205266 E.M.T. A July 2, 2017, 7:23 a.m. OK Python 3 TESTS 44 61 5529600 1000
28145290 aadish A June 29, 2017, 3:34 p.m. OK Python 3 TESTS 44 61 5529600 1000
35103445 bob171998 A Feb. 9, 2018, 7:19 p.m. OK Python 3 TESTS 44 61 5632000 1000
34539920 quolean A Jan. 25, 2018, 8:13 a.m. OK Python 3 TESTS 44 61 5632000 1000
28177751 anasos A June 30, 2017, 5:30 p.m. OK Ruby TESTS 44 77 6451200 1000
28300621 cielavenir A July 5, 2017, 9:42 a.m. OK Ruby TESTS 44 78 6656000 1000
28146108 NMouad21 A June 29, 2017, 3:42 p.m. OK Ruby TESTS 44 92 6451200 1000
28143387 Milesand A June 29, 2017, 3:16 p.m. OK Rust TESTS 44 15 1536000 1000
28158294 justinz2018 A June 29, 2017, 8:55 p.m. OK Rust TESTS 44 31 1536000 1000
28144585 aitch_nu A June 29, 2017, 3:27 p.m. OK Scala TESTS 44 295 23859200 1000

remove filters

Back to search problems