QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505425#5803. Watering Plantsxiaowuc15 1ms3928kbC++174.3kb2024-08-05 05:17:262024-08-05 05:17:26

详细

Subtask #1:

score: 5
Accepted

Test #1:

score: 5
Accepted
time: 1ms
memory: 3928kb

input:

10
3
20 10 2
20 20 2
40 10 3
3
20 10 3
30 10 3
40 10 3
1
964 880 60
2
68 982 51
698 947 76
2
495 946 38
336 41 21
3
509 182 47
86 849 73
331 148 62
3
135 5 22
860 80 51
229 43 30
3
588 110 12
890 159 10
566 654 7
3
603 989 47
76 850 28
522 287 29
3
494 969 76
807 103 32
981 315 12

output:

Case #1: 7.000000000001
Case #2: 8.000000000002
Case #3: 60.000000000000
Case #4: 76.000000000003
Case #5: 38.000000000004
Case #6: 145.109050320596
Case #7: 76.695167422548
Case #8: 163.974671106040
Case #9: 310.011467648612
Case #10: 159.131323919812

result:

ok correct! (10 test cases)

Subtask #2:

score: 0
Time Limit Exceeded

Test #2:

score: 0
Time Limit Exceeded

input:

30
5
100 100 1
140 100 1
100 130 1
100 500 1
150 500 1
8
100 100 1
110 100 1
100 110 1
110 110 1
200 200 1
210 200 1
200 210 1
210 210 1
4
100 100 1
200 100 1
200 103 1
300 103 1
40
138 129 1
110 145 1
820 565 1
813 556 1
820 535 1
824 567 1
840 565 1
840 535 1
130 145 1
829 532 1
847 556 1
812 551 ...

output:


result: