QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#909906#9869. Horizon ScanningByteByeBugs (Libang Chen, Jiajun Liu, Zexuan Qian)#WA 24ms4224kbC++17869b2025-02-22 08:46:552025-02-22 08:46:55

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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.2831853072
1.5707963268
5.4977871438
3.1415926546
3.1415926536

result:

ok 5 numbers

Test #2:

score: -100
Wrong Answer
time: 24ms
memory: 4224kb

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:

3.0860941483
0.5404195003
2.9876479891
1.7001512797
1.1839206091
1.9154436424
3.1850435490
2.4625873449
6.2831853072
6.2831853072
3.5305495338
0.8884797719
2.7367008673
3.8502189257
2.4980915448
6.2831853072
1.8207749483
1.4089588956
3.2522498748
3.8127364890
1.8925468812
1.0844253570
1.4288992722
6...

result:

wrong answer 1st numbers differ - expected: '1.6929915', found: '3.0860941', error = '0.8228645'