QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#479204#8719. 后继ZhaoZiLongWA 1ms5676kbC++231.4kb2024-07-15 15:56:062024-07-15 15:56:06

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5 1
1 2 3 4 5
1
5
5

output:

? 2
? 1
? 1
! 3

result:

ok 1 number(s): "3"

Test #2:

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

input:

1 1
0

output:

! 0

result:

ok 1 number(s): "0"

Test #3:

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

input:

10 10
380864879 387438357 21484978 21099484 375657510 23189485 24467021 379687119 386094773 15156199
4
6
3
7
4
6
3
-1
10
6
7
-1
-1
6
7
3
4
6
3
2
4
6
3
2
7
10
3
-1
-1
6
7
3
7
-1
6
3
7
4
3
6

output:

? 6
? 7
? 4
? 10
! 11
? 6
? 7
? 4
? 10
! 11
? 6
? 7
? 4
? 10
! 15
? 6
? 7
? 4
? 10
! 15
? 6
? 7
? 4
? 10
! 11
? 6
? 7
? 4
? 10
! 11
? 6
? 7
? 4
? 10
! 10
? 6
? 7
? 4
? 10
! 15
? 6
? 7
? 4
? 10
! 14
? 6
? 7
? 4
? 10
! 10

result:

wrong answer 1st numbers differ - expected: '271581184', found: '11'