QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#420836#7660. Investigating Frog Behaviour on Lily Pad PatternsnanikaWA 1ms5244kbC++20751b2024-05-24 22:51:292024-05-24 22:51:31

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5
1 2 3 5 7
3
1
2
4

output:

4
6
8

result:

ok 3 lines

Test #2:

score: 0
Accepted
time: 1ms
memory: 5244kb

input:

5
1 2 3 5 7
4
1
1
1
1

output:

4
6
8
9

result:

ok 4 lines

Test #3:

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

input:

5
1 2 3 4 5
20
1
4
4
3
5
3
3
5
2
2
5
4
1
4
2
3
1
5
3
3

output:

6
7
8
5
9
6
8
10
4
5
11
9
3
10
6
8
4
12
9
11

result:

wrong answer 4th lines differ - expected: '4', found: '5'