Helvetic Coding Contest 2019 online mirror (teams allowed, unrated)

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 169340099 July 7, 2019, 7:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 41 ) C3 Heidi and the Turing Test (Hard) PROGRAMMING 3200

B'The Cybermen have again outwitted the Daleks! Unfortunately, this time the Daleks decided to abandon these tasks altogether, which means the Doctor has to deal with them. The Doctor can handle the Daleks on his own, but Heidi now has to make sure that the Cybermen are kept busy with this next task. There are k rings on a plane. For each ring, n points are uniformly sampled with a small random noise. The task is to recover the rings given only the noisy samples. The rings and the samples are generated as follows. The center of a ring is uniformly sampled from a disk of radius 1 ,000 ,000 centered at the origin, and the radius of the ring is uniformly sampled from [250 ,000, 750 ,000] . Let R be a ring with center (x, y) and radius r . To sample a point from R , an angle theta is uniformly sampled from [0, 2 pi] and a distance d is uniformly sampled from [0.9r, 1.1r] . The coordinates of the sampled point are then (x+d cos( theta), y+d sin( theta)) rounded to the closest integers. The distance between rings is measured by their Hausdorff distance. In our case, the distance between two rings R_1, R_2 can be written as follow. Let d be the distance between the two centers and r_1, r_2 be the radii. Then the distance is dist(R_1, R_2)= max( min(d_{--}, d_{-+}), min(d_{+-}, d_{++}), min(d_{--}, d_{+-}), min(d_{-+}, d_{++})) , where d_{++}=|d+r_1+r_2| , d_{+-}=|d+r_1-r_2| , d_{-+}=|d-r_1+r_2| , d_{--}=|d-r_1-r_2| . We say that a ring R_0 is recovered if one of the rings R in the output has Hausdorff distance less than 100 ,000 from R_0 . An output is accepted if all the rings are recovered. It is guaranteed that the distances between any two rings is greater than 600 ,000 . Remember that a human can very easily solve this task, so make sure that no human traitors are helping the Cybermen complete this task. The'...

Tutorials

helvetic-coding-contest-2019-editorial.pdf

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
56653045 scott_wu ksun48 ecnerwala C3 July 7, 2019, 8:04 a.m. OK GNU C++11 TESTS 40 3666 716800 3200
57865335 lopare C3 July 27, 2019, 8:36 p.m. OK GNU C++11 TESTS 40 4086 13926400 3200
56672927 131131yhx C3 July 7, 2019, 2 p.m. OK GNU C++11 TESTS 40 4134 13926400 3200
56671980 131131yhx C3 July 7, 2019, 1:33 p.m. OK GNU C++11 TESTS 40 8798 14438400 3200
56660308 FizzyDavid 300iq TLE C3 July 7, 2019, 9:40 a.m. OK GNU C++11 TESTS 40 9843 161792000 3200
56669180 krijgertje C3 July 7, 2019, 12:18 p.m. OK GNU C++14 TESTS 40 8595 819200 3200
57768058 icecuber C3 July 25, 2019, 10:05 p.m. OK GNU C++14 TESTS 40 10327 7065600 3200
56774486 Radewoosh C3 July 10, 2019, 1:41 a.m. OK GNU C++14 TESTS 40 11200 2355200 3200
69880280 gongsuidashen C3 Jan. 31, 2020, 6:04 a.m. OK GNU C++17 TESTS 40 93 307200 3200
56723101 chemthan C3 July 8, 2019, 5:55 p.m. OK GNU C++17 TESTS 40 93 307200 3200
60431720 RNS_JKS RNS_KSB C3 Sept. 12, 2019, 9:36 a.m. OK GNU C++17 TESTS 40 218 512000 3200
56821071 Benq C3 July 11, 2019, 12:18 a.m. OK GNU C++17 TESTS 40 389 409600 3200
56723076 chemthan C3 July 8, 2019, 5:54 p.m. OK GNU C++17 TESTS 40 514 1331200 3200
56715650 Kaban-5 gnomina007 nikgaevoy C3 July 8, 2019, 2:32 p.m. OK GNU C++17 TESTS 40 655 204800 3200
56723027 chemthan C3 July 8, 2019, 5:52 p.m. OK GNU C++17 TESTS 40 4866 6553600 3200
56689206 halley_comet C3 July 8, 2019, 2:24 a.m. OK GNU C++17 TESTS 40 8969 819200 3200
56663367 Jiangkangping tEMMIE.w. Fulisike C3 July 7, 2019, 10:33 a.m. OK GNU C++17 TESTS 40 11122 1126400 3200
67053740 eightants C3 Dec. 17, 2019, 5:46 a.m. OK PyPy 2 TESTS 40 9468 10342400 3200

remove filters

Back to search problems