Codeforces Round 464 (Div. 2)

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
939 Codeforces Round 464 (Div. 2) FINISHED False 7200 212961299 Feb. 17, 2018, 10:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 10628 ) B Hamster Farm PROGRAMMING implementation 1100

B"Dima has a hamsters farm. Soon N hamsters will grow up on it and Dima will sell them in a city nearby. Hamsters should be transported in boxes. If some box is not completely full, the hamsters in it are bored, that's why each box should be completely full with hamsters. Dima can buy boxes at a factory. The factory produces boxes of K kinds, boxes of the i-th kind can contain in themselves ai hamsters. Dima can buy any amount of boxes, but he should buy boxes of only one kind to get a wholesale discount. Of course, Dima would buy boxes in such a way that each box can be completely filled with hamsters and transported to the city. If there is no place for some hamsters, Dima will leave them on the farm. Find out how many boxes and of which type should Dima buy to transport maximum number of hamsters. The first line contains two integers N and K (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89N xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891018, 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89K xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105) -- the number of hamsters that will grow up on Dima's farm and the number of types of boxes that the factory produces. The second line contains K integers a1, a2, ..., aK (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ai xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891018 for all i) -- the capacities of boxes. Output two integers: the type of boxes that Dima should buy and the number of boxes of that type Dima should buy. Types of boxes are numbered from 1 to K in the order they are given in input. If there are many correct answers, output any of them. "...

Tutorials

