QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#803345#9869. Horizon Scanningucup-team2819#WA 84ms8416kbC++142.4kb2024-12-07 16:53:452024-12-07 16:53:47

詳細信息

Test #1:

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

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.283185307042437
1.570796326657748
5.497787143644990
3.141592654458401
3.141592653452644

result:

ok 5 numbers

Test #2:

score: -100
Wrong Answer
time: 84ms
memory: 8416kb

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.692991497399946
2.574863435934509
4.652758267177562
2.772633107252291
5.742765806778200
4.857698990935601
3.419892312493369
2.812799961985873
6.283185307042437
3.926990816850092
5.117280766575639
6.146782702720747
3.842089023435324
2.342496716745099
3.463343207929001
6.283185307042437
5.9614347526...

result:

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