QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#515182#4880. Network TransferHuangHanShengTL 2ms14264kbC++203.3kb2024-08-11 15:47:242024-08-11 15:47:25

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 9920kb

input:

2 10
0 100 2
4 200 1

output:

13.000000000000
30.000000000000

result:

ok 2 numbers

Test #2:

score: 0
Accepted
time: 2ms
memory: 10108kb

input:

2 10
30 200 1
10 100 2

output:

50.000000000000
20.000000000000

result:

ok 2 numbers

Test #3:

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

input:

1 10000000
0 1 42

output:

0.000000100000

result:

ok found '0.0000001', expected '0.0000001', error '0.0000000'

Test #4:

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

input:

1 10000000
42 1 42

output:

42.000000100000

result:

ok found '42.0000001', expected '42.0000001', error '0.0000000'

Test #5:

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

input:

1 10000000
42 10000000 42

output:

43.000000000000

result:

ok found '43.0000000', expected '43.0000000', error '0.0000000'

Test #6:

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

input:

1 10000000
10000000 1 1

output:

10000000.000000100000

result:

ok found '10000000.0000001', expected '10000000.0000001', error '0.0000000'

Test #7:

score: 0
Accepted
time: 2ms
memory: 14264kb

input:

1 10000000
1 1 100

output:

1.000000100000

result:

ok found '1.0000001', expected '1.0000001', error '0.0000000'

Test #8:

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

input:

1 1
10000000 10000000 100

output:

20000000.000000000000

result:

ok found '20000000.0000000', expected '20000000.0000000', error '0.0000000'

Test #9:

score: -100
Time Limit Exceeded

input:

200000 1
10000000 10000000 1
10000000 10000000 1
10000000 10000000 1
10000000 10000000 1
10000000 10000000 1
10000000 10000000 1
10000000 10000000 1
10000000 10000000 1
10000000 10000000 1
10000000 10000000 1
10000000 10000000 1
10000000 10000000 1
10000000 10000000 1
10000000 10000000 1
10000000 10...

output:


result: