Educational Codeforces Round 29

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
863 Educational Codeforces Round 29 FINISHED False 7200 231173663 Sept. 21, 2017, 3:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 8731 ) B Kayaking PROGRAMMING brute force greedy sortings 1500

B"Vadim is really keen on travelling. Recently he heard about kayaking activity near his town and became very excited about it, so he joined a party of kayakers. Now the party is ready to start its journey, but firstly they have to choose kayaks. There are 2 xc2 xb7n people in the group (including Vadim), and they have exactly n xe2 x80 x89- xe2 x80 x891 tandem kayaks (each of which, obviously, can carry two people) and 2 single kayaks. i-th person's weight is wi, and weight is an important matter in kayaking -- if the difference between the weights of two people that sit in the same tandem kayak is too large, then it can crash. And, of course, people want to distribute their seats in kayaks in order to minimize the chances that kayaks will crash. Formally, the instability of a single kayak is always 0, and the instability of a tandem kayak is the absolute difference between weights of the people that are in this kayak. Instability of the whole journey is the total instability of all kayaks. Help the party to determine minimum possible total instability! The first line contains one number n (2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8950). The second line contains 2 xc2 xb7n integer numbers w1, w2, ..., w2n, where wi is weight of person i (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89wi xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891000). Print minimum possible total instability. "...

