QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#545258#5923. Cheatersxiaowuc117 ✓5ms4064kbC++174.0kb2024-09-03 05:52:062024-09-03 05:52:06

详细

Subtask #1:

score: 7
Accepted

Test #1:

score: 7
Accepted
time: 5ms
memory: 3832kb

input:

100
100 1
10
34 3
5 6 7
34 4
1 1 10 10
36 37
389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 1000 999
1000 1
1000
1000 2
1000 999
1 1
1
35 4
1000 1000 1 1
27 35
100 100 100 100 100 100 100 100 100 100 100 100...

output:

Case #1: 0.000000000000000000000000000000000000000
Case #2: 2.000000000000000000000000000000000000000
Case #3: 0.942857142857143060155067360028624534607
Case #4: 1.000000000000000000000000000000000000000
Case #5: 0.000000000000000000000000000000000000000
Case #6: 28.000000000000000000000000000000000...

result:

ok correct! (100 test cases)

Subtask #2:

score: 10
Accepted

Test #2:

score: 10
Accepted
time: 5ms
memory: 4064kb

input:

100
100 1
10
34 3
5 6 7
34 4
1 1 10 10
36 37
389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 389 1000000000000 999999999999
1000000000000 1
1000000000000
1000000000000 2
1000000000000 999999999999
1 1
1
35 4
1000...

output:

Case #1: 0.000000000000000000000000000000000000000
Case #2: 2.000000000000000000000000000000000000000
Case #3: 0.942857142857143060155067360028624534607
Case #4: 1.000000000000000000000000000000000000000
Case #5: 0.000000000000000000000000000000000000000
Case #6: 28571428571.000000000000000000000000...

result:

ok correct! (100 test cases)

Extra Test:

score: 0
Extra Test Passed