Helvetic Coding Contest 2018 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
958 Helvetic Coding Contest 2018 online mirror (teams allowed, unrated) FINISHED False 18000 252716123 April 14, 2018, 7:05 a.m.

Problems

Solved
Index
Name
Type
Tags
Community Tag
Rating
( 51 ) A3 Death Stars (hard) PROGRAMMING 3100

The stardate is 2015, and Death Stars are bigger than ever! This time, two rebel spies have yet again given Heidi two maps with the possible locations of the Death Stars. Heidi has now received two maps with possible locations of N Death Stars. She knows that each of the maps is possibly corrupted, and may contain some stars that are not Death Stars. Furthermore, each of the maps was created from a different point of view. Hence, stars that are shown in one of the maps are rotated and translated with respect to the other map. Now Heidi wants to find out which of the stars shown in both maps are actually Death Stars, and the correspondence between the Death Stars on the two maps. The first line of the input contains an integer N ( 1000 ≤ N ≤ 50000 ) – the number of Death Stars. The second line of the input contains an integer N 1 ( N ≤ N 1 ≤ 1.5· N ) – the number of stars in the first map. The next N 1 lines specify the coordinates of the stars in the first map. The i -th line contains two space-separated floating-point numbers x i and y i with two decimal digits of precision each, representing the coordinates of the i -th star in the first map. The next line of the input contains an integer N 2 ( N ≤ N 2 ≤ 1.5· N ) – the number of stars in the second map. The next N 2 lines contain locations of the stars in the second map, given in the same format as for the first map. You should output exactly N lines, each containing a space-separated pair of integers i 1 and i 2 . Each such line should indicate that the star numbered i 1 in the first map corresponds to the star numbered i 2 in the second map. Your answer will be considered correct if over 90% of the distinct pairs listed in your output are indeed correct. The tests are generated in the following way: The number of Death Stars N is pre-selected in some way. The numbers of stars on the first and on the second map, N 1 and N 2 , are selected uniformly at random between 1.0 × N and 1.5 × N . N Death Stars a

Tutorials

helvetic-coding-contest-2018-editorial.pdf

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
37394826 krijgertje A3 April 17, 2018, 12:20 p.m. OK GNU C++11 TESTS 80 920 19865600 3100
37366122 tqyaaaaaaaang A3 April 16, 2018, 6:38 a.m. OK GNU C++11 TESTS 80 1123 33996800 3100
37324912 King_George ohweonfire FizzyDavid A3 April 14, 2018, 11:35 a.m. OK GNU C++11 TESTS 80 1778 14745600 3100
57870110 lopare A3 July 28, 2019, 1 a.m. OK GNU C++11 TESTS 80 2698 10035200 3100
37350367 zhouyuyang A3 April 15, 2018, 10:13 a.m. OK GNU C++11 TESTS 80 3774 13516800 3100
37331098 Ghaffargang A3 April 14, 2018, 2:52 p.m. OK GNU C++14 TESTS 80 655 20582400 3100
37321315 AbstractKangaroo MiFaFaOvO A3 April 14, 2018, 9:50 a.m. OK GNU C++14 TESTS 80 655 20582400 3100
40932575 ReaLNero1 A3 July 30, 2018, 1:54 a.m. OK GNU C++14 TESTS 80 670 17203200 3100
37549253 giorgi A3 April 23, 2018, 11:29 a.m. OK GNU C++14 TESTS 80 685 20582400 3100
37989768 kut_kjb1994 A3 May 7, 2018, 9:30 a.m. OK GNU C++14 TESTS 80 764 19763200 3100
37567852 black_horse2014 A3 April 24, 2018, 9:23 a.m. OK GNU C++14 TESTS 80 764 19968000 3100
37389281 kut_kjb1994 A3 April 17, 2018, 7:34 a.m. OK GNU C++14 TESTS 80 780 19763200 3100
37323345 dotorya molamola. zigui A3 April 14, 2018, 10:35 a.m. OK GNU C++14 TESTS 80 1247 18841600 3100
41105571 jslijin A3 Aug. 2, 2018, 3:52 a.m. OK GNU C++14 TESTS 80 1840 11468800 3100
41117473 jslijin A3 Aug. 2, 2018, 9:53 a.m. OK GNU C++14 TESTS 80 2105 11571200 3100
57298720 Benq A3 July 18, 2019, 9:06 p.m. OK GNU C++17 TESTS 80 436 10240000 3100
38153367 Georgia_001 A3 May 13, 2018, 6:14 a.m. OK GNU C++17 TESTS 80 2417 13516800 3100
37353822 ilyakor A3 April 15, 2018, 1:06 p.m. OK GNU C++17 TESTS 80 6723 29900800 3100

remove filters

Back to search problems