QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#380932#6394. Turn on the LightZhangYiDeWA 1ms3696kbC++17499b2024-04-07 15:07:562024-04-07 15:07:56

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
1
2
2

output:

? 1
? 2
? 3
! 3

result:

ok Correct position at 3

Test #2:

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

input:

10
1
2
3
2
1
1

output:

? 1
? 2
? 3
? 7
? 5
? 4
! 4

result:

ok Correct position at 4

Test #3:

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

input:

9
1
2
3
4
3
3

output:

? 1
? 2
? 3
? 6
? 8
? 7
! 7

result:

ok Correct position at 7

Test #4:

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

input:

8
1
2
3
2
3
3

output:

? 1
? 2
? 3
? 6
? 4
? 5
! 5

result:

ok Correct position at 5

Test #5:

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

input:

7
1
2
3
4
5
5

output:

? 1
? 2
? 3
? 5
? 6
? 7
! 7

result:

ok Correct position at 7

Test #6:

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

input:

6
1
2
3
2
2

output:

? 1
? 2
? 3
? 5
? 4
! 4

result:

ok Correct position at 4

Test #7:

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

input:

5
1
2
3
3

output:

? 1
? 2
? 3
? 4
! 4

result:

ok Correct position at 4

Test #8:

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

input:

4
1
2
3
3

output:

? 1
? 2
? 3
? 4
! 4

result:

ok Correct position at 4

Test #9:

score: 0
Accepted
time: 0ms
memory: 3672kb

input:

3
1
1

output:

? 1
? 2
! 2

result:

ok Correct position at 2

Test #10:

score: 0
Accepted
time: 0ms
memory: 3612kb

input:

2
1
1

output:

? 1
? 2
! 2

result:

ok Correct position at 2

Test #11:

score: 0
Accepted
time: 0ms
memory: 3696kb

input:

1
0

output:

? 1
! 1

result:

ok Correct position at 1

Test #12:

score: -100
Wrong Answer
time: 0ms
memory: 3584kb

input:

1000000
1
2
3
2
3
2
1
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

output:

? 1
? 2
? 3
? 500002
? 250002
? 375002
? 312502
? 281252
? 265627
? 273439
? 277345
? 279298
? 280275
? 280763
? 281007
? 281129
? 281190
? 281221
? 281236
? 281244
? 281248
? 281250
? 281251

result:

wrong answer format  Unexpected end of file - token expected