QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#802272#9869. Horizon Scanningucup-team4217#WA 23ms5968kbC++14879b2024-12-07 13:14:112024-12-07 13:14:11

详细

Test #1:

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

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.2831853
1.5707963
5.4977871
3.1415927
3.1415927

result:

ok 5 numbers

Test #2:

score: -100
Wrong Answer
time: 23ms
memory: 5968kb

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.6929915
2.5748634
4.6527583
2.7726331
5.7427658
4.8576990
3.4198923
2.8128000
6.2831853
6.2831853
5.1172808
6.1467827
3.8420890
2.3424967
3.4633432
6.2831853
5.9614348
3.3247035
5.2627749
5.6724593
1.6738779
1.1141909
2.4087776
6.2831853
5.3558901
3.7998606
4.1932429
4.0513458
4.5342960
4.3612351
...

result:

wrong answer 42nd numbers differ - expected: '6.2831853', found: '6.2599337', error = '0.0037006'