QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#143915#4188. Excursion to PorvooHuangHanShengWA 1ms3572kbC++20855b2023-08-21 15:00:492023-08-21 15:00:55

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

impossible
impossible
100
1
1

result:

ok 5 lines

Test #2:

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

input:

5 7
1 200 30
2 200 31
3 200 32
4 200 33
1 5000 33
2 5000 33
3 5000 33
3
30
31
33

output:

800
5600
15200

result:

ok 3 lines

Test #3:

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

input:

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

output:

2
3
4

result:

wrong answer 3rd lines differ - expected: '3', found: '4'