Codeforces Round 461 (Div. 2)

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
922 Codeforces Round 461 (Div. 2) FINISHED False 7200 219156263 Feb. 7, 2018, 5:15 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 647 ) F Divisibility PROGRAMMING constructive algorithms dp greedy number theory 2500

B'Imp is really pleased that you helped him. But it you solve the last problem, his gladness would raise even more. You are to find such a set , which is a subset of {1, xe2 x80 x892, xe2 x80 x89..., xe2 x80 x89n} (the set that contains all positive integers not greater than n), that . The only line contains two integers n and k . If there is no answer, print "No". Otherwise, in the first line print "Yes", in the second -- an integer m that denotes the size of the set you have found, in the second line print m integers -- the elements of the set , in any order. If there are multiple answers, print any of them. In the second sample, the valid pairs in the output set are (1, xe2 x80 x892), (1, xe2 x80 x894), (1, xe2 x80 x895), (1, xe2 x80 x896), (2, xe2 x80 x894), (2, xe2 x80 x896). Thus, . In the third example, the valid pairs in the output set are (2, xe2 x80 x894), (4, xe2 x80 x898), (2, xe2 x80 x898). Thus, . '...

Tutorials

57605

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
35076264 ruban F Feb. 9, 2018, 2:37 a.m. OK Delphi TESTS 134 108 20582400 2500
35162009 tovValentin F Feb. 11, 2018, 7:21 p.m. OK FPC TESTS 134 545 2764800 2500
37353095 pradeepgangwar F April 15, 2018, 12:30 p.m. OK GNU C TESTS 134 78 27340800 2500
37352244 idiot_owl F April 15, 2018, 11:49 a.m. OK GNU C TESTS 134 93 10547200 2500
37355014 idiot_owl F April 15, 2018, 2:02 p.m. OK GNU C TESTS 134 93 15360000 2500
37339024 idiot_owl F April 14, 2018, 8:33 p.m. OK GNU C TESTS 134 108 10547200 2500
35124772 dito5554 F Feb. 10, 2018, 12:57 p.m. OK GNU C++ TESTS 134 78 3072000 2500
35108402 lujiaju F Feb. 10, 2018, 12:36 a.m. OK GNU C++ TESTS 134 78 3072000 2500
35226179 vjudge2 F Feb. 14, 2018, 8:34 a.m. OK GNU C++ TESTS 134 78 3788800 2500
35226143 zhenGG F Feb. 14, 2018, 8:33 a.m. OK GNU C++ TESTS 134 78 3788800 2500
35089796 hands_yhy F Feb. 9, 2018, 12:41 p.m. OK GNU C++ TESTS 134 78 4608000 2500
36411171 vjudge3 F March 19, 2018, 1:11 p.m. OK GNU C++ TESTS 134 78 5120000 2500
35051138 stefansav F Feb. 8, 2018, 8:48 a.m. OK GNU C++ TESTS 134 78 5734400 2500
35128260 zhan8855 F Feb. 10, 2018, 2:43 p.m. OK GNU C++ TESTS 134 78 6860800 2500
36943795 vjudge4 F April 4, 2018, 8:34 a.m. OK GNU C++ TESTS 134 78 7372800 2500
36394347 vjudge4 F March 18, 2018, 3:49 p.m. OK GNU C++ TESTS 134 78 9523200 2500
60905526 2005LSZ F Sept. 20, 2019, 2:13 a.m. OK GNU C++11 TESTS 134 77 3584000 2500
35566857 xyzzxy F Feb. 22, 2018, 7:31 a.m. OK GNU C++11 TESTS 134 77 11776000 2500
64637276 WarrenWN F Nov. 10, 2019, 11:58 a.m. OK GNU C++11 TESTS 134 78 1536000 2500
35674042 liujianbo F Feb. 25, 2018, 9:26 a.m. OK GNU C++11 TESTS 134 78 3276800 2500
35223165 zdw1999 F Feb. 14, 2018, 5:23 a.m. OK GNU C++11 TESTS 134 78 3276800 2500
35133691 MS_42 F Feb. 10, 2018, 6:08 p.m. OK GNU C++11 TESTS 134 78 3276800 2500
35466353 Dancing F Feb. 19, 2018, 9:32 a.m. OK GNU C++11 TESTS 134 78 3379200 2500
35385789 nn020701 F Feb. 17, 2018, 8:23 a.m. OK GNU C++11 TESTS 134 78 3584000 2500
35150517 dantrag F Feb. 11, 2018, 10:52 a.m. OK GNU C++11 TESTS 134 78 3584000 2500
36240547 DeaphetS F March 13, 2018, 6:42 a.m. OK GNU C++11 TESTS 134 78 4505600 2500
54853983 bhargav_0085 F May 30, 2019, 6:14 p.m. OK GNU C++14 TESTS 134 62 1536000 2500
35113414 sniose F Feb. 10, 2018, 6:24 a.m. OK GNU C++14 TESTS 134 62 3072000 2500
35153144 mishobaxa1234 F Feb. 11, 2018, 12:45 p.m. OK GNU C++14 TESTS 134 62 3072000 2500
35442805 antontrygubO_o F Feb. 18, 2018, 10:21 a.m. OK GNU C++14 TESTS 134 62 3379200 2500
35072065 Akatsuki_ F Feb. 8, 2018, 8:44 p.m. OK GNU C++14 TESTS 134 62 3379200 2500
35043076 gisp_zjz F Feb. 8, 2018, 3:59 a.m. OK GNU C++14 TESTS 134 62 3379200 2500
36069807 562225807 F March 8, 2018, 12:04 p.m. OK GNU C++14 TESTS 134 62 3481600 2500
36066030 abutoto F March 8, 2018, 9:33 a.m. OK GNU C++14 TESTS 134 62 3481600 2500
35045496 ThePontiacBandit F Feb. 8, 2018, 5:45 a.m. OK GNU C++14 TESTS 134 62 4300800 2500
35320663 olegts F Feb. 15, 2018, 8:34 p.m. OK GNU C++14 TESTS 134 62 4608000 2500
35453750 Georgia_001 F Feb. 18, 2018, 6:06 p.m. OK GNU C++17 TESTS 134 62 3072000 2500
52231485 vjudge5 F April 2, 2019, 12:04 p.m. OK GNU C++17 TESTS 134 62 3584000 2500
41259616 fblogy F Aug. 6, 2018, 1:27 a.m. OK GNU C++17 TESTS 134 62 3788800 2500
66004041 StarCuriosity F Nov. 29, 2019, 8:25 p.m. OK GNU C++17 TESTS 134 62 5632000 2500
39000358 Ali_Pi F June 6, 2018, 5:02 p.m. OK GNU C++17 TESTS 134 62 5632000 2500
47972640 chinmay0906 F Jan. 5, 2019, 3:46 p.m. OK GNU C++17 TESTS 134 62 8294400 2500
35537834 Cinzaderius F Feb. 21, 2018, 4:43 a.m. OK GNU C++17 TESTS 134 62 71372800 2500
68354598 ivan100sic F Jan. 7, 2020, 11:29 a.m. OK GNU C++17 TESTS 134 77 1740800 2500
65938071 UESTC_Forsaken F Nov. 29, 2019, 4 a.m. OK GNU C++17 TESTS 134 77 2969600 2500
68423438 wery0 F Jan. 9, 2020, 1 a.m. OK GNU C++17 TESTS 134 77 5734400 2500
35924767 dalt F March 4, 2018, 1:53 p.m. OK Java 8 TESTS 134 171 25497600 2500
41090042 aman28rwt F Aug. 1, 2018, 4:07 p.m. OK Java 8 TESTS 134 202 0 2500
38063323 Darth_Jar_Jar_Binks F May 9, 2018, 6:56 a.m. OK Java 8 TESTS 134 280 20889600 2500
35116450 Asgar F Feb. 10, 2018, 8:15 a.m. OK Java 8 TESTS 134 296 34713600 2500
36450201 donli F March 21, 2018, 9:46 a.m. OK Java 8 TESTS 134 795 23347200 2500
35077830 ito2307 F Feb. 9, 2018, 4:38 a.m. OK Java 8 TESTS 134 951 104038400 2500
38063116 Darth_Jar_Jar_Binks F May 9, 2018, 6:46 a.m. OK Java 8 TESTS 134 967 20787200 2500
37912754 og.kostya F May 5, 2018, 6:22 p.m. OK Mono C# TESTS 134 93 17203200 2500
35276343 Ivan_Bondarev F Feb. 14, 2018, 8:55 p.m. OK MS C++ TESTS 134 218 15769600 2500
35100179 hAtchiko F Feb. 9, 2018, 5:19 p.m. OK MS C++ TESTS 134 483 36864000 2500
35290877 naiev F Feb. 15, 2018, 11:32 a.m. OK PyPy 2 TESTS 134 904 51200000 2500

remove filters

Back to search problems