QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#751676#9735. Japanese Bandsucup-team4125WA 153ms12808kbC++231.2kb2024-11-15 20:06:302024-11-15 20:06:36

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
2 3 3 3
2 3
1 1
2 3
2 2 2 1
1 1
1 1 10 2
1 2
1 3

output:

6
4
0

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 153ms
memory: 12808kb

input:

500
481199252 336470888 8 58
4 7
7 6
4 7
2 6
2 6
2 7
8 3
8 7
8 1
2 6
2 6
1 2
1 5
3 1
6 4
2 4
4 7
2 6
2 3
7 1
4 4
5 1
2 7
6 7
8 1
8 7
5 6
4 2
4 2
8 5
5 4
6 8
5 6
3 8
1 7
1 6
7 1
5 6
6 3
1 1
2 7
3 3
1 5
5 5
8 7
3 4
6 3
8 8
7 4
1 6
2 1
8 7
4 5
2 7
3 5
2 6
4 5
4 3
2 6 2 2
2 1
1 1
500330171 987581927 10 ...

output:

1724920560
11
67966099589
1846759483
2528107876
1
7245313663
2144990341
1
269113412
946380890
1
0
39996348737
1376698476
3453289950
5053346809
3238565821
9260837116
2956196858
0
487514263
8842710285
1008376591
16
4300260146
1933415835
808801372
1
1612901054
6137099301
1014974180
0
14531418206
1
5522...

result:

wrong answer 1st lines differ - expected: '724920553', found: '1724920560'