Educational Codeforces Round 20

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
803 Educational Codeforces Round 20 FINISHED False 8100 238431299 April 28, 2017, 3:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 5138 ) C Maximal GCD PROGRAMMING constructive algorithms greedy math 2000

B'You are given positive integer number n. You should create such strictly increasing sequence of k positive numbers a1, xe2 x80 x89a2, xe2 x80 x89..., xe2 x80 x89ak, that their sum is equal to n and greatest common divisor is maximal. Greatest common divisor of sequence is maximum of such numbers that every element of sequence is divisible by them. If there is no possible sequence then output -1. The first line consists of two numbers n and k (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89k xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891010). If the answer exists then output k numbers -- resulting sequence. Otherwise output -1. If there are multiple answers, print any of them. '...

Tutorials

51768

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
57461385 LaSWeeG C July 21, 2019, 1:47 p.m. OK Delphi TESTS 138 77 0 2000
30029024 toida12chu C Sept. 3, 2017, 10:15 a.m. OK FPC TESTS 138 217 8089600 2000
26833752 vjudge2 C May 4, 2017, 12:06 p.m. OK FPC TESTS 138 233 0 2000
26741720 nikih.10 C April 29, 2017, 6:39 a.m. OK FPC TESTS 138 233 1638400 2000
26769885 luckystars C April 30, 2017, 2:43 p.m. OK FPC TESTS 138 233 1740800 2000
26764344 andrew C April 30, 2017, 9:20 a.m. OK FPC TESTS 138 233 17715200 2000
26731603 scientist C April 28, 2017, 5:14 p.m. OK FPC TESTS 138 234 1638400 2000
28328796 tin2016_qmduc C July 6, 2017, 2:01 p.m. OK FPC TESTS 138 249 1638400 2000
26799631 MinhPhan C May 2, 2017, 9:50 a.m. OK FPC TESTS 138 265 2150400 2000
26764305 andrew C April 30, 2017, 9:17 a.m. OK FPC TESTS 138 265 17612800 2000
29102535 vjudge1 C Aug. 1, 2017, 1:51 p.m. OK GNU C TESTS 138 31 1945600 2000
29091115 vjudge5 C Aug. 1, 2017, 7:25 a.m. OK GNU C TESTS 138 31 1945600 2000
26771984 SakibAbrar C April 30, 2017, 4:52 p.m. OK GNU C TESTS 138 31 1945600 2000
26738217 Abreto C April 29, 2017, 2:34 a.m. OK GNU C TESTS 138 31 1945600 2000
26758724 sahuang C April 30, 2017, 2:10 a.m. OK GNU C TESTS 138 31 5939200 2000
26828867 jkxjkx1031 C May 4, 2017, 5:58 a.m. OK GNU C TESTS 138 46 0 2000
29090961 DoubleX C Aug. 1, 2017, 7:20 a.m. OK GNU C TESTS 138 46 1945600 2000
26766141 tabac C April 30, 2017, 10:59 a.m. OK GNU C TESTS 138 46 1945600 2000
26726455 sgtlaugh C April 28, 2017, 3:56 p.m. OK GNU C TESTS 138 46 1945600 2000
27061744 tryouge C May 12, 2017, 8:15 p.m. OK GNU C TESTS 138 46 2457600 2000
26797591 XuYipei C May 2, 2017, 6:55 a.m. OK GNU C++ TESTS 138 15 10240000 2000
27671440 yasugongshang C June 8, 2017, 12:43 p.m. OK GNU C++ TESTS 138 30 0 2000
32522809 vjudge3 C Nov. 21, 2017, 11:06 a.m. OK GNU C++ TESTS 138 31 0 2000
31896481 vjudge2 C Oct. 30, 2017, 2:25 p.m. OK GNU C++ TESTS 138 31 0 2000
31881176 vjudge5 C Oct. 30, 2017, 4:39 a.m. OK GNU C++ TESTS 138 31 0 2000
30388884 JeffreyLC C Sept. 16, 2017, 5:04 p.m. OK GNU C++ TESTS 138 31 0 2000
30130923 adzbr C Sept. 6, 2017, 12:14 p.m. OK GNU C++ TESTS 138 31 0 2000
29706362 ThoseBygones C Aug. 23, 2017, 12:02 p.m. OK GNU C++ TESTS 138 31 0 2000
27715670 vjudge5 C June 11, 2017, 5:55 a.m. OK GNU C++ TESTS 138 31 0 2000
27609290 minhajul.islam C June 6, 2017, 9:07 a.m. OK GNU C++ TESTS 138 31 0 2000
47543414 vikr_182 C Dec. 27, 2018, 8:33 a.m. OK GNU C11 TESTS 138 452 34713600 2000
26734121 Chapecoense C April 28, 2017, 7:25 p.m. OK GNU C11 TESTS 138 592 1945600 2000
26819208 AliceShaw C May 3, 2017, 1:04 p.m. OK GNU C11 TESTS 138 608 1945600 2000
26735316 f2lk6wf90d C April 28, 2017, 9:06 p.m. OK GNU C11 TESTS 138 624 3072000 2000
31360570 Voja03 C Oct. 15, 2017, 10:14 a.m. OK GNU C11 TESTS 138 639 1843200 2000
27257404 Mentholzzz C May 21, 2017, 3:18 a.m. OK GNU C++11 TESTS 138 30 0 2000
26777773 lanpang C May 1, 2017, 2:57 a.m. OK GNU C++11 TESTS 138 30 2150400 2000
27941951 XJT C June 21, 2017, 9:18 a.m. OK GNU C++11 TESTS 138 30 2150400 2000
63760216 Hilin C Oct. 30, 2019, 3:09 a.m. OK GNU C++11 TESTS 138 31 0 2000
64676506 ETO C Nov. 11, 2019, 8:15 a.m. OK GNU C++11 TESTS 138 31 0 2000
60205583 vjudge1 C Sept. 7, 2019, 7:59 a.m. OK GNU C++11 TESTS 138 31 0 2000
60204289 vjudge1 C Sept. 7, 2019, 7:28 a.m. OK GNU C++11 TESTS 138 31 0 2000
60201289 water_mi C Sept. 7, 2019, 5:54 a.m. OK GNU C++11 TESTS 138 31 0 2000
60198970 luogu_bot5 C Sept. 7, 2019, 3:59 a.m. OK GNU C++11 TESTS 138 31 0 2000
60198558 Karry5307 C Sept. 7, 2019, 3:40 a.m. OK GNU C++11 TESTS 138 31 0 2000
26834890 c1106543196 C May 4, 2017, 12:56 p.m. OK GNU C++14 TESTS 138 15 0 2000
27483415 sasiprasanth C June 1, 2017, 11:25 a.m. OK GNU C++14 TESTS 138 15 819200 2000
26727643 zlc1114 C April 28, 2017, 4:10 p.m. OK GNU C++14 TESTS 138 15 1945600 2000
31004353 KKOOPP C Oct. 4, 2017, 11:06 p.m. OK GNU C++14 TESTS 138 30 0 2000
27459811 abhi_1595 C May 31, 2017, 5:47 a.m. OK GNU C++14 TESTS 138 30 0 2000
27012885 KafuChino C May 11, 2017, 12:41 p.m. OK GNU C++14 TESTS 138 30 0 2000
27001754 Too_stupid C May 10, 2017, 6:40 p.m. OK GNU C++14 TESTS 138 30 0 2000
27667903 Roohi C June 8, 2017, 9:35 a.m. OK GNU C++14 TESTS 138 30 204800 2000
28390737 Mahan_sh C July 9, 2017, 4:18 p.m. OK GNU C++14 TESTS 138 30 1945600 2000
29218853 mHuman C Aug. 5, 2017, 12:47 p.m. OK GNU C++14 TESTS 138 30 1945600 2000
63969945 not_found99 C Nov. 1, 2019, 8:43 a.m. OK GNU C++17 TESTS 138 31 0 2000
69524725 Be_dos C Jan. 25, 2020, 2:31 p.m. OK GNU C++17 TESTS 138 31 0 2000
68879152 jeeba_leepa C Jan. 15, 2020, 6:04 p.m. OK GNU C++17 TESTS 138 31 0 2000
66369946 RedNova C Dec. 5, 2019, 9:27 p.m. OK GNU C++17 TESTS 138 31 0 2000
65454454 r9729104234 C Nov. 20, 2019, 7:44 p.m. OK GNU C++17 TESTS 138 31 0 2000
64471360 Mazaalai C Nov. 7, 2019, 1:10 p.m. OK GNU C++17 TESTS 138 31 0 2000
64466753 n.nekogasuki643 C Nov. 7, 2019, 11:56 a.m. OK GNU C++17 TESTS 138 31 0 2000
62406418 hkyiitd C Oct. 12, 2019, 9:06 a.m. OK GNU C++17 TESTS 138 31 0 2000
61112061 Seanliu C Sept. 23, 2019, 11:38 a.m. OK GNU C++17 TESTS 138 31 0 2000
59192459 umang99m C Aug. 20, 2019, 10:23 p.m. OK GNU C++17 TESTS 138 31 0 2000
26735052 goC C April 28, 2017, 8:42 p.m. OK Go TESTS 138 61 25190400 2000
26769466 only_methol C April 30, 2017, 2:18 p.m. OK Go TESTS 138 405 24064000 2000
26735673 stczhc C April 28, 2017, 9:40 p.m. OK Haskell TESTS 138 46 53452800 2000
28333135 sl0th C July 6, 2017, 5:23 p.m. OK Haskell TESTS 138 62 65024000 2000
26733347 meridional C April 28, 2017, 6:33 p.m. OK Haskell TESTS 138 124 53248000 2000
69642460 ulrich6 C Jan. 27, 2020, 9:45 p.m. OK Java 11 TESTS 138 218 0 2000
60657536 madfrost C Sept. 16, 2019, 1:28 a.m. OK Java 8 TESTS 138 124 0 2000
55508173 vjvjain0 C June 12, 2019, 7:29 p.m. OK Java 8 TESTS 138 124 0 2000
55275013 sameep17264 C June 7, 2019, 6:27 p.m. OK Java 8 TESTS 138 124 0 2000
55272315 sameep17264 C June 7, 2019, 5:03 p.m. OK Java 8 TESTS 138 124 0 2000
52754416 aman28rwt C April 14, 2019, 3:55 p.m. OK Java 8 TESTS 138 124 0 2000
52245081 icpc_loser C April 2, 2019, 6:37 p.m. OK Java 8 TESTS 138 124 0 2000
27419430 Killer45 C May 28, 2017, 8:24 p.m. OK Java 8 TESTS 138 124 0 2000
27263119 thainguyenhung C May 21, 2017, 9 a.m. OK Java 8 TESTS 138 124 0 2000
52749946 poiuytrewq C April 14, 2019, 1:32 p.m. OK Java 8 TESTS 138 124 0 2000
66571544 yaoct C Dec. 10, 2019, 4:55 a.m. OK Java 8 TESTS 138 124 0 2000
29045410 vjudge3 C July 31, 2017, 10:38 a.m. OK JavaScript TESTS 138 62 21504000 2000
26729875 simonmysun C April 28, 2017, 4:43 p.m. OK JavaScript TESTS 138 108 21299200 2000
49627104 ucrop C Feb. 8, 2019, 12:33 p.m. OK Mono C# TESTS 138 77 10752000 2000
26738728 og.kostya C April 29, 2017, 3:21 a.m. OK MS C# TESTS 138 62 11571200 2000
26801351 fr0st C May 2, 2017, 11:52 a.m. OK MS C# TESTS 138 77 21196800 2000
26744690 artsin666 C April 29, 2017, 9:42 a.m. OK MS C# TESTS 138 78 16384000 2000
26756391 lionvs13 C April 29, 2017, 9:04 p.m. OK MS C# TESTS 138 93 21196800 2000
33248917 den.egorychev C Dec. 14, 2017, 7:02 p.m. OK MS C# TESTS 138 343 13414400 2000
26957847 mamonmasod C May 8, 2017, 1:39 p.m. OK MS C++ TESTS 138 31 0 2000
60209034 vjudge1 C Sept. 7, 2019, 9:20 a.m. OK MS C++ TESTS 138 31 0 2000
31122507 Zakilla C Oct. 7, 2017, 4:37 p.m. OK MS C++ TESTS 138 31 0 2000
27518642 jolt C June 2, 2017, 8:15 a.m. OK MS C++ TESTS 138 31 204800 2000
39863047 scorpiowf C July 2, 2018, 9:13 a.m. OK MS C++ TESTS 138 31 409600 2000
56962692 vjudge1 C July 13, 2019, 7:12 a.m. OK MS C++ TESTS 138 31 819200 2000
29094258 vjudge5 C Aug. 1, 2017, 9:12 a.m. OK MS C++ TESTS 138 31 2048000 2000
27986905 ernestfan C June 23, 2017, 2:14 p.m. OK MS C++ TESTS 138 31 2048000 2000
26733457 RCG C April 28, 2017, 6:39 p.m. OK MS C++ TESTS 138 31 2150400 2000
28389311 mshcherba C July 9, 2017, 2:41 p.m. OK MS C++ TESTS 138 31 2150400 2000
57185586 ZSTU-2018329621261 C July 17, 2019, 8:35 a.m. OK MS C++ 2017 TESTS 138 46 0 2000
57767280 pseuda C July 25, 2019, 9:23 p.m. OK MS C++ 2017 TESTS 138 93 0 2000
29812757 m7mdbadawy C Aug. 26, 2017, 6:27 p.m. OK PyPy 2 TESTS 138 93 10444800 2000
30052704 attiw C Sept. 4, 2017, 12:25 p.m. OK PyPy 2 TESTS 138 826 716800 2000
31198854 shub.jain C Oct. 10, 2017, 5:17 p.m. OK PyPy 2 TESTS 138 857 921600 2000
39166005 YESMAths C June 11, 2018, 3:20 p.m. OK PyPy 2 TESTS 138 967 614400 2000
41154493 Onesh0t C Aug. 3, 2018, 11:11 a.m. OK PyPy 2 TESTS 138 997 6348800 2000
31833542 yugle7 C Oct. 28, 2017, 11:14 a.m. OK PyPy 3 TESTS 138 155 13926400 2000
26728795 Naoki_M C April 28, 2017, 4:26 p.m. OK PyPy 3 TESTS 138 202 39526400 2000
60755020 Sevlll C Sept. 18, 2019, 8:25 a.m. OK PyPy 3 TESTS 138 233 9625600 2000
57099611 vjudge2 C July 15, 2019, 1:20 p.m. OK PyPy 3 TESTS 138 248 9523200 2000
58058192 Kekmus C July 31, 2019, 6:20 a.m. OK PyPy 3 TESTS 138 249 9523200 2000
31847679 yugle7 C Oct. 28, 2017, 6:24 p.m. OK PyPy 3 TESTS 138 264 8806400 2000
57101484 vjudge2 C July 15, 2019, 1:56 p.m. OK PyPy 3 TESTS 138 264 10956800 2000
56543865 dvyn01 C July 5, 2019, 6:43 a.m. OK PyPy 3 TESTS 138 265 9318400 2000
57114335 vjudge2 C July 15, 2019, 7:06 p.m. OK PyPy 3 TESTS 138 280 10854400 2000
62044311 vjudge2 C Oct. 7, 2019, 7:01 a.m. OK PyPy 3 TESTS 138 295 9318400 2000
26819681 TokuchiToa C May 3, 2017, 1:31 p.m. OK Python 2 TESTS 138 78 14131200 2000
26726200 tjake C April 28, 2017, 3:53 p.m. OK Python 2 TESTS 138 109 13619200 2000
26875171 franckmy C May 5, 2017, 7:28 a.m. OK Python 2 TESTS 138 124 7987200 2000
27054743 nguyenhuuhuan C May 12, 2017, 1:01 p.m. OK Python 2 TESTS 138 140 0 2000
27108596 atulhjp C May 14, 2017, 2:55 p.m. OK Python 2 TESTS 138 140 2355200 2000
26773316 pankajAhuja C April 30, 2017, 6:31 p.m. OK Python 2 TESTS 138 140 6963200 2000
26722107 Lewin C April 28, 2017, 3:12 p.m. OK Python 2 TESTS 138 140 12595200 2000
27580381 sragavan C June 5, 2017, 10:15 a.m. OK Python 2 TESTS 138 155 4096000 2000
26757382 pinerojuancruz1988 C April 29, 2017, 11 p.m. OK Python 2 TESTS 138 155 16691200 2000
27368921 mithi100 C May 27, 2017, 7:25 a.m. OK Python 2 TESTS 138 156 2355200 2000
26798979 orailly C May 2, 2017, 8:56 a.m. OK Python 3 TESTS 138 78 12390400 2000
26799625 orailly C May 2, 2017, 9:49 a.m. OK Python 3 TESTS 138 93 10956800 2000
27120443 jdh C May 15, 2017, 11:40 a.m. OK Python 3 TESTS 138 108 11059200 2000
26732726 emayeses C April 28, 2017, 5:58 p.m. OK Python 3 TESTS 138 109 12902400 2000
27294664 rprtr258 C May 23, 2017, 5:42 a.m. OK Python 3 TESTS 138 124 7270400 2000
27001444 bnorbert C May 10, 2017, 6:17 p.m. OK Python 3 TESTS 138 139 10956800 2000
38092920 pyrus C May 10, 2018, 1:52 p.m. OK Python 3 TESTS 138 139 17305600 2000
26734431 greg-95 C April 28, 2017, 7:49 p.m. OK Python 3 TESTS 138 140 10752000 2000
27388071 Void_Temp C May 27, 2017, 12:38 p.m. OK Python 3 TESTS 138 140 11059200 2000
59747117 nagato1208 C Aug. 30, 2019, 4 p.m. OK Python 3 TESTS 138 170 10752000 2000

remove filters

Back to search problems