QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#72602#4815. Flower's LandarchiveWA 3ms8508kbC++143.1kb2023-01-17 08:30:042023-01-17 08:30:07

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 7936kb

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: 0
Accepted
time: 3ms
memory: 8508kb

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 31 21 31 31 

result:

ok 7 numbers

Test #3:

score: -100
Wrong Answer
time: 2ms
memory: 7432kb

input:

1 1
20

output:

0 

result:

wrong answer 1st numbers differ - expected: '20', found: '0'