QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#582926#1077. Goat Ropes3un_larryfuncAC ✓7ms5028kbC++173.3kb2024-09-22 17:47:122024-09-22 17:47:21

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 7ms
memory: 5028kb

input:

2
250 250
250 750
3
250 250
500 500
250 750
43
125 365
239 657
166 943
552 850
645 229
66 804
14 657
874 74
892 822
24 316
954 85
654 735
889 469
815 430
547 361
610 709
410 960
519 704
812 160
74 995
852 380
595 540
515 968
825 972
568 255
569 573
497 195
277 205
474 586
596 995
685 439
778 343
792...

output:

500.00
603.55
1963.59
1183.94
1523.39
1400.54
1896.29
1150.63
936.44
2090.95
1911.05
2234.85
1882.07
2220.37
2136.99
2703.45
1952.93
2168.05
2326.30
2077.42
2355.24
2414.20

result:

ok 22 lines