QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#138714#6506. Chase Game 3HuangHanShengWA 1ms3676kbC++20511b2023-08-12 08:54:302023-08-12 08:54:34

詳細信息

Test #1:

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

input:

5
2
1 2
3
2 3 1
4
1 4 3 2
5
1 5 2 3 4
6
1 2 3 4 5 6

output:

Yes
Yes
No
No
Yes

result:

ok 5 token(s): yes count is 3, no count is 2

Test #2:

score: -100
Wrong Answer
time: 1ms
memory: 3596kb

input:

8
2
1 2
2
2 1
3
1 2 3
3
3 1 2
3
2 1 3
3
2 3 1
3
3 2 1
3
1 3 2

output:

Yes
Yes
Yes
No
Yes
Yes
No
Yes

result:

wrong answer expected YES, found NO [4th token]