Tutorials

Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
30583207 fluffyowl B Sept. 21, 2017, 3:15 p.m. OK D TESTS 20 15 0 1500
30640322 ruban B Sept. 23, 2017, 11:50 a.m. OK Delphi TESTS 20 30 48128000 1500
30590245 DiSBaLaNcE B Sept. 21, 2017, 4:17 p.m. OK Delphi TESTS 20 31 102400 1500
30832841 datew2001 B Sept. 29, 2017, 2:48 p.m. OK FPC TESTS 20 15 0 1500
30831766 datew2001 B Sept. 29, 2017, 2:11 p.m. OK FPC TESTS 20 15 0 1500
30664673 irit_Qyh0 B Sept. 24, 2017, 11:46 a.m. OK FPC TESTS 20 15 0 1500
30663467 cxrost B Sept. 24, 2017, 10:58 a.m. OK FPC TESTS 20 15 0 1500
30648203 Akulyat B Sept. 23, 2017, 4:18 p.m. OK FPC TESTS 20 15 0 1500
30640642 vjudge2 B Sept. 23, 2017, 12:02 p.m. OK FPC TESTS 20 15 0 1500
30621854 slavik228 B Sept. 22, 2017, 5:33 p.m. OK FPC TESTS 20 15 0 1500
30961387 ireson96 B Oct. 3, 2017, 7:53 a.m. OK FPC TESTS 20 15 0 1500
30854740 datew2001 B Sept. 30, 2017, 4:45 a.m. OK FPC TESTS 20 15 0 1500
30833315 datew2001 B Sept. 29, 2017, 3:06 p.m. OK FPC TESTS 20 15 0 1500
32077592 gaelim B Nov. 5, 2017, 1:47 p.m. OK GNU C TESTS 20 15 0 1500
31138326 blurry B Oct. 8, 2017, 9:06 a.m. OK GNU C TESTS 20 15 0 1500
30755224 Dragon_fxl B Sept. 26, 2017, 3:29 p.m. OK GNU C TESTS 20 15 0 1500
30592065 MckitC B Sept. 21, 2017, 4:38 p.m. OK GNU C TESTS 20 15 0 1500
30586091 congmingyige B Sept. 21, 2017, 3:36 p.m. OK GNU C TESTS 20 15 0 1500
30745310 Sadman_Sakib B Sept. 26, 2017, 9:10 a.m. OK GNU C TESTS 20 15 102400 1500
34486504 vjudge2 B Jan. 23, 2018, 3:11 p.m. OK GNU C TESTS 20 15 1843200 1500
36502587 Dragon_fxl B March 22, 2018, 12:50 p.m. OK GNU C TESTS 20 15 3276800 1500
30595735 fsociety00 B Sept. 21, 2017, 5:48 p.m. OK GNU C TESTS 20 30 0 1500
40301752 vjudge2 B July 14, 2018, 2:39 a.m. OK GNU C TESTS 20 31 0 1500
40376078 vjudge2 B July 15, 2018, 11:05 a.m. OK GNU C++ TESTS 20 15 0 1500
40299821 vjudge2 B July 14, 2018, 12:58 a.m. OK GNU C++ TESTS 20 15 0 1500
32557133 avdota2 B Nov. 22, 2017, 4:49 p.m. OK GNU C++ TESTS 20 15 0 1500
32245177 allAAA B Nov. 12, 2017, 1:49 p.m. OK GNU C++ TESTS 20 15 0 1500
32239063 vjudge2 B Nov. 12, 2017, 9:16 a.m. OK GNU C++ TESTS 20 15 0 1500
32234581 EntityIT B Nov. 12, 2017, 4:45 a.m. OK GNU C++ TESTS 20 15 0 1500
32206443 neko13 B Nov. 10, 2017, 9:32 p.m. OK GNU C++ TESTS 20 15 0 1500
32199389 Heisenberg4269 B Nov. 10, 2017, 3:43 p.m. OK GNU C++ TESTS 20 15 0 1500
32071087 vjudge5 B Nov. 5, 2017, 8:25 a.m. OK GNU C++ TESTS 20 15 0 1500
32070887 vjudge1 B Nov. 5, 2017, 8:12 a.m. OK GNU C++ TESTS 20 15 0 1500
68751518 vjudge1 B Jan. 14, 2020, 6:50 a.m. OK GNU C11 TESTS 20 15 0 1500
30697530 newbass B Sept. 25, 2017, 7:24 a.m. OK GNU C11 TESTS 20 15 0 1500
45946302 Emma194 B Nov. 19, 2018, 12:43 a.m. OK GNU C++11 TESTS 20 15 0 1500
66774495 NURcodeAK B Dec. 13, 2019, 9:23 a.m. OK GNU C++11 TESTS 20 15 0 1500
50821416 vjudge4 B March 5, 2019, 1:42 p.m. OK GNU C++11 TESTS 20 15 0 1500
50723080 EndRay B March 3, 2019, 8:57 a.m. OK GNU C++11 TESTS 20 15 0 1500
49692248 vjudge4 B Feb. 10, 2019, 11:54 a.m. OK GNU C++11 TESTS 20 15 0 1500
40299170 vjudge1 B July 14, 2018, 12:15 a.m. OK GNU C++11 TESTS 20 15 0 1500
38613693 ckxkexing B May 25, 2018, 3:51 p.m. OK GNU C++11 TESTS 20 15 0 1500
32578604 polpolpol B Nov. 23, 2017, 2:58 p.m. OK GNU C++11 TESTS 20 15 0 1500
32568010 Ali.Nili.Zas B Nov. 23, 2017, 6:54 a.m. OK GNU C++11 TESTS 20 15 0 1500
32402631 shantihhillalex B Nov. 17, 2017, 4:14 p.m. OK GNU C++11 TESTS 20 15 0 1500
30626988 jxcakak B Sept. 22, 2017, 11:24 p.m. OK GNU C++14 TESTS 20 0 0 1500
56414389 vjudge5 B July 2, 2019, 3:20 a.m. OK GNU C++14 TESTS 20 15 0 1500
55818559 Ethranwar B June 20, 2019, 7:30 a.m. OK GNU C++14 TESTS 20 15 0 1500
54915875 Knife_PParty B June 1, 2019, 1:47 p.m. OK GNU C++14 TESTS 20 15 0 1500
53320527 vjudge4 B April 26, 2019, 12:39 p.m. OK GNU C++14 TESTS 20 15 0 1500
59586752 shubhammishra B Aug. 27, 2019, 6:21 p.m. OK GNU C++14 TESTS 20 15 0 1500
58230781 abhayps B Aug. 3, 2019, 4:43 p.m. OK GNU C++14 TESTS 20 15 0 1500
56697690 6aren B July 8, 2019, 7:47 a.m. OK GNU C++14 TESTS 20 15 0 1500
56414451 vjudge2 B July 2, 2019, 3:23 a.m. OK GNU C++14 TESTS 20 15 0 1500
69440616 Recursiv7AG B Jan. 23, 2020, 9:19 p.m. OK GNU C++14 TESTS 20 15 0 1500
55330673 Killer0809 B June 9, 2019, 10:47 a.m. OK GNU C++17 TESTS 20 15 0 1500
68639939 vjudge3 B Jan. 12, 2020, 7:10 a.m. OK GNU C++17 TESTS 20 15 0 1500
67785917 paras2020 B Dec. 28, 2019, 12:46 p.m. OK GNU C++17 TESTS 20 15 0 1500
58657369 charity B Aug. 12, 2019, 9:34 a.m. OK GNU C++17 TESTS 20 15 0 1500
58420417 vjudge2 B Aug. 7, 2019, 7:28 a.m. OK GNU C++17 TESTS 20 15 0 1500
57048446 karry44 B July 14, 2019, 4:09 p.m. OK GNU C++17 TESTS 20 15 0 1500
56756652 vjudge4 B July 9, 2019, 2:11 p.m. OK GNU C++17 TESTS 20 15 0 1500
55530884 vjudge1 B June 13, 2019, 1:32 p.m. OK GNU C++17 TESTS 20 15 0 1500
54239705 vjudge5 B May 16, 2019, 12:26 p.m. OK GNU C++17 TESTS 20 15 0 1500
53996871 vjudge4 B May 11, 2019, 3:03 p.m. OK GNU C++17 TESTS 20 15 0 1500
32972633 maac B Dec. 6, 2017, 11:05 a.m. OK GNU C++17 Diagnostics TESTS 20 1341 103116800 1500
39085026 vjudge3 B June 10, 2018, 6:37 a.m. OK GNU C++17 Diagnostics TESTS 20 1762 614400 1500
52740764 windy B April 14, 2019, 8:53 a.m. OK Go TESTS 20 31 0 1500
30585215 Edvard B Sept. 21, 2017, 3:29 p.m. OK Go TESTS 20 93 12390400 1500
30584204 torus711 B Sept. 21, 2017, 3:22 p.m. OK Haskell TESTS 20 30 0 1500
30775932 mouse_wireless B Sept. 27, 2017, 12:02 p.m. OK Haskell TESTS 20 31 9523200 1500
30602317 stczhc B Sept. 21, 2017, 10:41 p.m. OK Haskell TESTS 20 217 8499200 1500
61936754 jakejase2 B Oct. 5, 2019, 6:03 p.m. OK Java 8 TESTS 20 108 0 1500
30624704 PassedPawn B Sept. 22, 2017, 8:01 p.m. OK Java 8 TESTS 20 108 0 1500
30584106 NeSumHaker B Sept. 21, 2017, 3:21 p.m. OK Java 8 TESTS 20 108 0 1500
53438072 wadissimo B April 27, 2019, 8:39 p.m. OK Java 8 TESTS 20 109 0 1500
55211228 zmurzagaliev B June 6, 2019, 2:43 p.m. OK Java 8 TESTS 20 109 0 1500
48947830 formalist B Jan. 25, 2019, 8:19 p.m. OK Java 8 TESTS 20 109 0 1500
47868358 StayAwayFromBitches B Jan. 3, 2019, 11:19 a.m. OK Java 8 TESTS 20 109 0 1500
31764179 karamkontar B Oct. 26, 2017, 4:39 p.m. OK Java 8 TESTS 20 109 0 1500
31239484 Ereke B Oct. 12, 2017, 11:37 a.m. OK Java 8 TESTS 20 109 0 1500
30931407 sintax_eror B Oct. 2, 2017, 1:58 a.m. OK Java 8 TESTS 20 109 0 1500
33619917 Gugulete B Dec. 25, 2017, 2:54 p.m. OK JavaScript TESTS 20 31 6963200 1500
30584705 Eva B Sept. 21, 2017, 3:26 p.m. OK JavaScript TESTS 20 46 2150400 1500
42827444 065583 B Sept. 13, 2018, 11:10 a.m. OK Kotlin TESTS 20 171 921600 1500
31159419 Xtreemist B Oct. 9, 2017, 5:22 a.m. OK Mono C# TESTS 20 46 0 1500
47717067 Mem B Dec. 30, 2018, 8:34 a.m. OK Mono C# TESTS 20 93 3584000 1500
30583088 og.kostya B Sept. 21, 2017, 3:15 p.m. OK MS C# TESTS 20 46 102400 1500
30585742 serrg B Sept. 21, 2017, 3:34 p.m. OK MS C# TESTS 20 46 2969600 1500
30660718 konsiljere B Sept. 24, 2017, 8:55 a.m. OK MS C# TESTS 20 61 0 1500
30687942 Viole B Sept. 24, 2017, 6:48 p.m. OK MS C# TESTS 20 77 2560000 1500
31059270 toraoh B Oct. 6, 2017, 8:09 a.m. OK MS C# TESTS 20 77 5529600 1500
30590214 Prekel B Sept. 21, 2017, 4:16 p.m. OK MS C# TESTS 20 93 4608000 1500
30601949 Loremon B Sept. 21, 2017, 9:58 p.m. OK MS C++ TESTS 20 15 0 1500
51830187 vjudge4 B March 25, 2019, 3:49 p.m. OK MS C++ TESTS 20 15 0 1500
32135232 psucoder B Nov. 8, 2017, 8:18 a.m. OK MS C++ TESTS 20 15 0 1500
31058221 rtgvcd B Oct. 6, 2017, 7:36 a.m. OK MS C++ TESTS 20 15 0 1500
30976179 t.89655969612 B Oct. 3, 2017, 6:51 p.m. OK MS C++ TESTS 20 15 0 1500
30959164 chenyiheng B Oct. 3, 2017, 5:58 a.m. OK MS C++ TESTS 20 15 0 1500
30777009 Kovler B Sept. 27, 2017, 12:43 p.m. OK MS C++ TESTS 20 15 0 1500
30635214 grol666 B Sept. 23, 2017, 8:22 a.m. OK MS C++ TESTS 20 15 0 1500
30610478 DaniaSewwi B Sept. 22, 2017, 9:31 a.m. OK MS C++ TESTS 20 15 0 1500
30590258 zaaabik B Sept. 21, 2017, 4:17 p.m. OK MS C++ TESTS 20 15 0 1500
60850631 vjudge1 B Sept. 19, 2019, 1:56 p.m. OK MS C++ 2017 TESTS 20 31 0 1500
59894756 siwei B Sept. 2, 2019, 11:44 a.m. OK MS C++ 2017 TESTS 20 31 0 1500
66626430 Mad112233 B Dec. 11, 2019, 9:16 a.m. OK MS C++ 2017 TESTS 20 31 0 1500
68639154 vjudge4 B Jan. 12, 2020, 6:57 a.m. OK MS C++ 2017 TESTS 20 31 0 1500
31477013 s_p B Oct. 18, 2017, 10:50 a.m. OK Perl TESTS 20 202 2252800 1500
30593491 mayakin B Sept. 21, 2017, 4:57 p.m. OK PHP TESTS 20 140 512000 1500
30588051 dbhrockzz B Sept. 21, 2017, 3:54 p.m. OK PyPy 2 TESTS 20 77 307200 1500
31115372 shub.jain B Oct. 7, 2017, 12:56 p.m. OK PyPy 2 TESTS 20 93 307200 1500
30595420 parth_satodiya B Sept. 21, 2017, 5:38 p.m. OK PyPy 2 TESTS 20 93 307200 1500
33085912 fortmax120 B Dec. 10, 2017, 8:57 p.m. OK PyPy 2 TESTS 20 93 21811200 1500
30599406 viralm B Sept. 21, 2017, 8:49 p.m. OK PyPy 2 TESTS 20 108 716800 1500
30608352 attiw B Sept. 22, 2017, 7:36 a.m. OK PyPy 2 TESTS 20 109 614400 1500
30991701 andreamaf B Oct. 4, 2017, 12:29 p.m. OK PyPy 2 TESTS 20 109 921600 1500
30583211 Yash_ B Sept. 21, 2017, 3:15 p.m. OK PyPy 2 TESTS 20 109 1024000 1500
32213434 cchao B Nov. 11, 2017, 7:43 a.m. OK PyPy 2 TESTS 20 109 1024000 1500
30795553 nealzane B Sept. 28, 2017, 5:32 a.m. OK PyPy 2 TESTS 20 124 716800 1500
31058297 Roberto29 B Oct. 6, 2017, 7:38 a.m. OK PyPy 3 TESTS 20 124 921600 1500
30588880 pylol B Sept. 21, 2017, 4:02 p.m. OK PyPy 3 TESTS 20 124 1126400 1500
30587886 Mad_Andrei B Sept. 21, 2017, 3:52 p.m. OK PyPy 3 TESTS 20 124 1126400 1500
30584954 madn B Sept. 21, 2017, 3:27 p.m. OK PyPy 3 TESTS 20 139 921600 1500
30610105 mfu B Sept. 22, 2017, 9:09 a.m. OK PyPy 3 TESTS 20 140 1945600 1500
59512420 kopok2 B Aug. 26, 2019, 8:30 a.m. OK PyPy 3 TESTS 20 140 2048000 1500
30700307 metamemelord B Sept. 25, 2017, 10 a.m. OK PyPy 3 TESTS 20 155 1331200 1500
60198519 CubeCakes B Sept. 7, 2019, 3:38 a.m. OK PyPy 3 TESTS 20 155 1433600 1500
61919468 ashok123 B Oct. 5, 2019, 12:59 p.m. OK PyPy 3 TESTS 20 155 2048000 1500
56015298 knight-erraunt B June 24, 2019, 8:41 p.m. OK PyPy 3 TESTS 20 155 2048000 1500
30658038 sunary B Sept. 24, 2017, 6:33 a.m. OK Python 2 TESTS 20 46 0 1500
30964283 Lasers67 B Oct. 3, 2017, 10:20 a.m. OK Python 2 TESTS 20 109 0 1500
30619461 RompeElAlba B Sept. 22, 2017, 3:47 p.m. OK Python 2 TESTS 20 109 0 1500
30585425 songzy12 B Sept. 21, 2017, 3:31 p.m. OK Python 2 TESTS 20 109 102400 1500
30608573 mani3196 B Sept. 22, 2017, 7:49 a.m. OK Python 2 TESTS 20 124 102400 1500
30591267 EON_KID B Sept. 21, 2017, 4:28 p.m. OK Python 2 TESTS 20 140 307200 1500
30586277 biltharesatyendra B Sept. 21, 2017, 3:38 p.m. OK Python 2 TESTS 20 156 0 1500
30611964 aayush_141 B Sept. 22, 2017, 10:50 a.m. OK Python 2 TESTS 20 171 0 1500
39851119 Ali_Pi B July 1, 2018, 8:52 p.m. OK Python 2 TESTS 20 202 102400 1500
30796994 lavee.singh B Sept. 28, 2017, 7 a.m. OK Python 2 TESTS 20 217 0 1500
30859476 ikovrigin B Sept. 30, 2017, 8:38 a.m. OK Python 3 TESTS 20 62 0 1500
30587709 duerno B Sept. 21, 2017, 3:51 p.m. OK Python 3 TESTS 20 62 0 1500
32638590 werusnik B Nov. 25, 2017, 6:33 a.m. OK Python 3 TESTS 20 62 5632000 1500
30661008 yugle7 B Sept. 24, 2017, 9:10 a.m. OK Python 3 TESTS 20 77 0 1500
30584416 McDic B Sept. 21, 2017, 3:23 p.m. OK Python 3 TESTS 20 77 0 1500
32638443 Peterian B Nov. 25, 2017, 6:26 a.m. OK Python 3 TESTS 20 77 5632000 1500
32638435 Barnoul B Nov. 25, 2017, 6:25 a.m. OK Python 3 TESTS 20 77 5632000 1500
32703079 isoul B Nov. 27, 2017, 7:39 a.m. OK Python 3 TESTS 20 78 5632000 1500
32638575 BogdanSh B Nov. 25, 2017, 6:32 a.m. OK Python 3 TESTS 20 78 5632000 1500
32638418 arsennep B Nov. 25, 2017, 6:24 a.m. OK Python 3 TESTS 20 78 5632000 1500
30669596 Hillmouse B Sept. 24, 2017, 2:38 p.m. OK Rust TESTS 20 15 0 1500
30640906 FalseMirror B Sept. 23, 2017, 12:14 p.m. OK Rust TESTS 20 15 0 1500
30617464 odomontois B Sept. 22, 2017, 2:33 p.m. OK Scala TESTS 20 826 409600 1500

remove filters

Back to search problems