QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#481895#6458. Programming Teamlmq26052003TL 1ms3956kbC++231.5kb2024-07-17 15:42:352024-07-17 15:42:36

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3748kb

input:

1 2
1000 1 0
1 1000 1

output:

0.001

result:

ok single line: '0.001'

Test #2:

score: 0
Accepted
time: 0ms
memory: 3956kb

input:

2 3
1 100 0
1 200 0
1 300 0

output:

250.000

result:

ok single line: '250.000'

Test #3:

score: -100
Time Limit Exceeded

input:

597 1985
9708 32 0
9970 599 1
9876 366 2
9623 44 3
9167 1395 4
9997 431 5
7825 440 6
9999 148 7
9778 2086 8
9655 2504 9
9619 34 10
8550 268 11
9978 108 12
9998 102 13
9861 7 14
9242 240 15
9044 43 16
9900 221 17
9393 692 18
9996 3470 19
8817 3617 20
9086 103 21
9563 71 22
9962 6 23
9872 5000 23
9928...

output:


result: