QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#854472#9734. Identify Chorducup-team3648#TL 1ms3612kbC++203.7kb2025-01-12 01:44:412025-01-12 01:44:41

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
6
2
2
1
1
1
4
1
1
1
1

output:

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

result:

ok ok (2 test cases)

Test #2:

score: -100
Time Limit Exceeded

input:

1000
15
5
6
4
1
1
2
1
19
5
6
4
4
3
4
5
5

output:

? 1 8
? 15 8
? 2 8
? 5 8
? 7 8
? 6 8
! 5 8
? 1 10
? 19 10
? 2 10
? 6 10
? 3 10
? 4 10
? 3 8
? 3 17

result: