QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#115681#5904. Twirling Towards FreedomZhaoZiLong49 ✓4ms12372kbC++113.3kb2023-06-26 15:54:372023-06-26 15:54:39

详细

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 1ms
memory: 12296kb

input:

100
4
1
-2 4
1 -2
4 1
0 2
1
4
-5 0
2
5
-1 1
-2 2
10
8
-842 -60
148 -967
327 -600
-546 -346
-196 -267
-833 -156
334 -791
974 -382
-499 -785
519 -657
10
7
444 786
-313 649
-377 954
-872 316
505 714
678 170
40 -971
-290 -649
-824 -797
357 -653
10
9
-384 -28
267 -243
507 -628
-189 -656
373 -879
-115 -81...

output:

Case #1: 6.32455532
Case #2: 10.00000000
Case #3: 6.32455532
Case #4: 8072.66300548
Case #5: 9582.08463749
Case #6: 9520.95005764
Case #7: 3136.87870342
Case #8: 9405.61619459
Case #9: 9809.61089952
Case #10: 8356.30923315
Case #11: 8863.74751445
Case #12: 10066.97293132
Case #13: 10326.86990332
Cas...

result:

ok correct! (100 test cases)

Subtask #2:

score: 39
Accepted

Test #2:

score: 39
Accepted
time: 4ms
memory: 12372kb

input:

100
200
59153573
81 -81
-252 252
864 -864
-691 691
-599 599
-520 520
-835 835
334 -334
259 -259
-469 469
374 -374
-36 36
932 -932
-518 518
-882 882
-150 150
-392 392
29 -29
8 -8
-259 259
192 -192
-863 863
-88 88
-219 219
-118 118
485 -485
-953 953
-980 980
-14 14
433 -433
-672 672
352 -352
196 -196
...

output:

Case #1: 82359120550.75613403
Case #2: 84510626188.29992676
Case #3: 70661053401.30093384
Case #4: 109064878459.40809631
Case #5: 31887461051.94206238
Case #6: 44597031797.94293976
Case #7: 16108038453.33873558
Case #8: 88820696855.75965881
Case #9: 38768573735.96520996
Case #10: 24361421076.2992172...

result:

ok correct! (100 test cases)

Extra Test:

score: 0
Extra Test Passed