QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#193697#7513. Palindromic Beadsucup-team932#WA 5ms24760kbC++207.1kb2023-09-30 17:43:542023-09-30 17:43:55

詳細信息

Test #1:

score: 100
Accepted
time: 5ms
memory: 24760kb

input:

4
1 1 2 2
1 2
2 3
2 4

output:

3

result:

ok single line: '3'

Test #2:

score: 0
Accepted
time: 5ms
memory: 23888kb

input:

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

output:

4

result:

ok single line: '4'

Test #3:

score: -100
Wrong Answer
time: 5ms
memory: 24540kb

input:

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

output:

3

result:

wrong answer 1st lines differ - expected: '2', found: '3'