QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#72119#4815. Flower's Land00WA 4ms8616kbC++142.7kb2023-01-14 08:29:072023-01-14 08:29:09

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 4ms
memory: 8616kb

input:

5 3
6 10 4 3 4
3 4
4 2
2 5
5 1

output:

20 20 17 17 20

result:

ok 5 number(s): "20 20 17 17 20"

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 8412kb

input:

7 4
1 3 2 1 7 12 17
4 6
1 4
5 1
2 5
7 6
3 2

output:

31 23 13 37 37 37 37

result:

wrong answer 2nd numbers differ - expected: '13', found: '23'