Educational Codeforces Round 16

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
710 Educational Codeforces Round 16 FINISHED False 7200 265564187 Aug. 22, 2016, 2:10 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 8851 ) B Optimal Point on a Line PROGRAMMING brute force sortings 1400

B'You are given n points on a line with their coordinates xi. Find the point x so the sum of distances to the given points is minimal. The first line contains integer n (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x893 xc2 xb7105) -- the number of points on the line. The second line contains n integers xi ( xe2 x80 x89- xe2 x80 x89109 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89xi xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109) -- the coordinates of the given n points. Print the only integer x -- the position of the optimal point on the line. If there are several optimal points print the position of the leftmost one. It is guaranteed that the answer is always the integer. '...

Tutorials

Editorial of Educational Codeforces Round 16

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
51211401 vjudge1 B March 12, 2019, 8:07 a.m. OK Clang++17 Diagnostics TESTS 42 327 102400 1400
51211485 vjudge1 B March 12, 2019, 8:09 a.m. OK Clang++17 Diagnostics TESTS 42 343 102400 1400
20210602 gorbunov B Aug. 28, 2016, 11:45 a.m. OK D TESTS 42 202 7168000 1400
41935789 Andrey15253545 B Aug. 21, 2018, 12:54 p.m. OK Delphi TESTS 42 93 1228800 1400
20091810 BaL1337 B Aug. 23, 2016, 6:10 p.m. OK Delphi TESTS 42 93 3686400 1400
20391988 ruban B Sept. 5, 2016, 2:18 a.m. OK Delphi TESTS 42 233 29798400 1400
20081343 nhnguyen_vietnam B Aug. 23, 2016, 8:52 a.m. OK FPC TESTS 42 93 2764800 1400
25800121 Grom9941 B March 25, 2017, 2:37 p.m. OK FPC TESTS 42 93 2867200 1400
20081734 vladKB1 B Aug. 23, 2016, 9:11 a.m. OK FPC TESTS 42 93 2969600 1400
20078763 Hokplex B Aug. 23, 2016, 6:40 a.m. OK FPC TESTS 42 93 4096000 1400
20429600 truongtop14 B Sept. 7, 2016, 6:02 a.m. OK FPC TESTS 42 108 1228800 1400
20318810 FMM666 B Sept. 1, 2016, 10:21 a.m. OK FPC TESTS 42 108 1228800 1400
20166139 Chreonix B Aug. 26, 2016, 1:41 a.m. OK FPC TESTS 42 108 2764800 1400
20090705 HaiDang2001VN B Aug. 23, 2016, 5 p.m. OK FPC TESTS 42 108 2764800 1400
25580627 xSolx B March 17, 2017, 6:12 p.m. OK FPC TESTS 42 108 2867200 1400
24076737 Artemx B Jan. 23, 2017, 5:28 p.m. OK FPC TESTS 42 108 2867200 1400
20075459 shenxn B Aug. 23, 2016, 2:11 a.m. OK GNU C TESTS 42 93 4300800 1400
20066728 Abravo B Aug. 22, 2016, 4:35 p.m. OK GNU C TESTS 42 93 9830400 1400
32113834 NoSoul B Nov. 7, 2017, 9:34 a.m. OK GNU C TESTS 42 108 1331200 1400
33264331 maratonando3 B Dec. 15, 2017, 12:51 p.m. OK GNU C TESTS 42 108 6656000 1400
20259155 rainboy B Aug. 29, 2016, 4:55 p.m. OK GNU C TESTS 42 109 1228800 1400
20544194 ccvv B Sept. 12, 2016, 7 a.m. OK GNU C TESTS 42 109 1228800 1400
20215321 neo11235 B Aug. 28, 2016, 4:32 p.m. OK GNU C TESTS 42 109 3584000 1400
20071262 De.Wilde B Aug. 22, 2016, 7:48 p.m. OK GNU C TESTS 42 109 4300800 1400
24627772 Junkesh B Feb. 13, 2017, 12:41 p.m. OK GNU C TESTS 42 109 4403200 1400
20413238 fhfuwei B Sept. 6, 2016, 6:43 a.m. OK GNU C TESTS 42 124 1228800 1400
20350823 luoyuchu B Sept. 3, 2016, 1:40 a.m. OK GNU C++ TESTS 42 46 1024000 1400
20318799 FMM666 B Sept. 1, 2016, 10:20 a.m. OK GNU C++ TESTS 42 46 1024000 1400
20354330 ZYQN B Sept. 3, 2016, 6:47 a.m. OK GNU C++ TESTS 42 46 1228800 1400
20140049 liuyiluxun B Aug. 25, 2016, 12:18 a.m. OK GNU C++ TESTS 42 46 3072000 1400
20078668 c-and-j B Aug. 23, 2016, 6:34 a.m. OK GNU C++ TESTS 42 46 3072000 1400
20081441 mi_caihaoyuan B Aug. 23, 2016, 8:56 a.m. OK GNU C++ TESTS 42 46 3276800 1400
20139954 xjr B Aug. 25, 2016, 12:11 a.m. OK GNU C++ TESTS 42 46 3379200 1400
20084543 MasterJH5574 B Aug. 23, 2016, 11:50 a.m. OK GNU C++ TESTS 42 61 4505600 1400
20937301 AkaneSasu B Sept. 27, 2016, 3:36 a.m. OK GNU C++ TESTS 42 62 1024000 1400
20908767 royal_coder B Sept. 25, 2016, 1:26 p.m. OK GNU C++ TESTS 42 62 2355200 1400
23649237 Amatya B Jan. 8, 2017, 4:12 p.m. OK GNU C11 TESTS 42 93 4300800 1400
62572200 kaiboy B Oct. 14, 2019, 2:50 p.m. OK GNU C11 TESTS 42 124 1228800 1400
62571605 kaiboy B Oct. 14, 2019, 2:40 p.m. OK GNU C11 TESTS 42 124 1228800 1400
23681899 pikachucoding B Jan. 10, 2017, 1:41 p.m. OK GNU C11 TESTS 42 140 6656000 1400
20175638 buxiaoyu B Aug. 26, 2016, 1:11 p.m. OK GNU C++11 TESTS 42 31 3276800 1400
20316601 Theodor1000 B Sept. 1, 2016, 7:53 a.m. OK GNU C++11 TESTS 42 46 1126400 1400
55007103 luogu_bot1 B June 3, 2019, 8:09 a.m. OK GNU C++11 TESTS 42 46 1228800 1400
66825860 vjudge4 B Dec. 14, 2019, 8:55 a.m. OK GNU C++11 TESTS 42 46 1228800 1400
60145404 LudwigVanBeethoven B Sept. 5, 2019, 11:26 p.m. OK GNU C++11 TESTS 42 46 1228800 1400
51756050 vjudge2 B March 23, 2019, 11:36 a.m. OK GNU C++11 TESTS 42 46 1228800 1400
46402554 luogu_bot4 B Nov. 30, 2018, 12:58 p.m. OK GNU C++11 TESTS 42 46 1228800 1400
46402483 Althen B Nov. 30, 2018, 12:56 p.m. OK GNU C++11 TESTS 42 46 1228800 1400
43884996 Umi B Oct. 6, 2018, 7:04 a.m. OK GNU C++11 TESTS 42 46 1228800 1400
20491901 FISHTOBY B Sept. 10, 2016, 7:17 a.m. OK GNU C++11 TESTS 42 46 1228800 1400
27402242 vjudge1 B May 28, 2017, 6:52 a.m. OK GNU C++14 TESTS 42 78 1228800 1400
57800201 vjudge4 B July 26, 2019, 12:59 p.m. OK GNU C++14 TESTS 42 78 1228800 1400
25233884 vjudge3 B March 5, 2017, 6:08 a.m. OK GNU C++14 TESTS 42 78 3072000 1400
21662459 surajkumar6424 B Oct. 22, 2016, 9:27 a.m. OK GNU C++14 TESTS 42 93 1126400 1400
22125940 ian9696 B Nov. 9, 2016, 8:19 a.m. OK GNU C++14 TESTS 42 93 1228800 1400
53042052 igorpastukh B April 20, 2019, 10:24 a.m. OK GNU C++14 TESTS 42 93 1228800 1400
27403271 vjudge5 B May 28, 2017, 8:04 a.m. OK GNU C++14 TESTS 42 93 1228800 1400
27293949 Kettlebell B May 23, 2017, 4:31 a.m. OK GNU C++14 TESTS 42 93 1228800 1400
20834623 pesadilla B Sept. 23, 2016, 10:10 a.m. OK GNU C++14 TESTS 42 93 1228800 1400
27674999 vjudge1 B June 8, 2017, 4 p.m. OK GNU C++14 TESTS 42 93 1228800 1400
43597634 Jaihk662 B Sept. 30, 2018, 8:13 a.m. OK GNU C++17 TESTS 42 93 1228800 1400
48448118 vjudge5 B Jan. 16, 2019, 8:39 a.m. OK GNU C++17 TESTS 42 93 1433600 1400
51079157 xucanxx B March 9, 2019, 10:35 a.m. OK GNU C++17 TESTS 42 93 2355200 1400
51473653 smit.mangukiya B March 19, 2019, 8:08 a.m. OK GNU C++17 TESTS 42 109 1228800 1400
67921425 vijyant27 B Dec. 29, 2019, 4:20 p.m. OK GNU C++17 TESTS 42 109 1228800 1400
67674462 wjli B Dec. 26, 2019, 11:35 p.m. OK GNU C++17 TESTS 42 109 1228800 1400
66736593 iankury B Dec. 12, 2019, 7:08 p.m. OK GNU C++17 TESTS 42 109 1228800 1400
66020337 hank55663 B Nov. 30, 2019, 7:08 a.m. OK GNU C++17 TESTS 42 109 1228800 1400
59363272 asc123 B Aug. 23, 2019, 4:10 p.m. OK GNU C++17 TESTS 42 109 1228800 1400
51822176 Hem18 B March 25, 2019, 12:32 p.m. OK GNU C++17 TESTS 42 109 1228800 1400
20176120 binhuq B Aug. 26, 2016, 1:35 p.m. OK Go TESTS 42 217 11878400 1400
23527910 digiter B Jan. 4, 2017, 4:36 a.m. OK Go TESTS 42 421 27340800 1400
26641805 TarifEzaz B April 24, 2017, 1:34 p.m. OK Go TESTS 42 421 33280000 1400
20292595 dblokhin B Aug. 31, 2016, 2:06 a.m. OK Go TESTS 42 546 8294400 1400
20078516 rohansumant B Aug. 23, 2016, 6:24 a.m. OK Haskell TESTS 42 405 74444800 1400
24346107 justinz2018 B Feb. 1, 2017, 2:16 p.m. OK Haskell TESTS 42 732 75468800 1400
68462837 ankyy_0103 B Jan. 9, 2020, 6:48 p.m. OK Java 11 TESTS 42 343 6963200 1400
65798611 AnkushSharma B Nov. 27, 2019, 6:20 a.m. OK Java 8 TESTS 42 155 0 1400
62764988 romit17 preda2or spectre009 B Oct. 17, 2019, 8:19 a.m. OK Java 8 TESTS 42 155 0 1400
20515543 JialinOuyang B Sept. 10, 2016, 9 p.m. OK Java 8 TESTS 42 155 0 1400
20074157 tanzaku B Aug. 23, 2016, 12:40 a.m. OK Java 8 TESTS 42 155 20275200 1400
20065228 uwi B Aug. 22, 2016, 4:06 p.m. OK Java 8 TESTS 42 156 20684800 1400
20520264 JialinOuyang B Sept. 11, 2016, 5:05 a.m. OK Java 8 TESTS 42 171 0 1400
20538995 RAMBO_tejasv B Sept. 11, 2016, 7:34 p.m. OK Java 8 TESTS 42 171 0 1400
39343420 aman28rwt B June 17, 2018, 8:59 p.m. OK Java 8 TESTS 42 171 0 1400
26139717 ml_guy B April 5, 2017, 9:54 a.m. OK Java 8 TESTS 42 171 20684800 1400
20138603 poikniok B Aug. 24, 2016, 9:52 p.m. OK Java 8 TESTS 42 171 20684800 1400
21300483 dyukha B Oct. 8, 2016, 4:32 p.m. OK Kotlin TESTS 42 374 37376000 1400
63037356 david_varela B Oct. 20, 2019, 9:35 p.m. OK Kotlin TESTS 42 561 36352000 1400
20473107 sidsigh20 B Sept. 9, 2016, 6:44 a.m. OK Mono C# TESTS 42 218 40448000 1400
51055833 nemars B March 8, 2019, 10:22 p.m. OK Mono C# TESTS 42 233 47616000 1400
21715088 og.kostya B Oct. 23, 2016, 2:37 p.m. OK MS C# TESTS 42 109 1228800 1400
24229437 m1_k3 B Jan. 28, 2017, 3:55 p.m. OK MS C# TESTS 42 187 16793600 1400
30773079 Skndr B Sept. 27, 2017, 9:44 a.m. OK MS C# TESTS 42 187 35225600 1400
24085597 FacelessVoid B Jan. 24, 2017, 6:08 a.m. OK MS C# TESTS 42 187 45772800 1400
20066168 bati06 B Aug. 22, 2016, 4:23 p.m. OK MS C# TESTS 42 187 47308800 1400
26721362 Sorryforpartyrocking B April 28, 2017, 2:40 p.m. OK MS C# TESTS 42 187 50073600 1400
20748542 Chubcheg B Sept. 19, 2016, 6:23 a.m. OK MS C# TESTS 42 202 37273600 1400
20987222 Mem B Sept. 29, 2016, 9:02 a.m. OK MS C# TESTS 42 202 40345600 1400
26524224 ShowStopper728 B April 20, 2017, 6:31 p.m. OK MS C# TESTS 42 202 47308800 1400
25817398 BLACK_X B March 26, 2017, 11:23 a.m. OK MS C# TESTS 42 202 50380800 1400
51442943 vjudge2 B March 18, 2019, 11:05 a.m. OK MS C++ TESTS 42 78 1228800 1400
51668907 vjudge4 B March 22, 2019, 7:22 a.m. OK MS C++ TESTS 42 93 1228800 1400
59407747 vjudge1 B Aug. 24, 2019, 2:33 p.m. OK MS C++ TESTS 42 93 1228800 1400
51244190 vjudge4 B March 13, 2019, 2:59 a.m. OK MS C++ TESTS 42 93 1228800 1400
49820909 vjudge3 B Feb. 12, 2019, 8:48 a.m. OK MS C++ TESTS 42 93 1228800 1400
46121110 vjudge3 B Nov. 23, 2018, 4:19 p.m. OK MS C++ TESTS 42 93 1228800 1400
46058177 vjudge1 B Nov. 22, 2018, 12:01 p.m. OK MS C++ TESTS 42 93 1228800 1400
41010691 vjudge3 B July 31, 2018, 12:28 p.m. OK MS C++ TESTS 42 93 1228800 1400
20743122 Lagrang3 B Sept. 18, 2016, 7:58 p.m. OK MS C++ TESTS 42 93 1228800 1400
20319789 626478972 B Sept. 1, 2016, 11:07 a.m. OK MS C++ TESTS 42 93 1228800 1400
64787246 Mad112233 B Nov. 13, 2019, 9:36 a.m. OK MS C++ 2017 TESTS 42 327 1433600 1400
62169138 marewolf B Oct. 8, 2019, 10:44 p.m. OK MS C++ 2017 TESTS 42 343 2457600 1400
23469704 Mahakarma B Dec. 31, 2016, 12:56 p.m. OK Perl TESTS 42 483 58777600 1400
20154584 s_p B Aug. 25, 2016, 1:03 p.m. OK Perl TESTS 42 888 65331200 1400
20181541 mayakin B Aug. 26, 2016, 6:22 p.m. OK PHP TESTS 42 919 56934400 1400
31905981 arpantarkas B Oct. 30, 2017, 9:19 p.m. OK PyPy 2 TESTS 42 187 19660800 1400
20202453 nealzane B Aug. 27, 2016, 9:45 p.m. OK PyPy 2 TESTS 42 187 40652800 1400
20649629 Onesh0t B Sept. 15, 2016, 10:11 p.m. OK PyPy 2 TESTS 42 202 18841600 1400
20093059 Eeyore B Aug. 23, 2016, 7:28 p.m. OK PyPy 2 TESTS 42 202 40448000 1400
20076436 Yash_ B Aug. 23, 2016, 3:39 a.m. OK PyPy 2 TESTS 42 233 40652800 1400
20081817 pr4j B Aug. 23, 2016, 9:16 a.m. OK PyPy 2 TESTS 42 296 40652800 1400
20093109 Eeyore B Aug. 23, 2016, 7:32 p.m. OK PyPy 2 TESTS 42 311 40550400 1400
20066355 har_vi B Aug. 22, 2016, 4:27 p.m. OK PyPy 2 TESTS 42 374 43110400 1400
46587948 omarnvidia B Dec. 4, 2018, 2:12 p.m. OK PyPy 3 TESTS 42 405 34406400 1400
67505359 shivammishra B Dec. 24, 2019, 6:59 a.m. OK PyPy 3 TESTS 42 452 24576000 1400
41397191 Aliiiiireza7 B Aug. 9, 2018, 11:45 a.m. OK PyPy 3 TESTS 42 467 35328000 1400
30572621 Mad_Andrei B Sept. 21, 2017, 9:37 a.m. OK PyPy 3 TESTS 42 468 25804800 1400
31811818 vjudge4 B Oct. 27, 2017, 4:19 p.m. OK PyPy 3 TESTS 42 483 25395200 1400
29218649 Qumeric B Aug. 5, 2017, 12:37 p.m. OK PyPy 3 TESTS 42 483 49152000 1400
66087426 lIn_nIl B Dec. 1, 2019, 5:42 a.m. OK PyPy 3 TESTS 42 498 24883200 1400
20212530 Vosatorp B Aug. 28, 2016, 1:37 p.m. OK PyPy 3 TESTS 42 498 48742400 1400
24581438 vjudge5 B Feb. 11, 2017, 3:46 a.m. OK PyPy 3 TESTS 42 498 49766400 1400
56278787 scambret B June 29, 2019, 3:39 p.m. OK PyPy 3 TESTS 42 514 22425600 1400
22109599 franckmy B Nov. 8, 2016, 9:53 a.m. OK Python 2 TESTS 42 326 16486400 1400
20436541 CS12B1037 B Sept. 7, 2016, 1:16 p.m. OK Python 2 TESTS 42 327 16281600 1400
20423427 Marinkovic B Sept. 6, 2016, 6:24 p.m. OK Python 2 TESTS 42 327 16281600 1400
20193192 pyschedelicsidd B Aug. 27, 2016, 10:41 a.m. OK Python 2 TESTS 42 327 20889600 1400
20151029 andreamaf B Aug. 25, 2016, 10:21 a.m. OK Python 2 TESTS 42 327 20889600 1400
20081633 anurag21raghav B Aug. 23, 2016, 9:06 a.m. OK Python 2 TESTS 42 327 20889600 1400
20085286 buzzvil B Aug. 23, 2016, 12:28 p.m. OK Python 2 TESTS 42 327 20992000 1400
20751893 bit10011001 B Sept. 19, 2016, 10:09 a.m. OK Python 2 TESTS 42 342 16281600 1400
20392265 JPaulsen B Sept. 5, 2016, 2:51 a.m. OK Python 2 TESTS 42 342 16384000 1400
34089523 laoliumang B Jan. 11, 2018, 2:09 p.m. OK Python 2 TESTS 42 342 20889600 1400
32431981 ZhangKing B Nov. 18, 2017, 1:16 p.m. OK Python 3 TESTS 42 295 22732800 1400
20083441 DebNatkh B Aug. 23, 2016, 10:50 a.m. OK Python 3 TESTS 42 295 27443200 1400
30625687 rprtr258 B Sept. 22, 2017, 9:10 p.m. OK Python 3 TESTS 42 296 22835200 1400
20309417 harry_potter_28 B Aug. 31, 2016, 6:13 p.m. OK Python 3 TESTS 42 296 23552000 1400
26681585 Exaphis B April 26, 2017, 12:31 p.m. OK Python 3 TESTS 42 296 27443200 1400
24978753 sina-ss B Feb. 24, 2017, 12:04 p.m. OK Python 3 TESTS 42 296 27443200 1400
20093967 Artem_179 B Aug. 23, 2016, 8:44 p.m. OK Python 3 TESTS 42 296 27443200 1400
20085336 iSerya B Aug. 23, 2016, 12:30 p.m. OK Python 3 TESTS 42 296 27443200 1400
20073447 h.teckno B Aug. 22, 2016, 10:58 p.m. OK Python 3 TESTS 42 296 27443200 1400
20092495 Neurotic_Technophyle B Aug. 23, 2016, 6:50 p.m. OK Python 3 TESTS 42 296 27545600 1400
20168849 cielavenir B Aug. 26, 2016, 6:02 a.m. OK Ruby TESTS 42 467 64307200 1400
20076639 Tufitko B Aug. 23, 2016, 4 a.m. OK Ruby TESTS 42 529 63078400 1400
24513338 mrowqa B Feb. 7, 2017, 9:11 p.m. OK Rust TESTS 42 62 10854400 1400
24513015 marmistrz B Feb. 7, 2017, 8:49 p.m. OK Rust TESTS 42 93 10649600 1400
20470093 voxl B Sept. 9, 2016, 12:17 a.m. OK Rust TESTS 42 93 19968000 1400
20224815 AlexProk B Aug. 29, 2016, 7:43 a.m. OK Scala TESTS 42 561 19046400 1400
21733277 reldan B Oct. 24, 2016, 4:57 a.m. OK Scala TESTS 42 561 35328000 1400

remove filters

Back to search problems