QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#318489#5135. Kiosk Constructionlmq26052003WA 2ms8852kbC++202.3kb2024-01-31 11:37:142024-01-31 11:37:14

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2 3
1 2 3
6 5 4

output:

2 2

result:

ok 

Test #2:

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

input:

3 3
1 4 8
7 5 2
3 9 6

output:

impossible

result:

ok 

Test #3:

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

input:

3 3
9 3 1
4 7 2
8 6 5

output:

4 3

result:

ok 

Test #4:

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

input:

2 2
1 2
3 4

output:

1 2

result:

ok 

Test #5:

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

input:

2 2
4 3
1 2

output:

1 2

result:

ok 

Test #6:

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

input:

2 3
3 5 2
6 1 4

output:

impossible

result:

ok 

Test #7:

score: -100
Wrong Answer
time: 2ms
memory: 8676kb

input:

2 3
5 3 4
1 6 2

output:

5 2

result:

FAIL Reported distance does not equal actual distance.