Codeforces Round 183 (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
303 Codeforces Round 183 (Div. 1) FINISHED False 7200 369248404 May 12, 2013, 1 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 897 ) C Minimum Modular PROGRAMMING brute force graphs math number theory 2700

B'You have been given n distinct integers a1, xe2 x80 x89a2, xe2 x80 x89..., xe2 x80 x89an. You can remove at most k of them. Find the minimum modular m (m xe2 x80 x89> xe2 x80 x890), so that for every pair of the remaining integers (ai, xe2 x80 x89aj), the following unequality holds: . The first line contains two integers n and k (1 xe2 x80 x89 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x895000, xe2 x80 x890 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89k xe2 x80 x89 xe2 x89 xa4 xe2 x80 x894), which we have mentioned above. The second line contains n distinct integers a1, xe2 x80 x89a2, xe2 x80 x89..., xe2 x80 x89an (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ai xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89106). Print a single positive integer -- the minimum m.'...

Tutorials

Codeforces Round #183 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
4303317 liangxi11 C Aug. 17, 2013, 12:10 p.m. OK FPC TESTS 46 186 8089600 2700
4300942 512795285 C Aug. 17, 2013, 3:22 a.m. OK FPC TESTS 46 186 12083200 2700
4300363 hed C Aug. 17, 2013, 12:25 a.m. OK FPC TESTS 46 248 5017600 2700
4300590 yubaby C Aug. 17, 2013, 1:49 a.m. OK FPC TESTS 46 248 9011200 2700
4284306 yubaby C Aug. 16, 2013, 1:35 a.m. OK FPC TESTS 46 248 9011200 2700
4300384 hed C Aug. 17, 2013, 12:37 a.m. OK FPC TESTS 46 248 18022400 2700
3733344 jtc172 C May 18, 2013, 11:43 a.m. OK FPC TESTS 46 265 5017600 2700
4302053 jessieeeee C Aug. 17, 2013, 7:54 a.m. OK FPC TESTS 46 280 5017600 2700
4327127 aaaypq C Aug. 23, 2013, 2:35 a.m. OK FPC TESTS 46 312 9011200 2700
4300866 NNNeil C Aug. 17, 2013, 3:03 a.m. OK FPC TESTS 46 312 9932800 2700
3825522 idemura C June 5, 2013, 5:02 p.m. OK GNU C TESTS 46 421 8089600 2700
4932203 I_love_tigersugar C Oct. 30, 2013, 6:36 a.m. OK GNU C++ TESTS 46 78 7987200 2700
4919428 AloneWolf C Oct. 28, 2013, 12:39 p.m. OK GNU C++ TESTS 46 78 7987200 2700
3726747 summer_vj C May 16, 2013, 10:52 a.m. OK GNU C++ TESTS 46 78 8089600 2700
3726740 summer_vj C May 16, 2013, 10:50 a.m. OK GNU C++ TESTS 46 78 8089600 2700
3714240 xscape C May 12, 2013, 8:01 p.m. OK GNU C++ TESTS 46 78 8089600 2700
3712862 dianbei C May 12, 2013, 3:55 p.m. OK GNU C++ TESTS 46 78 8089600 2700
3713235 I_love_Tanya_Romanova C May 12, 2013, 4:29 p.m. OK GNU C++ TESTS 46 78 9625600 2700
4926192 AlexandraLi C Oct. 29, 2013, 2:58 a.m. OK GNU C++ TESTS 46 78 11980800 2700
3714693 zzxchavo C May 13, 2013, 12:06 a.m. OK GNU C++ TESTS 46 78 12083200 2700
3715480 Yukine_Chris C May 13, 2013, 6:59 a.m. OK GNU C++ TESTS 46 78 40550400 2700
3713960 mruxim C May 12, 2013, 6:41 p.m. OK GNU C++0x TESTS 46 78 4096000 2700
3723694 Isaacpei C May 15, 2013, 1:36 p.m. OK GNU C++0x TESTS 46 109 8089600 2700
6201519 tsfn C April 1, 2014, 2:08 a.m. OK GNU C++0x TESTS 46 124 7987200 2700
5635493 mayukuner C Jan. 8, 2014, 2:11 a.m. OK GNU C++0x TESTS 46 156 7987200 2700
6064758 2011330300713 C March 19, 2014, 5:39 a.m. OK GNU C++0x TESTS 46 186 7987200 2700
10217640 Used_ToBe C March 9, 2015, 12:51 p.m. OK GNU C++0x TESTS 46 186 11878400 2700
3761608 n1k1tung C May 23, 2013, 3:19 p.m. OK GNU C++0x TESTS 46 187 8089600 2700
3728151 API C May 16, 2013, 6:39 p.m. OK GNU C++0x TESTS 46 218 5017600 2700
4784316 shimomire C Oct. 14, 2013, 1:55 p.m. OK GNU C++0x TESTS 46 248 4096000 2700
4228634 littlepanda C Aug. 4, 2013, 2:29 p.m. OK GNU C++0x TESTS 46 248 5017600 2700
35334774 Hope_amasser C Feb. 16, 2018, 11:12 a.m. OK GNU C++11 TESTS 46 122 6144000 2700
59269620 luogu_bot4 C Aug. 22, 2019, 12:10 p.m. OK GNU C++11 TESTS 46 124 6246400 2700
59349918 luogu_bot4 C Aug. 23, 2019, 11:22 a.m. OK GNU C++11 TESTS 46 124 8089600 2700
59349850 luogu_bot5 C Aug. 23, 2019, 11:21 a.m. OK GNU C++11 TESTS 46 124 8089600 2700
17775038 fengsuiyan C May 7, 2016, 9:05 a.m. OK GNU C++11 TESTS 46 124 10240000 2700
28591445 vjudge5 C July 16, 2017, 8:30 a.m. OK GNU C++11 TESTS 46 124 14131200 2700
35334968 Hope_amasser C Feb. 16, 2018, 11:20 a.m. OK GNU C++11 TESTS 46 154 6144000 2700
59269530 luogu_bot5 C Aug. 22, 2019, 12:09 p.m. OK GNU C++11 TESTS 46 154 6246400 2700
35980047 cen C March 6, 2018, 2:47 a.m. OK GNU C++11 TESTS 46 154 14233600 2700
12951946 nuonuo C Sept. 11, 2015, 3:43 a.m. OK GNU C++11 TESTS 46 156 5017600 2700
35155781 vjudge1 C Feb. 11, 2018, 2:33 p.m. OK GNU C++14 TESTS 46 122 10956800 2700
35335012 vjudge1 C Feb. 16, 2018, 11:21 a.m. OK GNU C++14 TESTS 46 124 5939200 2700
55942883 I_love_chickpea C June 22, 2019, 5:49 p.m. OK GNU C++14 TESTS 46 124 8089600 2700
32539218 OMG_wc C Nov. 22, 2017, 3:16 a.m. OK GNU C++14 TESTS 46 124 8089600 2700
35155755 lhclqslove C Feb. 11, 2018, 2:31 p.m. OK GNU C++14 TESTS 46 124 10956800 2700
28544002 hyesuixin C July 14, 2017, 9:17 a.m. OK GNU C++14 TESTS 46 124 13926400 2700
35191100 reminito C Feb. 13, 2018, 6:13 a.m. OK GNU C++14 TESTS 46 154 6963200 2700
35173530 leon_tip C Feb. 12, 2018, 9:17 a.m. OK GNU C++14 TESTS 46 156 7065600 2700
50710503 Beast_Within C March 3, 2019, 6:37 a.m. OK GNU C++14 TESTS 46 156 8089600 2700
28502465 ControlBear C July 13, 2017, 12:42 p.m. OK GNU C++14 TESTS 46 156 9932800 2700
56611946 AliShahali1382 C July 6, 2019, 7:44 a.m. OK GNU C++17 TESTS 46 124 8089600 2700
64646051 TwentyFour C Nov. 10, 2019, 3:01 p.m. OK GNU C++17 TESTS 46 154 12083200 2700
63644695 hjk1030 C Oct. 28, 2019, 9:16 a.m. OK GNU C++17 TESTS 46 156 12083200 2700
49476832 crathva C Feb. 4, 2019, 7:43 p.m. OK GNU C++17 TESTS 46 186 8294400 2700
41812226 w446506278 C Aug. 19, 2018, 4 a.m. OK GNU C++17 TESTS 46 186 11980800 2700
45992012 SYury C Nov. 20, 2018, 10:32 a.m. OK GNU C++17 TESTS 46 186 24371200 2700
57339592 jmazon C July 19, 2019, 5:48 p.m. OK GNU C++17 TESTS 46 218 7987200 2700
52821828 ruo C April 16, 2019, 12:18 p.m. OK GNU C++17 TESTS 46 218 11980800 2700
67467520 Soren_15 C Dec. 23, 2019, 11:37 a.m. OK GNU C++17 TESTS 46 218 12083200 2700
59982048 fire_tornado C Sept. 4, 2019, 8:50 a.m. OK GNU C++17 TESTS 46 248 5017600 2700
3722413 cojna C May 15, 2013, 5:41 a.m. OK Haskell TESTS 46 764 5324800 2700
3720144 cojna C May 14, 2013, 12:50 p.m. OK Haskell TESTS 46 1828 9625600 2700
57339960 jmazon C July 19, 2019, 5:59 p.m. OK Haskell TESTS 46 1840 19046400 2700
57340042 jmazon C July 19, 2019, 6:01 p.m. OK Haskell TESTS 46 1872 18944000 2700
57340126 jmazon C July 19, 2019, 6:04 p.m. OK Haskell TESTS 46 1964 18944000 2700
3711585 uwi C May 12, 2013, 2:51 p.m. OK Java 6 TESTS 46 953 13926400 2700
4331123 hama-du C Aug. 24, 2013, 6:09 a.m. OK Java 6 TESTS 46 1340 102400 2700
3933875 Sammarize C June 21, 2013, 9:22 p.m. OK Java 6 TESTS 46 1578 150425600 2700
4103207 gcd_fuck C July 19, 2013, 7:54 a.m. OK Java 7 TESTS 46 234 204800 2700
3726789 ccdd4211 C May 16, 2013, 11:11 a.m. OK Java 7 TESTS 46 234 307200 2700
3713439 SkyFire C May 12, 2013, 5:01 p.m. OK Java 7 TESTS 46 265 102400 2700
12118865 marcose18 C July 19, 2015, 5:19 p.m. OK Java 7 TESTS 46 280 0 2700
3714131 ns_serg C May 12, 2013, 7:26 p.m. OK Java 7 TESTS 46 281 307200 2700
12118844 marcose18 C July 19, 2015, 5:16 p.m. OK Java 7 TESTS 46 312 0 2700
3713710 dusty.and.rusty C May 12, 2013, 5:52 p.m. OK Java 7 TESTS 46 328 102400 2700
3729228 mostafa_fahim C May 17, 2013, 9 a.m. OK Java 7 TESTS 46 406 204800 2700
3753813 sayuan C May 21, 2013, 4:40 p.m. OK Java 7 TESTS 46 436 0 2700
3753826 sayuan C May 21, 2013, 4:44 p.m. OK Java 7 TESTS 46 468 0 2700
3712463 it4.kp C May 12, 2013, 3:38 p.m. OK MS C# TESTS 46 1781 33894400 2700
4620117 vjudge2 C Oct. 1, 2013, 12:39 p.m. OK MS C++ TESTS 46 124 7884800 2700
46683744 vjudge5 C Dec. 6, 2018, 1:08 p.m. OK MS C++ TESTS 46 124 11980800 2700
3711134 Lepetrandr C May 12, 2013, 2:44 p.m. OK MS C++ TESTS 46 140 7987200 2700
51127793 vjudge5 C March 10, 2019, 12:28 p.m. OK MS C++ TESTS 46 154 12083200 2700
4438596 RiKang C Sept. 10, 2013, 11:22 a.m. OK MS C++ TESTS 46 156 7884800 2700
3714894 BIT_silence C May 13, 2013, 1:58 a.m. OK MS C++ TESTS 46 156 7987200 2700
46684060 vjudge1 C Dec. 6, 2018, 1:15 p.m. OK MS C++ TESTS 46 156 12083200 2700
4831444 lzsb C Oct. 20, 2013, 5:33 a.m. OK MS C++ TESTS 46 186 7987200 2700
3719094 Silent_coder C May 14, 2013, 6:22 a.m. OK MS C++ TESTS 46 187 10444800 2700
16645033 vjudge4 C March 11, 2016, 8:29 a.m. OK MS C++ TESTS 46 218 5017600 2700

remove filters

Back to search problems