QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#820335#5060. Circleucup-team4645AC ✓129ms4652kbC++236.7kb2024-12-18 21:03:002024-12-18 21:03:00

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
4 1
0 0
1 0
1 1
0 1
4 1
0 0
1 1
0 2
-1 1
4 100
0 0
1 0
1 1
0 1

output:

0.31514674363
0.00000000000
31016.92820257085

result:

ok 3 numbers

Test #2:

score: 0
Accepted
time: 129ms
memory: 3960kb

input:

200000
1 2
616 2935
1 3
1708 -4771
1 4
4133 2145
1 5
3093 -8563
1 6
-6703 -7258
1 7
-8847 -6629
1 8
-9278 -3604
1 9
3958 -8464
1 10
-7019 4795
1 11
-4181 4366
1 12
-8801 -3294
1 13
-8106 -4512
1 14
-7044 1933
1 15
-5546 -9705
1 16
2755 -6889
1 17
5578 -2779
1 18
3724 -6647
1 19
6530 4628
1 20
-9775 ...

output:

12.56637061436
28.27433388231
50.26548245744
78.53981633974
113.09733552923
153.93804002590
201.06192982975
254.46900494077
314.15926535898
380.13271108436
452.38934211693
530.92915845668
615.75216010360
706.85834705770
804.24771931899
907.92027688745
1017.87601976309
1134.11494794592
1256.637061435...

result:

ok 200000 numbers

Test #3:

score: 0
Accepted
time: 97ms
memory: 4260kb

input:

49788
1 1
1 1
2 2
-1 -2
2 0
3 7
-1 -2
3 -1
-1 0
3 11
1 -3
4 -2
4 3
4 4
-3 4
-2 1
5 0
3 3
5 3
-6 1
-5 -5
4 -6
5 -2
2 0
6 13
-6 -2
5 -4
6 -4
7 3
5 5
-3 1
7 13
-8 -2
-2 -7
3 -8
8 -8
7 -4
3 -1
-8 4
6 22
-8 -1
-7 -8
-6 -9
7 -8
6 0
1 7
5 29
-9 0
-3 -10
3 -8
5 6
-3 9
1 1
0 1
2 3
0 -1
1 2
3 5
-1 1
1 -1
2 3
...

output:

3.14159265359
0.46016017623
87.10797262683
225.81473905841
0.00000000000
0.00000000000
150.18011865987
65.33002240209
589.96177232135
1331.37588798961
3.14159265359
10.21989511799
31.94387252571
19.97066139549
0.00000000000
8.49287319819
200.61022524967
631.16263104256
667.62077778701
1.95240925652
...

result:

ok 49788 numbers

Test #4:

score: 0
Accepted
time: 72ms
memory: 4652kb

input:

236
832 25032
-9981 -8425
-9980 -8477
-9979 -8527
-9975 -8619
-9968 -8777
-9956 -8917
-9948 -8993
-9932 -9112
-9910 -9242
-9907 -9258
-9898 -9298
-9887 -9337
-9857 -9438
-9851 -9457
-9819 -9545
-9812 -9559
-9774 -9627
-9745 -9678
-9729 -9699
-9702 -9734
-9671 -9754
-9637 -9772
-9544 -9819
-9534 -982...

output:

615624843.494829058647
30461288.420541513711
78003971.506611555815
0.000000000000
0.000000000000
0.000000000000
581638137.641828060150
0.000000000000
0.000000000000
0.000000000000
0.000000000000
0.000000000000
0.000000000000
0.000000000000
0.000000000000
1149751721.906604051590
0.000000000000
0.0000...

result:

ok 236 numbers

Test #5:

score: 0
Accepted
time: 0ms
memory: 4224kb

input:

7
3 6
0 0
11 0
5 8
3 59
0 0
110 0
50 80
6 13
-6 -2
5 -4
6 -4
7 3
5 5
-3 1
3 3
-2 1
-1 0
2 -2
4 1393
985 985
-985 985
-985 -985
985 -985
4 1394
985 985
-985 985
-985 -985
985 -985
4 577
408 408
-408 408
-408 -408
408 -408

output:

0.05806563113
0.00780647668
150.18011865987
2.25077780634
0.00000000000
3.99617407782
0.00000300371

result:

ok 7 numbers

Test #6:

score: 0
Accepted
time: 74ms
memory: 4616kb

input:

200
1000 30000
-10000 0
-9999 -141
-9997 -244
-9996 -282
-9995 -316
-9994 -346
-9990 -447
-9988 -489
-9984 -565
-9981 -616
-9980 -632
-9970 -774
-9961 -882
-9956 -937
-9947 -1028
-9934 -1147
-9930 -1181
-9927 -1206
-9919 -1270
-9915 -1301
-9905 -1375
-9890 -1479
-9887 -1499
-9881 -1538
-9875 -1576
-...

output:

1256643268.817813634872
1256643702.367907762527
1256643982.810973644257
1256643330.024507761002
1256643365.447364330292
1256643686.126556634903
1256644312.997549772263
1256643422.835821151733
1256644318.002866029739
1256643996.124739170074
1256643388.574271202087
1256643490.278919696808
1256642824.3...

result:

ok 200 numbers