QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#700254#9537. Chinese Chessucup-team4125#RE 3ms13852kbC++204.7kb2024-11-02 12:31:222024-11-02 12:31:23

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 9720kb

input:

1
9 0
8

output:

1
? 1 8
! S

result:

ok number is guessed.

Test #2:

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

input:

4
2 1
2 3
2 5
2 7
5
2

output:

2
? 0 0
? 5 4
! M

result:

ok number is guessed.

Test #3:

score: 0
Accepted
time: 2ms
memory: 9784kb

input:

1
2 4
-1
1

output:

2
? 0 0
? 0 2
! X

result:

ok number is guessed.

Test #4:

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

input:

1
5 0
6

output:

1
? 3 6
! S

result:

ok number is guessed.

Test #5:

score: 0
Accepted
time: 3ms
memory: 9720kb

input:

1
6 0
6

output:

1
? 0 2
! S

result:

ok number is guessed.

Test #6:

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

input:

2
7 7
1 0
-1
6

output:

2
? 0 0
? 7 2
! S

result:

ok number is guessed.

Test #7:

score: 0
Accepted
time: 3ms
memory: 9720kb

input:

5
8 6
1 3
0 5
2 4
0 2
6
3

output:

2
? 0 0
? 8 1
! M

result:

ok number is guessed.

Test #8:

score: 0
Accepted
time: 3ms
memory: 10020kb

input:

6
0 7
1 6
2 8
0 5
7 6
8 2
-1
14

output:

2
? 0 0
? 8 1
! B

result:

ok number is guessed.

Test #9:

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

input:

7
6 5
3 0
3 2
4 1
4 0
2 4
5 2
5
4

output:

2
? 0 0
? 8 7
! M

result:

ok number is guessed.

Test #10:

score: 0
Accepted
time: 2ms
memory: 9780kb

input:

8
3 3
2 5
6 2
7 4
1 4
3 0
2 4
3 4
7
-1

output:

2
? 0 1
? 7 7
! S

result:

ok number is guessed.

Test #11:

score: -100
Runtime Error

input:

9
2 7
2 4
2 5
2 2
2 1
2 0
2 6
2 3
2 8

output:


result: