Codeforces Round 213 (Div. 1)

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
364 Codeforces Round 213 (Div. 1) FINISHED False 7500 346948199 Nov. 19, 2013, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 598 ) C Beautiful Set PROGRAMMING brute force number theory 2500

B"We'll call a set of positive integers a beautiful if the following condition fulfills: for any prime p, if , then . In other words, if one number from the set is divisible by prime p, then at least half of numbers from the set is divisible by p. Your task is to find any beautiful set, where the number of elements is equal to k and each element doesn't exceed 2k2. The first line contains integer k (10 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89k xe2 x80 x89 xe2 x89 xa4 xe2 x80 x895000) that shows how many numbers the required beautiful set should have. In the first line print k space-separated integers that are a beautiful set. If there are multiple such sets, you are allowed to print any of them."...

Tutorials

Codeforces Round #213 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
5157572 Gassa C Nov. 19, 2013, 4:19 p.m. OK D TESTS 31 15 102400 2500
5160735 Golovanov399 C Nov. 19, 2013, 4:55 p.m. OK Delphi TESTS 31 15 307200 2500
5178392 vietdoan C Nov. 20, 2013, 2:36 p.m. OK FPC TESTS 31 15 40140800 2500
10612817 lnsuyn C April 6, 2015, 1:15 p.m. OK GNU C TESTS 31 15 102400 2500
5544977 CorupTa C Dec. 28, 2013, 10:35 p.m. OK GNU C TESTS 31 15 102400 2500
5274860 mike199250 C Nov. 27, 2013, 5:01 p.m. OK GNU C TESTS 31 15 204800 2500
5197272 benbendog C Nov. 23, 2013, 10:50 a.m. OK GNU C++ TESTS 31 15 0 2500
5186632 WJMDBMR C Nov. 21, 2013, 4:55 p.m. OK GNU C++ TESTS 31 15 0 2500
5179041 xhsong C Nov. 20, 2013, 3:59 p.m. OK GNU C++ TESTS 31 15 0 2500
5170193 ufo C Nov. 20, 2013, 2:23 a.m. OK GNU C++ TESTS 31 15 0 2500
9215657 hlwt C Dec. 21, 2014, 1:06 p.m. OK GNU C++ TESTS 31 15 0 2500
20262151 maratonando3 C Aug. 29, 2016, 6:39 p.m. OK GNU C++ TESTS 31 15 0 2500
14038608 130705009 C Nov. 3, 2015, 8:03 a.m. OK GNU C++ TESTS 31 15 0 2500
11994853 sdad120 C July 10, 2015, 8:18 a.m. OK GNU C++ TESTS 31 15 0 2500
5525695 jzc C Dec. 26, 2013, 3:32 p.m. OK GNU C++ TESTS 31 15 0 2500
5244135 LiJiancheng C Nov. 26, 2013, 2:49 p.m. OK GNU C++ TESTS 31 15 0 2500
6055385 betaveros C March 17, 2014, 1:21 p.m. OK GNU C++0x TESTS 31 15 0 2500
5171159 tsfn C Nov. 20, 2013, 5:04 a.m. OK GNU C++0x TESTS 31 15 0 2500
5162500 White_Bear C Nov. 19, 2013, 5:21 p.m. OK GNU C++0x TESTS 31 15 0 2500
5157580 ifsmirnov C Nov. 19, 2013, 4:20 p.m. OK GNU C++0x TESTS 31 15 102400 2500
7937091 soda_beta C Sept. 24, 2014, 1:55 p.m. OK GNU C++0x TESTS 31 15 102400 2500
6506460 crazypursuer C April 29, 2014, 2:46 p.m. OK GNU C++0x TESTS 31 15 102400 2500
5162191 sokian C Nov. 19, 2013, 5:17 p.m. OK GNU C++0x TESTS 31 15 102400 2500
5161331 mruxim C Nov. 19, 2013, 5:04 p.m. OK GNU C++0x TESTS 31 15 102400 2500
8496119 zshi C Oct. 31, 2014, 10:30 a.m. OK GNU C++0x TESTS 31 15 204800 2500
5484527 White_Bear C Dec. 21, 2013, 1:49 a.m. OK GNU C++0x TESTS 31 15 204800 2500
18826381 mrtempo C June 30, 2016, 3:18 p.m. OK GNU C++11 TESTS 31 15 0 2500
20660687 somanynames C Sept. 16, 2016, 1:22 p.m. OK GNU C++11 TESTS 31 15 102400 2500
19585646 osamahatem C Aug. 2, 2016, 7:06 p.m. OK GNU C++11 TESTS 31 15 102400 2500
16010210 I_love_chickpea C Feb. 13, 2016, 10:20 p.m. OK GNU C++11 TESTS 31 15 102400 2500
15722538 joisino C Feb. 1, 2016, 1:34 a.m. OK GNU C++11 TESTS 31 15 102400 2500
15640229 vedaanta C Jan. 29, 2016, 6:17 a.m. OK GNU C++11 TESTS 31 15 102400 2500
15267433 matthew99 C Jan. 9, 2016, 10:05 a.m. OK GNU C++11 TESTS 31 15 102400 2500
14961559 spetsnaz C Dec. 23, 2015, 11:24 p.m. OK GNU C++11 TESTS 31 15 102400 2500
14846355 lych123 C Dec. 17, 2015, 1:24 p.m. OK GNU C++11 TESTS 31 15 102400 2500
14830644 TheGrayGhost C Dec. 16, 2015, 7:11 a.m. OK GNU C++11 TESTS 31 15 102400 2500
31938029 blue__legend C Nov. 1, 2017, 4:37 a.m. OK GNU C++14 TESTS 31 15 204800 2500
22825938 urusant C Dec. 9, 2016, 5:14 a.m. OK GNU C++14 TESTS 31 15 204800 2500
43400543 w446506278 C Sept. 25, 2018, 8:21 a.m. OK GNU C++14 TESTS 31 15 307200 2500
27780837 2360 C June 14, 2017, 8:30 p.m. OK GNU C++14 TESTS 31 15 307200 2500
36220584 I_love_Y_UME C March 12, 2018, 10:38 a.m. OK GNU C++14 TESTS 31 15 2150400 2500
36217201 iaojnh C March 12, 2018, 7:48 a.m. OK GNU C++14 TESTS 31 15 2150400 2500
36222346 fblogy C March 12, 2018, 11:46 a.m. OK GNU C++14 TESTS 31 15 3584000 2500
28873362 Navick C July 25, 2017, 10:52 a.m. OK GNU C++14 TESTS 31 15 52531200 2500
25072371 jcvb C Feb. 27, 2017, 9 a.m. OK GNU C++14 TESTS 31 15 152883200 2500
44037422 iShibly C Oct. 9, 2018, 1:26 p.m. OK GNU C++14 TESTS 31 30 102400 2500
42822283 vjudge1 C Sept. 13, 2018, 7:27 a.m. OK GNU C++17 TESTS 31 15 409600 2500
55951483 ruo C June 23, 2019, 2:50 a.m. OK GNU C++17 TESTS 31 30 102400 2500
41560993 arbitrary_A C Aug. 13, 2018, 2:13 p.m. OK GNU C++17 TESTS 31 30 204800 2500
66794173 ayk16 C Dec. 13, 2019, 4:23 p.m. OK GNU C++17 TESTS 31 31 102400 2500
52436649 Nakagawa.Kanon C April 7, 2019, 4 a.m. OK GNU C++17 TESTS 31 31 102400 2500
40351909 bash C July 14, 2018, 5:33 p.m. OK GNU C++17 TESTS 31 31 102400 2500
51618369 roll_no_1 C March 21, 2019, 1:20 p.m. OK GNU C++17 TESTS 31 31 204800 2500
65537029 pwild C Nov. 22, 2019, 2:33 p.m. OK GNU C++17 TESTS 31 31 307200 2500
59684364 tfg C Aug. 29, 2019, 11:43 p.m. OK GNU C++17 TESTS 31 31 307200 2500
69491114 kataki C Jan. 24, 2020, 10:47 p.m. OK GNU C++17 TESTS 31 31 409600 2500
28683077 fengsuiyan C July 19, 2017, 3:41 a.m. OK Haskell TESTS 31 31 44851200 2500
5161314 coderbd C Nov. 19, 2013, 5:04 p.m. OK Java 6 TESTS 31 156 1433600 2500
5198013 imrusty C Nov. 23, 2013, 12:52 p.m. OK Java 6 TESTS 31 156 1740800 2500
5161859 uwi C Nov. 19, 2013, 5:12 p.m. OK Java 6 TESTS 31 156 2457600 2500
5163996 llaki C Nov. 19, 2013, 6:17 p.m. OK Java 6 TESTS 31 187 1945600 2500
5157231 niyaznigmatul C Nov. 19, 2013, 4:18 p.m. OK Java 7 TESTS 31 62 102400 2500
5163504 FattyPenguin C Nov. 19, 2013, 5:33 p.m. OK Java 7 TESTS 31 62 102400 2500
5158904 AlexanderBolshakov C Nov. 19, 2013, 4:32 p.m. OK Java 7 TESTS 31 62 204800 2500
5835852 hama-du C Jan. 30, 2014, 3:21 a.m. OK Java 7 TESTS 31 77 0 2500
5159715 cerealguy C Nov. 19, 2013, 4:41 p.m. OK Java 7 TESTS 31 78 0 2500
5180873 Thomas_Ahle C Nov. 20, 2013, 9:29 p.m. OK Java 7 TESTS 31 78 204800 2500
9795346 odorf C Feb. 11, 2015, 5:58 a.m. OK Java 7 TESTS 31 124 0 2500
5157181 OgieKako C Nov. 19, 2013, 4:17 p.m. OK Java 7 TESTS 31 140 307200 2500
5159650 sweiss C Nov. 19, 2013, 4:41 p.m. OK Java 7 TESTS 31 249 50176000 2500
8548903 AkshajK C Nov. 4, 2014, 3:51 p.m. OK Java 7 TESTS 31 420 819200 2500
10143767 azukun C March 4, 2015, 10:45 a.m. OK MS C# TESTS 31 62 3481600 2500
5161841 kcm1700 C Nov. 19, 2013, 5:11 p.m. OK MS C++ TESTS 31 15 0 2500
6096646 JackyWijaya C March 21, 2014, 6:16 a.m. OK MS C++ TESTS 31 15 0 2500
5291892 zetta C Nov. 29, 2013, 7:40 a.m. OK MS C++ TESTS 31 15 0 2500
5158199 stgatilov C Nov. 19, 2013, 4:25 p.m. OK MS C++ TESTS 31 15 0 2500
5161705 RAVEman C Nov. 19, 2013, 5:09 p.m. OK MS C++ TESTS 31 15 102400 2500
5164926 alex.alex C Nov. 19, 2013, 6:52 p.m. OK MS C++ TESTS 31 15 102400 2500
5159797 DPR-pavlin C Nov. 19, 2013, 4:43 p.m. OK MS C++ TESTS 31 15 102400 2500
5164179 Aharon C Nov. 19, 2013, 6:21 p.m. OK MS C++ TESTS 31 15 204800 2500
5169561 tzzcl C Nov. 20, 2013, 12:10 a.m. OK MS C++ TESTS 31 15 512000 2500
5201805 R.Lee C Nov. 23, 2013, 9:20 p.m. OK MS C++ TESTS 31 15 921600 2500
5161693 vadym_doroshenko C Nov. 19, 2013, 5:09 p.m. OK Python 2 TESTS 31 46 512000 2500
5162009 agutowski C Nov. 19, 2013, 5:14 p.m. OK Python 2 TESTS 31 46 819200 2500
7571518 apia C Aug. 25, 2014, 8:41 a.m. OK Python 2 TESTS 31 62 819200 2500
5340424 136873448 C Dec. 3, 2013, 5:56 a.m. OK Python 2 TESTS 31 62 921600 2500
5195354 Wizmann C Nov. 23, 2013, 1:28 a.m. OK Python 2 TESTS 31 62 1024000 2500
7571527 apia C Aug. 25, 2014, 8:43 a.m. OK Python 2 TESTS 31 93 1945600 2500
35862059 ______n______ C March 2, 2018, 10:16 p.m. OK Python 2 TESTS 31 93 6348800 2500
35862030 ______u______ C March 2, 2018, 10:16 p.m. OK Python 2 TESTS 31 93 6348800 2500
35861642 _____i_____ C March 2, 2018, 10:08 p.m. OK Python 2 TESTS 31 93 6348800 2500
35861570 _____k_____ C March 2, 2018, 10:06 p.m. OK Python 2 TESTS 31 93 6348800 2500
5285491 MuiNV54 C Nov. 28, 2013, 10:01 a.m. OK Ruby TESTS 31 62 204800 2500

remove filters

Back to search problems