QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#75477#5461. Paddle StarLoverInTimeTL 204ms3792kbC++202.1kb2023-02-05 12:18:322023-02-05 12:18:32

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 3792kb

input:

5
2 1 20 20
3 3 0 0
20 20 90 120
20 10 50 170
100 10 1 93

output:

3.490658503988659
0.000000000000000
3367.157611906510839
1098.863278984081919
373.960489570088344

result:

ok 5 numbers

Test #2:

score: 0
Accepted
time: 204ms
memory: 3528kb

input:

100000
88 12 24 116
79 15 84 150
96 52 31 141
100 100 81 29
83 29 71 99
95 92 5 87
99 97 39 72
79 72 20 65
67 39 60 116
100 89 1 62
78 77 63 45
62 34 83 178
92 49 24 103
94 73 66 49
20 14 24 51
100 97 66 109
94 94 86 82
82 79 49 67
76 38 88 118
92 79 58 112
93 23 40 167
87 34 13 25
96 18 73 15
94 38...

output:

4526.991613202875365
13636.479265474324871
19433.170502612669736
61610.122595399833386
17006.233726987328030
15903.667036975090059
37972.639843450070263
13840.111902464634592
14968.804520318272178
9194.795925234086512
31073.492936656646224
16982.120743226403473
12675.930420194697583
36683.2429519542...

result:

ok 100000 numbers

Test #3:

score: -100
Time Limit Exceeded

input:

100000
1 1 0 0
1 1 0 1
1 1 0 2
1 1 0 3
1 1 0 4
1 1 0 5
1 1 0 6
1 1 0 7
1 1 0 8
1 1 0 9
1 1 0 10
1 1 0 11
1 1 0 12
1 1 0 13
1 1 0 14
1 1 0 15
1 1 0 16
1 1 0 17
1 1 0 18
1 1 0 19
1 1 0 20
1 1 0 21
1 1 0 22
1 1 0 23
1 1 0 24
1 1 0 25
1 1 0 26
1 1 0 27
1 1 0 28
1 1 0 29
1 1 0 30
1 1 0 31
1 1 0 32
1 1 0 ...

output:

0.000000000000000
0.017453292519943
0.034906585039887
0.052359877559830
0.069813170079773
0.087266462599716
0.104719755119660
0.122173047639603
0.139626340159546
0.157079632679490
0.174532925199433
0.191986217719376
0.209439510239320
0.226892802759263
0.244346095279206
0.261799387799149
0.2792526803...

result: