QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#810990#9869. Horizon Scanningucup-team5027#WA 33ms10208kbC++202.3kb2024-12-12 14:19:382024-12-12 14:19:38

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 10044kb

input:

5
1 1
0 1
8 2
1 0
1 1
0 1
-1 1
-1 0
-1 -1
0 -1
1 -1
4 2
-1 1
0 1
0 2
1 1
4 2
-1000000000 0
-998244353 1
998244353 1
1000000000 0
3 1
0 1
0 2
0 -1

output:

6.283185307179586
1.570796326794897
5.497787143782138
3.141592654577610
3.141592653589793

result:

ok 5 numbers

Test #2:

score: -100
Wrong Answer
time: 33ms
memory: 10208kb

input:

10000
16 1
-10 -6
-5 -6
-4 9
-2 5
-2 10
1 -7
1 -5
1 6
3 1
4 -9
6 -10
6 -3
6 1
8 -5
8 -4
9 -4
17 4
-9 2
-8 -4
-8 -3
-8 -1
-6 -2
-6 -1
-6 8
-5 -8
-5 10
-4 8
-2 -8
4 -9
4 0
5 -3
8 -5
9 -2
10 10
10 6
-7 2
-4 6
-2 -7
-2 -1
-1 7
1 -9
1 8
3 -4
7 -4
9 -2
14 3
-9 10
-8 -10
-8 -8
-6 -7
-6 -5
-1 -7
-1 -2
0 -1
...

output:

1.692991497486252
2.574863436066287
4.652758267253520
2.772633107383937
5.742765806909002
4.857698991020392
3.419892312594904
2.812799962084839
6.283185307179586
6.283185307179586
5.117280766669773
6.146782702778639
3.842089023537519
2.342496716819479
3.463343207986435
6.283185307179586
5.9614347527...

result:

wrong answer 87th numbers differ - expected: '1.8847345', found: '6.2831853', error = '2.3337243'