QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#700298#9537. Chinese Chessucup-team4125#WA 5ms14116kbC++204.7kb2024-11-02 12:40:172024-11-02 12:40:23

详细

Test #1:

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

input:

1
9 0
8

output:

1
? 1 8
! S

result:

ok number is guessed.

Test #2:

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

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: 0ms
memory: 13924kb

input:

1
2 4
-1
1

output:

2
? 0 0
? 0 2
! X

result:

ok number is guessed.

Test #4:

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

input:

1
5 0
6

output:

1
? 3 6
! S

result:

ok number is guessed.

Test #5:

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

input:

1
6 0
6

output:

1
? 0 2
! S

result:

ok number is guessed.

Test #6:

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

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: 2ms
memory: 14116kb

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

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: 3ms
memory: 10028kb

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: 3ms
memory: 9824kb

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
Wrong Answer
time: 5ms
memory: 9800kb

input:

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

output:

3
! 0 0

result:

wrong answer solution think m=3, while jury think m=2.