QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#203310#4004. Resource CalculatorZhangYiDeAC ✓645ms3844kbC++144.0kb2023-10-06 16:44:432023-10-06 16:44:44

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3844kb

input:

2
0 1 1 1 1 0 20 4 5 6
0 20 3 3 3 1 30 6 6 6

output:

286535 0 0 0 0
1 0 6
0 0 0 0
18 42 0
9 39 0
340085 3 0 0 0
3 2 10
1 0 0 0
3 57 0
0 57 0

result:

ok 10 lines

Test #2:

score: 0
Accepted
time: 645ms
memory: 3836kb

input:

171037
0 1 9 8 6 0 1 10 10 10
0 1 4 5 8 0 2 7 7 9
0 1 6 8 8 0 3 8 8 9
0 1 8 2 2 0 4 10 5 8
0 1 6 4 5 0 5 7 7 9
0 1 9 9 6 0 6 9 10 7
0 1 6 4 6 0 7 6 5 9
0 1 10 9 10 0 8 10 10 10
0 1 7 10 2 0 9 9 10 5
0 1 6 8 1 0 10 7 8 6
0 1 4 6 8 0 11 10 6 10
0 1 1 6 9 0 12 10 6 10
0 1 5 5 9 0 13 7 8 9
0 1 3 1 2 0 1...

output:

3380000 0 0 12 3
0 0 0
0 0 0 0
0 0 64
0 0 82
795200 0 0 4 0
1 0 0
0 0 0 0
0 24 17
0 24 20
830465 0 0 4 0
3 0 0
0 0 0 0
0 0 19
0 0 22
1713305 0 0 6 1
0 1 0
0 0 0 0
0 35 31
0 33 38
1176235 0 0 6 0
2 1 0
0 0 0 0
0 24 27
0 24 30
821760 0 0 3 1
4 1 0
0 0 0 0
0 0 16
0 0 20
862390 0 0 4 0
2 2 0
0 0 0 0
0 6...

result:

ok 855185 lines