QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#144578#4188. Excursion to PorvooZhaoZiLongWA 1ms3500kbC++23887b2023-08-21 16:59:572023-08-21 17:01:21

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 3500kb

input:

2 2
1 100 300
1 1 30
5
400
500
300
20
1

output:

400 0
500 1
300 2
20 3
1 4
impossible
impossible
100
1
1

result:

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