QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#391066#5803. Watering PlantsShaoJia5 1ms3880kbC++174.0kb2024-04-16 13:01:422024-04-16 13:01:42

詳細信息

Subtask #1:

score: 5
Accepted

Test #1:

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

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: 6.999999999091
Case #2: 7.999999998863
Case #3: 60.000000000000
Case #4: 76.000000000000
Case #5: 38.000000000000
Case #6: 145.109050315255
Case #7: 76.695167418930
Case #8: 163.974671105832
Case #9: 310.011467642647
Case #10: 159.131323914607

result:

ok correct! (10 test cases)

Subtask #2:

score: 0
Runtime Error

Test #2:

score: 0
Runtime Error

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: