QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#147563#510. Car Vetleovl48#RE 1ms3500kbC++174.4kb2023-08-23 13:46:092023-08-25 01:39:50

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4 4
8 8 -1 9
4 10 10 9
4 3 3 -2
16 16 2 2
3 3

output:

8 4 3 

result:

ok single line: '8 4 3 '

Test #2:

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

input:

4 4
8 8 -2 9
4 10 10 9
4 3 3 -1
16 16 2 2
3 3

output:

impossible

result:

ok single line: 'impossible'

Test #3:

score: -100
Runtime Error

input:

1 3
-1 1 1
1 3

output:


result: