|
|
вернуться в форумHelp!! I have WA on 6test, but I don't no where my mistake Help!! I have WA on 6test, but I don't no where my mistake program Basn; [code deleted] Edited by moderator 06.07.2006 16:28 Re: Help!! I have WA on 6test, but I don't no where my mistake Hi!!! For input: 2 ab ba Your program outputs "0", but it must be "1"; I reccomend you to use KMP algo to solve this problem. You can find KMP algo theory at http://www.codenet.ru/progr/alg/kmp.php Good Luck!!! |
|
|