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 |
---|---|---|---|---|---|---|
1184 | Helvetic Coding Contest 2019 online mirror (teams allowed, unrated) | FINISHED | False | 16200 | 174956087 | July 7, 2019, 7:05 a.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 635 ) | C2 | Heidi and the Turing Test (Medium) | PROGRAMMING | data structures | 2300 |
B'The Cybermen solved that first test much quicker than the Daleks. Luckily for us, the Daleks were angry (shocking!) and they destroyed some of the Cybermen. After the fighting stopped, Heidi gave them another task to waste their time on. There are n points on a plane. Given a radius r , find the maximum number of points that can be covered by an L^1 -ball with radius r . An L^1 -ball with radius r and center (x_0, y_0) in a 2D-plane is defined as the set of points (x, y) such that the Manhattan distance between (x_0, y_0) and (x, y) is at most r . Manhattan distance between (x_0, y_0) and (x, y) is defined as |x - x_0| + |y - y_0| . The first line contains two integers n, r ( 1 <= n <= 300 ,000, 1 <= r <= 10^6 ), the number of points and the radius of the ball, respectively. Each of the next n lines contains integers x_i, y_i ( -10^6 <= q x_i, y_i <= q 10^6 ), describing the coordinates of the i -th point. It is guaranteed, that all points are distinct. Print one integer -- the maximum number points that an L^1 -ball with radius r can cover. In the first example, a ball centered at (1, 0) covers the points (1, 1) , (1, -1) , (2, 0) . In the second example, a ball centered at (0, 0) covers all the points. Note that x_0 and y_0 need not be integer. '... |
helvetic-coding-contest-2019-editorial.pdf |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
56658217 | KawamotoHinata yyf0309 KiriyamaRei | C2 | July 7, 2019, 9:08 a.m. | OK | GNU C++11 | TESTS | 33 | 46 | 24576000 | 2300 | |
56649468 | cuizhuyefei MarkF zx2003 | C2 | July 7, 2019, 7:30 a.m. | OK | GNU C++11 | TESTS | 33 | 61 | 15155200 | 2300 | |
56657969 | lleo mmmod_lqs FluffyBunnyT | C2 | July 7, 2019, 9:05 a.m. | OK | GNU C++11 | TESTS | 33 | 62 | 11980800 | 2300 | |
64126635 | robin12138 | C2 | Nov. 3, 2019, 5:07 a.m. | OK | GNU C++11 | TESTS | 33 | 62 | 39628800 | 2300 | |
58480829 | luogu_bot1 | C2 | Aug. 9, 2019, 5:28 a.m. | OK | GNU C++11 | TESTS | 33 | 62 | 50483200 | 2300 | |
58479290 | sp201620 | C2 | Aug. 9, 2019, 4:37 a.m. | OK | GNU C++11 | TESTS | 33 | 62 | 50483200 | 2300 | |
56708262 | ddytxdy | C2 | July 8, 2019, 11:51 a.m. | OK | GNU C++11 | TESTS | 33 | 62 | 52940800 | 2300 | |
56660674 | 131131yhx | C2 | July 7, 2019, 9:47 a.m. | OK | GNU C++11 | TESTS | 33 | 62 | 59904000 | 2300 | |
58117329 | Mr_Leceue | C2 | Aug. 1, 2019, 9:19 a.m. | OK | GNU C++11 | TESTS | 33 | 62 | 147456000 | 2300 | |
68329881 | luogu_bot4 | C2 | Jan. 6, 2020, 6:19 p.m. | OK | GNU C++11 | TESTS | 33 | 62 | 168345600 | 2300 | |
58039603 | HouZAJ | C2 | July 30, 2019, 7:05 p.m. | OK | GNU C++14 | TESTS | 33 | 61 | 13209600 | 2300 | |
58075437 | Heltion | C2 | July 31, 2019, 12:12 p.m. | OK | GNU C++14 | TESTS | 33 | 62 | 7680000 | 2300 | |
56693958 | peace | C2 | July 8, 2019, 5:58 a.m. | OK | GNU C++14 | TESTS | 33 | 62 | 18022400 | 2300 | |
56647784 | scott_wu ksun48 ecnerwala | C2 | July 7, 2019, 7:16 a.m. | OK | GNU C++14 | TESTS | 33 | 62 | 21299200 | 2300 | |
56708418 | Kaban-5 gnomina007 nikgaevoy | C2 | July 8, 2019, 11:54 a.m. | OK | GNU C++14 | TESTS | 33 | 77 | 1536000 | 2300 | |
56653876 | shdut | C2 | July 7, 2019, 8:14 a.m. | OK | GNU C++14 | TESTS | 33 | 77 | 21401600 | 2300 | |
56658223 | krijgertje | C2 | July 7, 2019, 9:08 a.m. | OK | GNU C++14 | TESTS | 33 | 77 | 33996800 | 2300 | |
56663675 | ag_orz nope masterstroke | C2 | July 7, 2019, 10:38 a.m. | OK | GNU C++14 | TESTS | 33 | 78 | 10854400 | 2300 | |
56750407 | sajibreadd | C2 | July 9, 2019, 11:40 a.m. | OK | GNU C++14 | TESTS | 33 | 78 | 13004800 | 2300 | |
56658693 | cuom1999 OFYM farmerboy | C2 | July 7, 2019, 9:15 a.m. | OK | GNU C++14 | TESTS | 33 | 78 | 16076800 | 2300 | |
56672371 | llbra9z | C2 | July 7, 2019, 1:44 p.m. | OK | GNU C++17 | TESTS | 33 | 61 | 13209600 | 2300 | |
57800044 | INNERCIRCLE Depthfirst hojoon0205 | C2 | July 26, 2019, 12:56 p.m. | OK | GNU C++17 | TESTS | 33 | 62 | 6553600 | 2300 | |
58339564 | Yzm007 | C2 | Aug. 5, 2019, 12:44 p.m. | OK | GNU C++17 | TESTS | 33 | 62 | 31232000 | 2300 | |
58165289 | 1751074774 | C2 | Aug. 2, 2019, 8:50 a.m. | OK | GNU C++17 | TESTS | 33 | 62 | 43315200 | 2300 | |
56652538 | JOHNKRAM | C2 | July 7, 2019, 7:59 a.m. | OK | GNU C++17 | TESTS | 33 | 62 | 92467200 | 2300 | |
56657066 | nibabin 21August Rudy358 | C2 | July 7, 2019, 8:53 a.m. | OK | GNU C++17 | TESTS | 33 | 77 | 16588800 | 2300 | |
56647120 | neal | C2 | July 7, 2019, 7:10 a.m. | OK | GNU C++17 | TESTS | 33 | 77 | 24064000 | 2300 | |
56651791 | HirasawaaYui dengyixuan dogcdt | C2 | July 7, 2019, 7:51 a.m. | OK | GNU C++17 | TESTS | 33 | 77 | 29184000 | 2300 | |
56714177 | shadowatyy | C2 | July 8, 2019, 1:55 p.m. | OK | GNU C++17 | TESTS | 33 | 77 | 53145600 | 2300 | |
56689191 | halley_comet | C2 | July 8, 2019, 2:23 a.m. | OK | GNU C++17 | TESTS | 33 | 77 | 245248000 | 2300 | |
56821204 | yhchang3 Suzukaze | C2 | July 11, 2019, 12:29 a.m. | OK | Java 8 | TESTS | 33 | 233 | 93184000 | 2300 | |
56662018 | Jeel_Vaishnav Ashishgup | C2 | July 7, 2019, 10:10 a.m. | OK | Java 8 | TESTS | 33 | 249 | 0 | 2300 | |
56652707 | niyaznigmatul | C2 | July 7, 2019, 8:01 a.m. | OK | Java 8 | TESTS | 33 | 295 | 5529600 | 2300 | |
56659002 | ATSTNG Musin | C2 | July 7, 2019, 9:20 a.m. | OK | Java 8 | TESTS | 33 | 483 | 225996800 | 2300 | |
58116738 | juruoHBr | C2 | Aug. 1, 2019, 9:07 a.m. | OK | MS C++ | TESTS | 33 | 109 | 257740800 | 2300 | |
58120986 | juruoHBr | C2 | Aug. 1, 2019, 10:44 a.m. | OK | MS C++ | TESTS | 33 | 124 | 257740800 | 2300 | |
58117142 | juruoHBr | C2 | Aug. 1, 2019, 9:15 a.m. | OK | MS C++ | TESTS | 33 | 124 | 257740800 | 2300 | |
58116764 | juruoHBr | C2 | Aug. 1, 2019, 9:08 a.m. | OK | MS C++ | TESTS | 33 | 155 | 257740800 | 2300 | |
56660106 | meooow algmyr pajenegod | C2 | July 7, 2019, 9:37 a.m. | OK | PyPy 2 | TESTS | 33 | 389 | 16896000 | 2300 | |
59970418 | beginner1010 | C2 | Sept. 4, 2019, 12:30 a.m. | OK | PyPy 3 | TESTS | 33 | 685 | 106905600 | 2300 | |
58925424 | Helli.code | C2 | Aug. 16, 2019, 7:13 p.m. | OK | Python 2 | TESTS | 33 | 1793 | 17510400 | 2300 |
Back to search problems