QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#73629#4815. Flower's LandZhaoZiLongWA 3ms7720kbC++172.1kb2023-01-26 19:41:082023-01-26 19:41:12

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 5632kb

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: 3ms
memory: 7720kb

input:

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

output:

31 13 13 21 21 21 31 

result:

wrong answer 4th numbers differ - expected: '31', found: '21'