QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#479183#8719. 后继GuanYunchangWA 1ms5632kbC++231.5kb2024-07-15 15:44:352024-07-15 15:44:39

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 5632kb

input:

1 1
0

output:

! 0

result:

ok 1 number(s): "0"

Test #3:

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

input:

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

output:

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

result:

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