QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#854482#9734. Identify ChordNoName (Ting-Feng, Lin, Ian Lin, Yu-Shiuan, Huang)#RE 1ms3708kbC++173.8kb2025-01-12 01:50:282025-01-12 01:50:37

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
6
2
2
2
2
1
1
4
1
1

output:

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

result:

ok ok (2 test cases)

Test #2:

score: -100
Runtime Error

input:

1000
15
7
7
7
6
5
2
4
4
3

output:

? 14 6
? 14 7
? 15 7
? 15 8
? 1 8
? 4 8
? 2 8
? 1 12
? 1 4

result: