QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#802943#9869. Horizon Scanningucup-team2819#WA 64ms8388kbC++202.7kb2024-12-07 15:17:532024-12-07 15:17:55

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 6340kb

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.283185298402078
1.570796318017388
5.497787135004629
3.141592644812285
3.141592644812285

result:

ok 5 numbers

Test #2:

score: -100
Wrong Answer
time: 64ms
memory: 8388kb

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.692991489399613
2.574863424002583
4.652758259725823
2.772633095503229
5.742765799052163
4.857698980100865
3.419892305133062
2.812799951516865
6.283185298402078
3.926990808209733
5.117280755740902
6.146782693806090
3.842089011594831
2.342496705453201
3.463343195722778
6.283185298402078
5.9614347416...

result:

wrong answer 10th numbers differ - expected: '6.2831853', found: '3.9269908', error = '0.3750000'