Educational Codeforces Round 18

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
792 Educational Codeforces Round 18 FINISHED False 7200 246813887 March 27, 2017, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1106 ) E Colored Balls PROGRAMMING greedy math number theory 2400

B'There are n boxes with colored balls on the table. Colors are numbered from 1 to n. i-th box contains ai balls, all of which have color i. You have to write a program that will divide all balls into sets such that: Print the minimum possible number of sets. The first line contains one integer number n (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89500). The second line contains n integer numbers a1, xe2 x80 x89a2, xe2 x80 x89... , xe2 x80 x89an (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ai xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109). Print one integer number -- the minimum possible number of sets. In the first example the balls can be divided into sets like that: one set with 4 balls of the first color, two sets with 3 and 4 balls, respectively, of the second color, and two sets with 4 balls of the third color. '...

Tutorials

Educational Codeforces Round 18 - Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
26229501 hack_rank E April 9, 2017, 3:22 a.m. OK GNU C TESTS 41 15 1945600 2400
25882869 rainboy E March 28, 2017, 8:03 p.m. OK GNU C TESTS 41 187 1945600 2400
25883206 rainboy E March 28, 2017, 8:27 p.m. OK GNU C TESTS 41 468 1945600 2400
25945100 SpoonsAN E March 30, 2017, 8:15 a.m. OK GNU C++ TESTS 41 15 1843200 2400
29208028 lyk248289469 E Aug. 5, 2017, 3:13 a.m. OK GNU C++ TESTS 41 15 1945600 2400
29207994 lyk248289469 E Aug. 5, 2017, 3:11 a.m. OK GNU C++ TESTS 41 15 1945600 2400
29207948 lyk248289469 E Aug. 5, 2017, 3:08 a.m. OK GNU C++ TESTS 41 15 1945600 2400
28426604 486 E July 11, 2017, 12:52 p.m. OK GNU C++ TESTS 41 15 1945600 2400
26524271 Codeforce_123 E April 20, 2017, 6:33 p.m. OK GNU C++ TESTS 41 15 1945600 2400
25893547 BUAAduhao E March 29, 2017, 11 a.m. OK GNU C++ TESTS 41 15 1945600 2400
28632502 vjudge5 E July 17, 2017, 8:02 a.m. OK GNU C++ TESTS 41 15 2048000 2400
28420847 vjudge2 E July 11, 2017, 5:58 a.m. OK GNU C++ TESTS 41 15 2048000 2400
28420751 vjudge1 E July 11, 2017, 5:50 a.m. OK GNU C++ TESTS 41 15 2048000 2400
31872219 J.Lili E Oct. 29, 2017, 4:35 p.m. OK GNU C++11 TESTS 41 15 0 2400
27573410 150137 E June 5, 2017, 12:32 a.m. OK GNU C++11 TESTS 41 15 0 2400
27189625 I_always_love_cc E May 18, 2017, 3:43 a.m. OK GNU C++11 TESTS 41 15 0 2400
27602500 g1n0st E June 6, 2017, 12:52 a.m. OK GNU C++11 TESTS 41 15 1126400 2400
25894587 SegmentationRight E March 29, 2017, 11:51 a.m. OK GNU C++11 TESTS 41 15 1945600 2400
25868377 TangentOfA E March 28, 2017, 8:17 a.m. OK GNU C++11 TESTS 41 15 1945600 2400
26744213 dhuacm2 E April 29, 2017, 9:15 a.m. OK GNU C++11 TESTS 41 15 2048000 2400
26744208 ProerFlower E April 29, 2017, 9:15 a.m. OK GNU C++11 TESTS 41 15 2048000 2400
26744112 dhuacm7 E April 29, 2017, 9:08 a.m. OK GNU C++11 TESTS 41 15 2048000 2400
26500365 carrier_DeLima E April 19, 2017, 4:28 p.m. OK GNU C++11 TESTS 41 15 2048000 2400
27578032 YOULLNEVERWA E June 5, 2017, 7:43 a.m. OK GNU C++14 TESTS 41 15 0 2400
27161062 BlueHazard_rony E May 16, 2017, 1:51 p.m. OK GNU C++14 TESTS 41 15 0 2400
27009415 cry752264997 E May 11, 2017, 9:39 a.m. OK GNU C++14 TESTS 41 15 0 2400
27006630 cry752264997 E May 11, 2017, 5:34 a.m. OK GNU C++14 TESTS 41 15 0 2400
27155651 cry752264997 E May 16, 2017, 9:19 a.m. OK GNU C++14 TESTS 41 15 102400 2400
32318466 Anachor E Nov. 14, 2017, 7:08 p.m. OK GNU C++14 TESTS 41 15 512000 2400
27059001 iynaur87 E May 12, 2017, 4:51 p.m. OK GNU C++14 TESTS 41 15 614400 2400
31505929 statusrank E Oct. 19, 2017, 11:26 a.m. OK GNU C++14 TESTS 41 15 1945600 2400
28417971 vjudge2 E July 11, 2017, 2:09 a.m. OK GNU C++14 TESTS 41 15 1945600 2400
28403557 vjudge5 E July 10, 2017, 9:19 a.m. OK GNU C++14 TESTS 41 15 1945600 2400
43750000 wa007 E Oct. 4, 2018, 1:42 a.m. OK GNU C++17 TESTS 41 15 3993600 2400
49688743 roll_no_1 E Feb. 10, 2019, 9:47 a.m. OK GNU C++17 TESTS 41 30 1228800 2400
67983145 AK. E Dec. 30, 2019, 8:29 p.m. OK GNU C++17 TESTS 41 31 0 2400
64795383 Starlight_Glimmer E Nov. 13, 2019, 12:42 p.m. OK GNU C++17 TESTS 41 31 0 2400
64794594 Lower_Rating E Nov. 13, 2019, 12:26 p.m. OK GNU C++17 TESTS 41 31 0 2400
64787316 Catherine_sea E Nov. 13, 2019, 9:38 a.m. OK GNU C++17 TESTS 41 31 0 2400
64782692 C20193116xq E Nov. 13, 2019, 7:54 a.m. OK GNU C++17 TESTS 41 31 0 2400
62860704 CF1656409967 E Oct. 18, 2019, 10:43 a.m. OK GNU C++17 TESTS 41 31 0 2400
54090600 jkchen E May 14, 2019, 10:36 a.m. OK GNU C++17 TESTS 41 31 0 2400
43354841 smallguoguo E Sept. 24, 2018, 5:37 a.m. OK GNU C++17 TESTS 41 31 0 2400
36879666 englishdffddg12 E April 2, 2018, 1:32 p.m. OK GNU C++17 Diagnostics TESTS 41 950 98713600 2400
36878446 englishdffddg12 E April 2, 2018, 12:48 p.m. OK GNU C++17 Diagnostics TESTS 41 998 98713600 2400
26923686 85T E May 7, 2017, 12:51 p.m. OK Java 8 TESTS 41 109 0 2400
25861321 mikcorer E March 27, 2017, 10:21 p.m. OK Java 8 TESTS 41 109 20582400 2400
28780273 Intrincantation E July 22, 2017, 1:52 p.m. OK Java 8 TESTS 41 124 20684800 2400
25970621 aya_cool E March 31, 2017, 7:48 a.m. OK Java 8 TESTS 41 124 20684800 2400
25858507 uwi E March 27, 2017, 7:04 p.m. OK Java 8 TESTS 41 124 20684800 2400
25865910 Slamur E March 28, 2017, 5:49 a.m. OK Java 8 TESTS 41 124 20992000 2400
25861802 Slamur E March 27, 2017, 11:09 p.m. OK Java 8 TESTS 41 124 20992000 2400
25861822 Slamur E March 27, 2017, 11:11 p.m. OK Java 8 TESTS 41 139 20992000 2400
25858462 uwi E March 27, 2017, 7:01 p.m. OK Java 8 TESTS 41 202 20684800 2400
35455084 svilen E Feb. 18, 2018, 7:10 p.m. OK Java 8 TESTS 41 374 20684800 2400
25849265 AnatolyTolstobrov E March 27, 2017, 3:44 p.m. OK MS C# TESTS 41 46 9216000 2400
26328634 Noam527 E April 12, 2017, 10:46 p.m. OK MS C# TESTS 41 46 9625600 2400
26323305 Liran E April 12, 2017, 5:48 p.m. OK MS C# TESTS 41 46 9625600 2400
26323187 Liran E April 12, 2017, 5:41 p.m. OK MS C# TESTS 41 46 9625600 2400
26322692 Liran E April 12, 2017, 5:09 p.m. OK MS C# TESTS 41 62 9420800 2400
28409674 Wyx_wx E July 10, 2017, 2:24 p.m. OK MS C++ TESTS 41 15 2048000 2400
28409645 vjudge2 E July 10, 2017, 2:23 p.m. OK MS C++ TESTS 41 15 2048000 2400
25870912 Yurik E March 28, 2017, 10:45 a.m. OK MS C++ TESTS 41 15 3481600 2400
26031235 mayflower E March 31, 2017, 5:12 p.m. OK MS C++ TESTS 41 30 2048000 2400
27117982 mayflower E May 15, 2017, 8:43 a.m. OK MS C++ TESTS 41 31 0 2400
28417804 vjudge2 E July 11, 2017, 1:53 a.m. OK MS C++ TESTS 41 31 2048000 2400
25892768 mayflower E March 29, 2017, 10:12 a.m. OK MS C++ TESTS 41 31 2048000 2400
25895248 RCG E March 29, 2017, 12:20 p.m. OK MS C++ TESTS 41 124 1945600 2400
26077986 jslijin E April 2, 2017, 12:40 p.m. OK MS C++ TESTS 41 202 2969600 2400
25894786 Roms E March 29, 2017, 11:59 a.m. OK MS C++ TESTS 41 436 6041600 2400
25850805 alexey.shchepin E March 27, 2017, 4:01 p.m. OK Ocaml TESTS 41 966 4403200 2400
26485176 nbasic E April 18, 2017, 10:30 p.m. OK PyPy 3 TESTS 41 373 26112000 2400
37553153 pyrus E April 23, 2018, 2:55 p.m. OK PyPy 3 TESTS 41 529 22835200 2400
26252551 MichelJ E April 10, 2017, 12:16 p.m. OK Python 2 TESTS 41 592 11366400 2400
26112307 isilisi E April 4, 2017, 3:50 a.m. OK Python 3 TESTS 41 155 7270400 2400
26082540 NecroSean38 E April 2, 2017, 4:59 p.m. OK Python 3 TESTS 41 233 5529600 2400
26472539 niklaci E April 18, 2017, 9:22 a.m. OK Python 3 TESTS 41 514 5529600 2400
28424200 vjudge4 E July 11, 2017, 9:56 a.m. OK Python 3 TESTS 41 655 5632000 2400
25867764 kobae964 E March 28, 2017, 7:43 a.m. OK Rust TESTS 41 31 107929600 2400
25867725 kobae964 E March 28, 2017, 7:42 a.m. OK Rust TESTS 41 31 108339200 2400

remove filters

Back to search problems