Surprise Language Round 5

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
153 Surprise Language Round 5 FINISHED False 7200 401900399 Feb. 22, 2012, 3 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 80 ) E Euclidean Distance PROGRAMMING *special 2200

B'You are given a multiset of points on the plane with integer coordinates. Find the maximum distance between two points from this multiset. The first line of input contains the number of points n (2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8950). Next, n pairs of lines follow, each describing a single point: the first line contains x-coordinate, the second one -- the y-coordinate ( xe2 x80 x89- xe2 x80 x8950 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89x, xe2 x80 x89y xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8950). Some of the points can have identical coordinates. Output the maximum distance between two points from this multiset. The answer is considered to be correct if its absolute or relative error does not exceed 10 xe2 x80 x89- xe2 x80 x894. In the first case the maximum distance is between points (0, xe2 x80 x891) and (4, xe2 x80 x895). In the second case two of the points are the same, so the maximum distance is between one of them and the third point.'...

Tutorials

Surprise Language Round #5: разбор задач

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
3669403 Omelianenko E May 4, 2013, 1:51 p.m. OK Cobol TESTS 30 15 0 2200
3233520 Chen_ChaoRui E March 3, 2013, 8:33 a.m. OK Cobol TESTS 30 15 0 2200
45751400 yongwhan E Nov. 15, 2018, 1:31 a.m. OK Cobol TESTS 30 30 0 2200
11091718 I_love_Hoang_Yen E May 13, 2015, 5:43 p.m. OK Cobol TESTS 30 30 0 2200
5288831 Lazzaro E Nov. 28, 2013, 5:44 p.m. OK Cobol TESTS 30 30 0 2200
1374083 ignored E March 17, 2012, 9:23 p.m. OK Cobol TESTS 30 30 1331200 2200
1374073 ignore E March 17, 2012, 9:15 p.m. OK Cobol TESTS 30 30 1331200 2200
1361506 yermak0v E March 16, 2012, 3:11 p.m. OK Cobol TESTS 30 30 1331200 2200
1359646 yermak0v Omelianenko Stratonov T0RRES E March 15, 2012, 6:30 p.m. OK Cobol TESTS 30 30 1331200 2200
1241096 ZhouYuChen E Feb. 28, 2012, 11:43 a.m. OK Cobol TESTS 30 30 1331200 2200

remove filters

Back to search problems