QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#631381#5549. Game ShowHuangHanShengWA 1ms5716kbC++172.3kb2024-10-12 02:05:422024-10-12 02:05:43

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4 4
2 3 -4 3
1 2 7 -1
1 3
3 1
1 4
1 1

output:

5
-1
-1
0

result:

ok 4 lines

Test #2:

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

input:

4 3
1 2 -3 4
4 -3 2 1
1 1
2 4
3 1

output:

flawed
flawed
flawed

result:

ok 3 lines

Test #3:

score: 0
Accepted
time: 1ms
memory: 5704kb

input:

6 2
-6 8 -3 5 -9 4
9 -2 8 -4 12 -1
2 6
3 3

output:

flawed
flawed

result:

ok 2 lines

Test #4:

score: -100
Wrong Answer
time: 1ms
memory: 5716kb

input:

3 1
1 2 3
2 3 1
3 3

output:

3

result:

wrong answer 1st lines differ - expected: '0', found: '3'