QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#514157#5519. Count Hamiltonian CyclesZhangYiDeWA 33ms8044kbC++201.2kb2024-08-10 22:24:472024-08-10 22:24:48

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3600kb

input:

3
2
WWBB
3
WBWBWB
7
WWWWBWBBWWBBBB

output:

1
2
62208

result:

ok 3 number(s): "1 2 62208"

Test #2:

score: -100
Wrong Answer
time: 33ms
memory: 8044kb

input:

1
1000000
BWBWBBBWWWBWBBBWBBWWWBWBBWWBWBWWWBBBBWBBWWBWBBBWBBBWWBWWBBBBWWWWBWBBWWBBWWWWBBBBWWBWWWWBBBWWBWBWWWBWWBWWBWWBWWBWWWWBWBWWWWWWBWWBWWBWBWBWBWWWBWBBBWBBBWWWBBBWBBBWBBWBWWBBBWWBWBWWWBBBBWBBBWWWBWBBBWBBWWBWBWWBBBWWWWBBWBBBWBBBBBBWBWBWBBBWBBBBBWBBBWWBWBWWBBWWWWBBBBBBBBBWBWWBBBWBWWBBBWBBBBWWBWWBWW...

output:

242142033

result:

wrong answer 1st numbers differ - expected: '3254448', found: '242142033'