Analysis of Codeforces Round #464

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
35437829 ruban B Feb. 18, 2018, 6:24 a.m. OK Delphi TESTS 33 61 18534400 1100
36648699 cen B March 26, 2018, 4:44 p.m. OK Delphi TESTS 33 62 7168000 1100
35465470 dambosin B Feb. 19, 2018, 8:36 a.m. OK FPC TESTS 33 31 1638400 1100
42452471 luogu_bot3 B Sept. 4, 2018, 9:04 a.m. OK FPC TESTS 33 46 0 1100
43927794 luogu_bot1 B Oct. 7, 2018, 5:53 a.m. OK FPC TESTS 33 46 0 1100
62782370 luogu_bot2 B Oct. 17, 2019, 1:16 p.m. OK FPC TESTS 33 46 819200 1100
41078799 chaorenhaha B Aug. 1, 2018, 10:25 a.m. OK FPC TESTS 33 46 819200 1100
35609336 Slonik B Feb. 23, 2018, 8:39 p.m. OK FPC TESTS 33 46 1638400 1100
35513502 Stanislav666 B Feb. 20, 2018, 6:50 a.m. OK FPC TESTS 33 46 1638400 1100
35463844 _Time_Lord_ B Feb. 19, 2018, 7:03 a.m. OK FPC TESTS 33 46 1638400 1100
35461180 LeVanThuc B Feb. 19, 2018, 3:39 a.m. OK FPC TESTS 33 46 1638400 1100
36154372 Nightmar B March 10, 2018, 3:07 p.m. OK FPC TESTS 33 46 2355200 1100
35429967 codemart786 B Feb. 17, 2018, 7:48 p.m. OK GNU C TESTS 33 31 1843200 1100
35801824 Sakib7614 B March 1, 2018, 4:38 a.m. OK GNU C TESTS 33 31 1843200 1100
35555923 The.Last.Wizard B Feb. 21, 2018, 5:53 p.m. OK GNU C TESTS 33 31 1843200 1100
35424838 gbrocks B Feb. 17, 2018, 4:41 p.m. OK GNU C TESTS 33 31 1843200 1100
36268465 chriscode_8 B March 14, 2018, 8:15 a.m. OK GNU C TESTS 33 31 2662400 1100
35579179 94abrar B Feb. 22, 2018, 5:10 p.m. OK GNU C TESTS 33 31 2662400 1100
35504353 rom_patel B Feb. 19, 2018, 8:13 p.m. OK GNU C TESTS 33 31 2662400 1100
35447473 falcon_9 B Feb. 18, 2018, 1:48 p.m. OK GNU C TESTS 33 31 2662400 1100
35428235 wizardvun B Feb. 17, 2018, 6:39 p.m. OK GNU C TESTS 33 31 2662400 1100
35588806 yaochengwei B Feb. 23, 2018, 5:28 a.m. OK GNU C TESTS 33 31 3481600 1100
35563652 luogu_bot2 B Feb. 22, 2018, 3:10 a.m. OK GNU C++ TESTS 33 15 1843200 1100
36250337 luogu_bot3 B March 13, 2018, 1:28 p.m. OK GNU C++ TESTS 33 15 2048000 1100
36245819 luogu_bot2 B March 13, 2018, 11:18 a.m. OK GNU C++ TESTS 33 15 2048000 1100
35438841 chychy B Feb. 18, 2018, 7:16 a.m. OK GNU C++ TESTS 33 15 2048000 1100
36114113 vjudge2 B March 9, 2018, 11:59 a.m. OK GNU C++ TESTS 33 15 2764800 1100
35672506 Bartholomew B Feb. 25, 2018, 8:25 a.m. OK GNU C++ TESTS 33 15 2867200 1100
35421949 yukuai26 B Feb. 17, 2018, 3:10 p.m. OK GNU C++ TESTS 33 15 18124800 1100
36214380 M_sy B March 12, 2018, 3:39 a.m. OK GNU C++ TESTS 33 30 2048000 1100
36019570 luogu_bot3 B March 6, 2018, 4:49 p.m. OK GNU C++ TESTS 33 30 2867200 1100
42026802 luogu_bot5 B Aug. 24, 2018, 1 p.m. OK GNU C++ TESTS 33 31 0 1100
35450751 0xA B Feb. 18, 2018, 3:52 p.m. OK GNU C11 TESTS 33 31 1843200 1100
35450703 ATheGod B Feb. 18, 2018, 3:51 p.m. OK GNU C11 TESTS 33 31 1843200 1100
35421992 ragabreda28 B Feb. 17, 2018, 3:11 p.m. OK GNU C11 TESTS 33 31 2662400 1100
41541194 Tilos B Aug. 12, 2018, 11:43 p.m. OK GNU C11 TESTS 33 46 0 1100
42732001 Dark_Eyes B Sept. 10, 2018, 12:05 p.m. OK GNU C11 TESTS 33 46 0 1100
65549987 DevJewel B Nov. 22, 2019, 6:29 p.m. OK GNU C11 TESTS 33 46 0 1100
58262604 luogu_bot1 B Aug. 4, 2019, 1 p.m. OK GNU C11 TESTS 33 46 0 1100
61595677 cs234_shrey B Oct. 1, 2019, 8:44 a.m. OK GNU C11 TESTS 33 46 819200 1100
44565285 SaidBenha B Oct. 19, 2018, 10:41 p.m. OK GNU C11 TESTS 33 46 1638400 1100
35456147 Cyberologist B Feb. 18, 2018, 8:05 p.m. OK GNU C11 TESTS 33 46 1843200 1100
35434411 Mannix B Feb. 18, 2018, 1:33 a.m. OK GNU C++11 TESTS 33 15 2048000 1100
35434353 Mannix B Feb. 18, 2018, 1:25 a.m. OK GNU C++11 TESTS 33 15 2048000 1100
35463411 shivam64321 B Feb. 19, 2018, 6:38 a.m. OK GNU C++11 TESTS 33 15 2252800 1100
35648998 HatsuneMikuo B Feb. 24, 2018, 2:40 p.m. OK GNU C++11 TESTS 33 15 3072000 1100
35427155 _FariD_ B Feb. 17, 2018, 5:56 p.m. OK GNU C++11 TESTS 33 30 2048000 1100
35615039 DDullahan B Feb. 24, 2018, 4:52 a.m. OK GNU C++11 TESTS 33 30 2048000 1100
35591583 hjw B Feb. 23, 2018, 8:39 a.m. OK GNU C++11 TESTS 33 30 2048000 1100
44037314 luogu_bot2 B Oct. 9, 2018, 1:23 p.m. OK GNU C++11 TESTS 33 31 0 1100
54377210 HFColin B May 19, 2019, 9:18 a.m. OK GNU C++11 TESTS 33 31 0 1100
45098443 Loi_tttty B Oct. 30, 2018, 12:49 p.m. OK GNU C++11 TESTS 33 31 819200 1100
35557084 lionadis B Feb. 21, 2018, 6:47 p.m. OK GNU C++14 TESTS 33 30 2048000 1100
35613062 bblctq B Feb. 24, 2018, 1:50 a.m. OK GNU C++14 TESTS 33 31 1843200 1100
35424088 Linkus B Feb. 17, 2018, 4:18 p.m. OK GNU C++14 TESTS 33 31 2662400 1100
35655948 New_start B Feb. 24, 2018, 5:51 p.m. OK GNU C++14 TESTS 33 31 3481600 1100
67665792 Venomous.Coder B Dec. 26, 2019, 5:48 p.m. OK GNU C++14 TESTS 33 46 0 1100
67682964 rounak_0501 B Dec. 27, 2019, 7:23 a.m. OK GNU C++14 TESTS 33 46 0 1100
65791273 Mohamed_Saad62 B Nov. 26, 2019, 10:46 p.m. OK GNU C++14 TESTS 33 46 0 1100
64689963 madlogic B Nov. 11, 2019, 12:52 p.m. OK GNU C++14 TESTS 33 46 0 1100
60951833 Hamadneh B Sept. 20, 2019, 10:23 p.m. OK GNU C++14 TESTS 33 46 0 1100
60951821 HAMADNEH_code B Sept. 20, 2019, 10:22 p.m. OK GNU C++14 TESTS 33 46 0 1100
69453074 sharrad99 B Jan. 24, 2020, 7:12 a.m. OK GNU C++17 TESTS 33 31 819200 1100
35437210 TTTT0720 B Feb. 18, 2018, 5:50 a.m. OK GNU C++17 TESTS 33 31 1843200 1100
57368748 PaciukZvichainyi B July 20, 2019, 10:05 a.m. OK GNU C++17 TESTS 33 46 0 1100
58816371 vjudge1 B Aug. 14, 2019, 12:38 p.m. OK GNU C++17 TESTS 33 46 0 1100
55508922 Moin B June 12, 2019, 8:06 p.m. OK GNU C++17 TESTS 33 46 0 1100
59493682 joylintp B Aug. 25, 2019, 8:35 p.m. OK GNU C++17 TESTS 33 46 0 1100
61257228 int64_t B Sept. 25, 2019, 10:32 a.m. OK GNU C++17 TESTS 33 46 0 1100
68454466 smit.mangukiya B Jan. 9, 2020, 3:37 p.m. OK GNU C++17 TESTS 33 46 0 1100
55887431 darkshadow26 B June 21, 2019, 5:47 p.m. OK GNU C++17 TESTS 33 46 0 1100
56302714 lee-jinhen B June 30, 2019, 9:52 a.m. OK GNU C++17 TESTS 33 46 0 1100
43413182 krit_patel B Sept. 25, 2018, 2:18 p.m. OK Java 8 TESTS 33 124 0 1100
38633217 DropKeBaadNirma B May 26, 2018, 12:19 p.m. OK Java 8 TESTS 33 124 0 1100
35462991 tushar_987 B Feb. 19, 2018, 6:09 a.m. OK Java 8 TESTS 33 124 20684800 1100
35888659 beroul B March 3, 2018, 2:26 p.m. OK Java 8 TESTS 33 124 20684800 1100
35619024 BeardAspirant B Feb. 24, 2018, 8:57 a.m. OK Java 8 TESTS 33 124 20684800 1100
35532843 Itwazonce B Feb. 20, 2018, 8:31 p.m. OK Java 8 TESTS 33 124 20684800 1100
35473050 ml_guy B Feb. 19, 2018, 2:21 p.m. OK Java 8 TESTS 33 124 20684800 1100
35458607 sancode B Feb. 18, 2018, 10:37 p.m. OK Java 8 TESTS 33 124 20684800 1100
35443089 ShowStopper728 B Feb. 18, 2018, 10:32 a.m. OK Java 8 TESTS 33 124 20684800 1100
35432579 SaurabhMaster B Feb. 17, 2018, 10:19 p.m. OK Java 8 TESTS 33 124 20684800 1100
35420857 zkod B Feb. 17, 2018, 2:43 p.m. OK Kotlin TESTS 33 264 36659200 1100
35423184 HamzaSla B Feb. 17, 2018, 3:50 p.m. OK Kotlin TESTS 33 327 21094400 1100
38319314 og.kostya B May 16, 2018, 11:44 a.m. OK Mono C# TESTS 33 62 8704000 1100
65534086 Zaheed B Nov. 22, 2019, 1:32 p.m. OK Mono C# TESTS 33 77 17817600 1100
37574910 waterpower B April 24, 2018, 2:05 p.m. OK Mono C# TESTS 33 77 25497600 1100
35467329 LiLiNGwp B Feb. 19, 2018, 10:18 a.m. OK Mono C# TESTS 33 77 32256000 1100
51840999 Mosyagin B March 25, 2019, 9:47 p.m. OK Mono C# TESTS 33 92 17510400 1100
36735896 eymsft B March 30, 2018, 1:33 a.m. OK Mono C# TESTS 33 93 30105600 1100
43289143 Kyrillos25 B Sept. 23, 2018, 9:49 a.m. OK Mono C# TESTS 33 108 23961600 1100
44107231 nemars B Oct. 11, 2018, 9:55 a.m. OK Mono C# TESTS 33 108 23961600 1100
35457544 RuslanDzugaev B Feb. 18, 2018, 9:24 p.m. OK Mono C# TESTS 33 108 26828800 1100
35465196 Xtreemist B Feb. 19, 2018, 8:21 a.m. OK Mono C# TESTS 33 108 32256000 1100
35601668 bortolozz B Feb. 23, 2018, 3:50 p.m. OK MS C# TESTS 33 93 29184000 1100
35515863 PrivateWinner B Feb. 20, 2018, 8:43 a.m. OK MS C# TESTS 33 93 32051200 1100
35441111 ToToshka45 B Feb. 18, 2018, 9:06 a.m. OK MS C# TESTS 33 93 32870400 1100
35448138 zazak B Feb. 18, 2018, 2:13 p.m. OK MS C# TESTS 33 108 26624000 1100
35515522 PrivateWinner B Feb. 20, 2018, 8:29 a.m. OK MS C# TESTS 33 109 32051200 1100
35750176 kryspinow B Feb. 27, 2018, 3:08 a.m. OK MS C# TESTS 33 139 37478400 1100
40871441 vjudge3 B July 28, 2018, 6:34 a.m. OK MS C++ TESTS 33 31 0 1100
40886164 vjudge3 B July 28, 2018, 1:01 p.m. OK MS C++ TESTS 33 31 819200 1100
35475825 logwns B Feb. 19, 2018, 4:03 p.m. OK MS C++ TESTS 33 31 2048000 1100
35799601 scorpiowf B March 1, 2018, 1:30 a.m. OK MS C++ TESTS 33 31 2048000 1100
35806082 Thundbird B March 1, 2018, 8:31 a.m. OK MS C++ TESTS 33 31 2048000 1100
36253146 ayacoxiao B March 13, 2018, 2:58 p.m. OK MS C++ TESTS 33 31 2048000 1100
35681589 vjudge4 B Feb. 25, 2018, 1:42 p.m. OK MS C++ TESTS 33 31 2867200 1100
35677115 vjudge5 B Feb. 25, 2018, 11:33 a.m. OK MS C++ TESTS 33 31 2867200 1100
35716444 vjudge5 B Feb. 26, 2018, 1:04 a.m. OK MS C++ TESTS 33 31 3686400 1100
47003891 vjudge4 B Dec. 14, 2018, 1:01 p.m. OK MS C++ TESTS 33 31 9011200 1100
64741047 vjudge2 B Nov. 12, 2019, noon OK MS C++ 2017 TESTS 33 62 0 1100
68004262 vjudge5 B Dec. 31, 2019, 12:25 p.m. OK MS C++ 2017 TESTS 33 62 3686400 1100
68347522 immortal_luo B Jan. 7, 2020, 8:05 a.m. OK MS C++ 2017 TESTS 33 109 307200 1100
58912208 Riham_Katout B Aug. 16, 2019, 1:31 p.m. OK MS C++ 2017 TESTS 33 124 0 1100
54878620 buyolitsez B May 31, 2019, 1:07 p.m. OK MS C++ 2017 TESTS 33 124 819200 1100
57595771 CtrlAlt B July 23, 2019, 1:53 p.m. OK MS C++ 2017 TESTS 33 124 819200 1100
65039219 Moen1578 B Nov. 15, 2019, 12:49 p.m. OK MS C++ 2017 TESTS 33 124 1024000 1100
65038872 Moen1578 B Nov. 15, 2019, 12:42 p.m. OK MS C++ 2017 TESTS 33 124 1024000 1100
63614101 Ragnarok54 B Oct. 27, 2019, 6:39 p.m. OK MS C++ 2017 TESTS 33 124 80179200 1100
55864782 Mad112233 B June 21, 2019, 11:31 a.m. OK MS C++ 2017 TESTS 33 139 0 1100
36358795 Abdyrahym.A B March 17, 2018, 3:45 p.m. OK PascalABC.NET TESTS 33 109 16384000 1100
35951857 MrCriss B March 4, 2018, 10:10 p.m. OK PascalABC.NET TESTS 33 124 20889600 1100
35742163 IvanT77 B Feb. 26, 2018, 6:42 p.m. OK PascalABC.NET TESTS 33 155 16384000 1100
37278162 mr.Abdu B April 13, 2018, 8:01 a.m. OK PascalABC.NET TESTS 33 156 31334400 1100
37426996 DooM228 B April 18, 2018, 7:03 a.m. OK PascalABC.NET TESTS 33 170 31436800 1100
56045396 Gimber B June 25, 2019, 4:20 p.m. OK PascalABC.NET TESTS 33 358 0 1100
51801521 AMC2 B March 24, 2019, 6:19 p.m. OK PascalABC.NET TESTS 33 451 0 1100
35529937 Yash_ B Feb. 20, 2018, 6:07 p.m. OK PyPy 2 TESTS 33 124 35328000 1100
35426075 latsyrc1123 B Feb. 17, 2018, 5:18 p.m. OK PyPy 2 TESTS 33 155 35328000 1100
68002423 vjudge2 B Dec. 31, 2019, 11:32 a.m. OK PyPy 2 TESTS 33 186 11059200 1100
66212316 aaa_bbb_ccc B Dec. 3, 2019, 7:23 a.m. OK PyPy 2 TESTS 33 202 13926400 1100
41268157 kakkarotssj B Aug. 6, 2018, 8:26 a.m. OK PyPy 2 TESTS 33 218 14028800 1100
35421882 fortmax120 B Feb. 17, 2018, 3:08 p.m. OK PyPy 2 TESTS 33 218 39628800 1100
44620287 icpc_practice B Oct. 21, 2018, 5:52 a.m. OK PyPy 2 TESTS 33 249 14950400 1100
35437498 MahmoodRayhan B Feb. 18, 2018, 6:06 a.m. OK PyPy 3 TESTS 33 218 37376000 1100
35420085 enjelbeteu B Feb. 17, 2018, 2:27 p.m. OK PyPy 3 TESTS 33 233 37478400 1100
51610080 Sevlll B March 21, 2019, 9:50 a.m. OK PyPy 3 TESTS 33 265 17510400 1100
35614757 dunpeal B Feb. 24, 2018, 4:21 a.m. OK PyPy 3 TESTS 33 265 37171200 1100
51154282 myway_82 B March 11, 2019, 9:44 a.m. OK PyPy 3 TESTS 33 280 17612800 1100
35427840 maxnk B Feb. 17, 2018, 6:21 p.m. OK PyPy 3 TESTS 33 280 37785600 1100
35422318 zvv B Feb. 17, 2018, 3:20 p.m. OK PyPy 3 TESTS 33 280 39321600 1100
35425539 ARMACOTY B Feb. 17, 2018, 5:01 p.m. OK PyPy 3 TESTS 33 295 37580800 1100
65690191 mola.mola B Nov. 25, 2019, 4:12 a.m. OK PyPy 3 TESTS 33 296 16179200 1100
68006067 vjudge3 B Dec. 31, 2019, 1:15 p.m. OK PyPy 3 TESTS 33 296 17510400 1100
35459959 dahem B Feb. 19, 2018, 1:24 a.m. OK Python 2 TESTS 33 124 12697600 1100
35800729 wangzpeng B March 1, 2018, 3:04 a.m. OK Python 2 TESTS 33 139 12697600 1100
35435310 franckmy B Feb. 18, 2018, 3:25 a.m. OK Python 2 TESTS 33 139 12697600 1100
35462843 nealzane B Feb. 19, 2018, 5:59 a.m. OK Python 2 TESTS 33 140 12697600 1100
35545283 elistark B Feb. 21, 2018, 11:25 a.m. OK Python 2 TESTS 33 140 13004800 1100
35474774 tnowakow B Feb. 19, 2018, 3:22 p.m. OK Python 2 TESTS 33 140 13004800 1100
35436446 Eswar_123 B Feb. 18, 2018, 5:05 a.m. OK Python 2 TESTS 33 140 13004800 1100
35420275 sirjan13 B Feb. 17, 2018, 2:31 p.m. OK Python 2 TESTS 33 140 13107200 1100
35926439 TWAIN B March 4, 2018, 3:16 p.m. OK Python 2 TESTS 33 155 12697600 1100
35420426 SoSooding B Feb. 17, 2018, 2:34 p.m. OK Python 2 TESTS 33 155 12697600 1100
35906205 orailly B March 4, 2018, 3:46 a.m. OK Python 3 TESTS 33 109 15360000 1100
35434691 KanhuKeNanu B Feb. 18, 2018, 2:14 a.m. OK Python 3 TESTS 33 109 15564800 1100
35616403 Argas B Feb. 24, 2018, 6:37 a.m. OK Python 3 TESTS 33 109 15872000 1100
35611351 Gleb_Dubosarskii B Feb. 23, 2018, 11:03 p.m. OK Python 3 TESTS 33 109 15872000 1100
35541710 mtarunsai1999 B Feb. 21, 2018, 8:32 a.m. OK Python 3 TESTS 33 109 15872000 1100
35445369 KAin0 B Feb. 18, 2018, 12:15 p.m. OK Python 3 TESTS 33 109 15872000 1100
35602566 echoecho B Feb. 23, 2018, 4:22 p.m. OK Python 3 TESTS 33 124 13926400 1100
35599529 Yee_172 B Feb. 23, 2018, 2:28 p.m. OK Python 3 TESTS 33 124 13926400 1100
35897985 _____i_____ B March 3, 2018, 6:11 p.m. OK Python 3 TESTS 33 124 15360000 1100
35599551 Yee_172 B Feb. 23, 2018, 2:29 p.m. OK Python 3 TESTS 33 124 15360000 1100
35526164 NibbleGnaw B Feb. 20, 2018, 3:42 p.m. OK Ruby TESTS 33 373 46592000 1100
35607895 HeapSorting B Feb. 23, 2018, 7:18 p.m. OK Ruby TESTS 33 389 29696000 1100
35425949 bill_kondo B Feb. 17, 2018, 5:14 p.m. OK Ruby TESTS 33 405 29696000 1100
35444326 YOUSIKI B Feb. 18, 2018, 11:31 a.m. OK Ruby TESTS 33 436 45363200 1100

remove filters

Back to search problems