Educational Codeforces Round 32

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
888 Educational Codeforces Round 32 FINISHED False 7200 227285723 Nov. 9, 2017, 3:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 7566 ) E Maximum Subsequence PROGRAMMING bitmasks divide and conquer meet-in-the-middle 1800

B"You are given an array a consisting of n integers, and additionally an integer m. You have to choose some sequence of indices b1, xe2 x80 x89b2, xe2 x80 x89..., xe2 x80 x89bk (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89b1 xe2 x80 x89< xe2 x80 x89b2 xe2 x80 x89< xe2 x80 x89... xe2 x80 x89< xe2 x80 x89bk xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n) in such a way that the value of is maximized. Chosen sequence can be empty. Print the maximum possible value of . The first line contains two integers n and m (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8935, 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109). The second line contains n integers a1, a2, ..., an (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ai xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109). Print the maximum possible value of . In the first example you can choose a sequence b xe2 x80 x89= xe2 x80 x89{1, xe2 x80 x892}, so the sum is equal to 7 (and that's 3 after taking it modulo 4). In the second example you can choose a sequence b xe2 x80 x89= xe2 x80 x89{3}. "...

Tutorials

Educational Codeforces Round 32 - Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
32189189 nanae1914 E Nov. 10, 2017, 8:36 a.m. OK D TESTS 37 124 4198400 1800
38023797 cpy E May 8, 2018, 2:48 p.m. OK D TESTS 37 124 8806400 1800
53455957 rr_ E April 28, 2019, 2:39 a.m. OK D TESTS 37 156 22732800 1800
32196124 ruban E Nov. 10, 2017, 1:17 p.m. OK Delphi TESTS 37 218 123494400 1800
49361576 PhuongPeu E Feb. 2, 2019, 1:06 p.m. OK FPC TESTS 37 61 8294400 1800
32183891 Minh_love_Hong_Phuc E Nov. 10, 2017, 1:07 a.m. OK FPC TESTS 37 62 5632000 1800
32188826 tin2016_ndhanh E Nov. 10, 2017, 8:14 a.m. OK FPC TESTS 37 62 8089600 1800
32188187 The_Best_Fizz_2001 E Nov. 10, 2017, 7:36 a.m. OK FPC TESTS 37 78 7270400 1800
32214895 cyand1317 E Nov. 11, 2017, 8:56 a.m. OK FPC TESTS 37 93 2150400 1800
32189765 long240808 E Nov. 10, 2017, 9:06 a.m. OK FPC TESTS 37 93 7987200 1800
32188235 tin2016_tdduy E Nov. 10, 2017, 7:39 a.m. OK FPC TESTS 37 93 240537600 1800
32189970 lenguyenthaomi2510 E Nov. 10, 2017, 9:16 a.m. OK FPC TESTS 37 109 160358400 1800
32188406 LovelyFairy E Nov. 10, 2017, 7:49 a.m. OK FPC TESTS 37 124 7987200 1800
32196112 ruban E Nov. 10, 2017, 1:17 p.m. OK FPC TESTS 37 156 123494400 1800
32361476 Faimerth E Nov. 16, 2017, 5:15 p.m. OK GNU C TESTS 37 77 24064000 1800
32210111 gaelim E Nov. 11, 2017, 4:23 a.m. OK GNU C TESTS 37 78 8396800 1800
32215898 rainy_season E Nov. 11, 2017, 9:50 a.m. OK GNU C++ TESTS 37 31 11980800 1800
40230993 vjudge3 E July 12, 2018, 12:03 p.m. OK GNU C++ TESTS 37 46 512000 1800
32171833 RobeZH E Nov. 9, 2017, 4:27 p.m. OK GNU C++ TESTS 37 46 1843200 1800
40401516 vjudge1 E July 16, 2018, 7:51 a.m. OK GNU C++ TESTS 37 46 2150400 1800
42104780 vjudge3 E Aug. 25, 2018, 10:42 p.m. OK GNU C++ TESTS 37 46 2150400 1800
40400762 vjudge5 E July 16, 2018, 7:32 a.m. OK GNU C++ TESTS 37 46 2150400 1800
40397490 vjudge1 E July 16, 2018, 6:04 a.m. OK GNU C++ TESTS 37 46 2150400 1800
39666377 vjudge4 E June 26, 2018, 5:39 a.m. OK GNU C++ TESTS 37 46 2150400 1800
32370646 qqqqwtx E Nov. 17, 2017, 6:22 a.m. OK GNU C++ TESTS 37 46 2252800 1800
32310052 HuaKeJiZhe E Nov. 14, 2017, 11:44 a.m. OK GNU C++ TESTS 37 46 2457600 1800
53030760 rainboy E April 19, 2019, 11:38 p.m. OK GNU C11 TESTS 37 93 2150400 1800
32366127 lolzano E Nov. 16, 2017, 10:11 p.m. OK GNU C++11 TESTS 37 31 2048000 1800
32453092 DeadPillow E Nov. 19, 2017, 9:59 a.m. OK GNU C++11 TESTS 37 31 4198400 1800
32187338 JY_Poi E Nov. 10, 2017, 6:40 a.m. OK GNU C++11 TESTS 37 31 4300800 1800
32191463 weixiao1 E Nov. 10, 2017, 10:39 a.m. OK GNU C++11 TESTS 37 31 8192000 1800
32337483 u33how E Nov. 15, 2017, 4:33 p.m. OK GNU C++11 TESTS 37 31 8396800 1800
51884352 luogu_bot4 E March 27, 2019, 5:13 a.m. OK GNU C++11 TESTS 37 46 1024000 1800
51799474 Daniel19Frenzy E March 24, 2019, 5:10 p.m. OK GNU C++11 TESTS 37 46 1536000 1800
32318366 shyf1301 E Nov. 14, 2017, 7:04 p.m. OK GNU C++11 TESTS 37 46 1638400 1800
46696804 Bhanu1219 E Dec. 6, 2018, 8:22 p.m. OK GNU C++11 TESTS 37 46 1843200 1800
64340076 gsyz E Nov. 6, 2019, 1:51 a.m. OK GNU C++11 TESTS 37 46 1945600 1800
32166182 halyavin E Nov. 9, 2017, 3:34 p.m. OK GNU C++14 TESTS 37 31 1536000 1800
32273486 AMnu E Nov. 12, 2017, 11:14 p.m. OK GNU C++14 TESTS 37 31 7987200 1800
32188086 rabbit_lb E Nov. 10, 2017, 7:29 a.m. OK GNU C++14 TESTS 37 31 8192000 1800
32303854 xlk E Nov. 14, 2017, 5:25 a.m. OK GNU C++14 TESTS 37 31 8396800 1800
32201793 Bassel E Nov. 10, 2017, 5:25 p.m. OK GNU C++14 TESTS 37 46 1536000 1800
32577792 mengrao E Nov. 23, 2017, 2:23 p.m. OK GNU C++14 TESTS 37 46 1536000 1800
32242601 I_love_myself E Nov. 12, 2017, 12:01 p.m. OK GNU C++14 TESTS 37 46 1536000 1800
54860065 tusg25 E May 31, 2019, 12:26 a.m. OK GNU C++14 TESTS 37 46 2150400 1800
45277023 lilicc822 E Nov. 4, 2018, 11:39 a.m. OK GNU C++14 TESTS 37 46 2150400 1800
59614735 _FlyingColor_ E Aug. 28, 2019, 12:14 p.m. OK GNU C++14 TESTS 37 46 2150400 1800
57303521 congmingyige E July 19, 2019, 2:03 a.m. OK GNU C++17 TESTS 37 46 2150400 1800
57154206 congmingyige E July 16, 2019, 4:02 p.m. OK GNU C++17 TESTS 37 46 2150400 1800
56974094 congmingyige E July 13, 2019, 11:31 a.m. OK GNU C++17 TESTS 37 46 2150400 1800
56837710 kurs E July 11, 2019, 9:55 a.m. OK GNU C++17 TESTS 37 46 2150400 1800
52904103 vjudge3 E April 17, 2019, 12:06 p.m. OK GNU C++17 TESTS 37 46 2150400 1800
43538972 dasper E Sept. 28, 2018, 4:29 p.m. OK GNU C++17 TESTS 37 46 2150400 1800
39671706 vjudge2 E June 26, 2018, 9:42 a.m. OK GNU C++17 TESTS 37 46 2150400 1800
56823700 vjudge4 E July 11, 2019, 2:38 a.m. OK GNU C++17 TESTS 37 46 2150400 1800
66415167 yuhta E Dec. 6, 2019, 4:48 p.m. OK GNU C++17 TESTS 37 46 2150400 1800
57303544 congmingyige E July 19, 2019, 2:04 a.m. OK GNU C++17 TESTS 37 46 2150400 1800
32178679 Musin E Nov. 9, 2017, 6:22 p.m. OK Java 8 TESTS 37 156 0 1800
67946060 SpargelTarzan E Dec. 30, 2019, 5:20 a.m. OK Java 8 TESTS 37 171 0 1800
44618488 programbhavan E Oct. 21, 2018, 4:23 a.m. OK Java 8 TESTS 37 187 0 1800
32216127 shreyansh97 E Nov. 11, 2017, 10:01 a.m. OK Java 8 TESTS 37 187 0 1800
53205094 wadissimo E April 23, 2019, 8:53 p.m. OK Java 8 TESTS 37 202 0 1800
46298507 aminul E Nov. 28, 2018, 5:43 a.m. OK Java 8 TESTS 37 202 0 1800
32185687 habanera E Nov. 10, 2017, 4:43 a.m. OK Java 8 TESTS 37 202 15974400 1800
34261023 In_The_Name_Of_Love E Jan. 17, 2018, 8:15 p.m. OK Java 8 TESTS 37 202 20684800 1800
34261007 In_The_Name_Of_Love E Jan. 17, 2018, 8:13 p.m. OK Java 8 TESTS 37 202 20889600 1800
60839295 ISSAM_LAKOUAM E Sept. 19, 2019, 10:17 a.m. OK Java 8 TESTS 37 217 0 1800
32174703 SlavaG E Nov. 9, 2017, 5 p.m. OK Kotlin TESTS 37 623 15872000 1800
32215494 og.kostya E Nov. 11, 2017, 9:29 a.m. OK MS C# TESTS 37 109 6451200 1800
32167296 leign E Nov. 9, 2017, 3:42 p.m. OK MS C# TESTS 37 124 3174400 1800
32168176 azukun E Nov. 9, 2017, 3:50 p.m. OK MS C# TESTS 37 124 5632000 1800
32799190 Mem E Nov. 30, 2017, 8:18 a.m. OK MS C# TESTS 37 124 13824000 1800
56603068 vjudge4 E July 6, 2019, 2:22 a.m. OK MS C++ TESTS 37 46 2457600 1800
35055445 scorpiowf E Feb. 8, 2018, 11:13 a.m. OK MS C++ TESTS 37 46 4505600 1800
66573648 vjudge1 E Dec. 10, 2019, 6:06 a.m. OK MS C++ TESTS 37 46 7987200 1800
32178970 Ivan_Bondarev E Nov. 9, 2017, 6:35 p.m. OK MS C++ TESTS 37 61 2662400 1800
69884350 vjudge4 E Jan. 31, 2020, 7:38 a.m. OK MS C++ TESTS 37 62 512000 1800
66414318 vjudge2 E Dec. 6, 2019, 4:28 p.m. OK MS C++ TESTS 37 62 1024000 1800
68631141 vjudge5 E Jan. 12, 2020, 2:53 a.m. OK MS C++ TESTS 37 62 2457600 1800
40169019 MenOfPassion E July 10, 2018, 11:32 a.m. OK MS C++ TESTS 37 62 2662400 1800
32282165 AleksanderBalobanov E Nov. 13, 2017, 11:14 a.m. OK MS C++ TESTS 37 62 3072000 1800
60198458 vjudge5 E Sept. 7, 2019, 3:35 a.m. OK MS C++ TESTS 37 62 3993600 1800
59647819 vjudge4 E Aug. 29, 2019, 6:46 a.m. OK MS C++ 2017 TESTS 37 61 7987200 1800
66438994 vjudge2 E Dec. 7, 2019, 7:18 a.m. OK MS C++ 2017 TESTS 37 62 1024000 1800
68683287 vjudge4 E Jan. 13, 2020, 1:12 a.m. OK MS C++ 2017 TESTS 37 62 1228800 1800
68683620 vjudge3 E Jan. 13, 2020, 1:33 a.m. OK MS C++ 2017 TESTS 37 62 1433600 1800
69906189 Mongow E Jan. 31, 2020, 2:12 p.m. OK MS C++ 2017 TESTS 37 109 1228800 1800
68683698 vjudge4 E Jan. 13, 2020, 1:38 a.m. OK MS C++ 2017 TESTS 37 124 1433600 1800
69262819 Still_Theory E Jan. 21, 2020, 5:36 p.m. OK MS C++ 2017 TESTS 37 186 9625600 1800
69905364 Mongow E Jan. 31, 2020, 2 p.m. OK MS C++ 2017 TESTS 37 186 16281600 1800
33512934 sgtlaugh E Dec. 22, 2017, 3:28 p.m. OK PyPy 2 TESTS 37 296 37171200 1800
32180073 tushutripathi E Nov. 9, 2017, 7:33 p.m. OK PyPy 2 TESTS 37 327 15360000 1800
38638630 belkka E May 26, 2018, 3:41 p.m. OK PyPy 2 TESTS 37 732 26009600 1800
61833993 ashok123 E Oct. 4, 2019, 7:25 a.m. OK PyPy 2 TESTS 37 935 24576000 1800
32563854 latsyrc1123 E Nov. 23, 2017, 12:15 a.m. OK PyPy 2 TESTS 37 998 25907200 1800
61833724 ashok123 E Oct. 4, 2019, 7:20 a.m. OK PyPy 3 TESTS 37 919 25907200 1800
62892423 Zombie358 E Oct. 18, 2019, 9:13 p.m. OK PyPy 3 TESTS 37 935 19456000 1800
33972670 yugle7 E Jan. 6, 2018, 9:04 p.m. OK PyPy 3 TESTS 37 967 55500800 1800
39260904 Ali_Pi E June 15, 2018, 8:21 a.m. OK Python 2 TESTS 37 779 14950400 1800
41541720 Onesh0t E Aug. 13, 2018, 12:38 a.m. OK Python 2 TESTS 37 826 10137600 1800
41541693 Onesh0t E Aug. 13, 2018, 12:36 a.m. OK Python 2 TESTS 37 841 9932800 1800
66166616 nchack E Dec. 2, 2019, 7:58 a.m. OK Python 3 TESTS 37 670 15667200 1800
32514621 Jiburiru E Nov. 21, 2017, 2:56 a.m. OK Python 3 TESTS 37 732 16691200 1800
32514691 Jiburiru E Nov. 21, 2017, 3:05 a.m. OK Python 3 TESTS 37 733 16691200 1800
32514706 Jiburiru E Nov. 21, 2017, 3:07 a.m. OK Python 3 TESTS 37 748 15872000 1800
32514658 Jiburiru E Nov. 21, 2017, 3:01 a.m. OK Python 3 TESTS 37 748 16691200 1800
32455692 atryapa E Nov. 19, 2017, 11:55 a.m. OK Python 3 TESTS 37 748 20582400 1800
32362572 atryapa E Nov. 16, 2017, 6:10 p.m. OK Python 3 TESTS 37 764 6860800 1800
32352065 atryapa E Nov. 16, 2017, 10:10 a.m. OK Python 3 TESTS 37 779 14848000 1800
32455746 atryapa E Nov. 19, 2017, 11:57 a.m. OK Python 3 TESTS 37 779 20172800 1800
32455854 atryapa E Nov. 19, 2017, 12:01 p.m. OK Python 3 TESTS 37 779 20582400 1800
32242496 hanfei19910905 E Nov. 12, 2017, 11:57 a.m. OK Rust TESTS 37 124 3891200 1800
32172796 hatoo E Nov. 9, 2017, 4:38 p.m. OK Rust TESTS 37 576 14540800 1800

remove filters

Back to search problems