Test: #19, time: 30 ms., memory: 18116 KB, exit code: 0, checker exit code: 1, verdict: WRONG_ANSWER
Input BBYUVCIYLNUJPSEYCAAPQSDNSDDTNEHQZDPBEKQAWNAKEYFBNEEBGPDPRLCSVOWYDEDRPPEDOROCHRCNQUSPNVXGRXHNLKDETWQC BQCQXCAHADGJHBYIKEUWNXFUOOTVCCKJPJJCMWLAWWKSDGHFNZTCPSQNRTPCBLXDTSJLRHSCCZXQXCVLVGTROOUCUQASIQHZGNEI
RYE
Output
BBYUVCJPCASDNTPQNBDRLVROOCQSGNE
Answer
BBYUVCJPCASDNTPQNBDRLVROOCQSGNE
Checker Log
wrong answer Line [name=answer] equals to "
Why I got wrong answer. **** Can someone tell me the difference between answer and output. **** Problem 346B Lucky Common Subsequence ** 4545895**
Probably because you have an error in you program.
Should it be
if (i <= 0 || j <= 0)
?p.s. about the difference of the correct answer and your output: try to run your code on your own machine and see what your program will produce as output.
Thanks,I have found my mistake.My program will print ASCII(0),so I can not find the difference,but it does exactly exist.
http://mirror.codeforces.com/contest/346/submission/4546292
UPD Your output was a[0] (== 0) + correctanswer.
I got it,thanks.