QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#804299#9869. Horizon Scanningucup-team5559#RE 0ms4276kbC++172.6kb2024-12-07 21:33:262024-12-07 21:33:27

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 4276kb

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.283185307180
1.570796326795
5.497787143782
3.141592654592
3.141592653590

result:

ok 5 numbers

Test #2:

score: -100
Runtime Error

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.692991497486
2.574863436066
4.652758267254
2.772633107384
5.742765806909
4.857698991020
3.419892312595
2.812799962085
6.283185307180
6.283185307180
5.117280766670
6.146782702779
3.842089023538
2.342496716819
3.463343207986
6.283185307180
5.961434752783
3.324703470852
5.262774928061
5.672459342790
...

result: