ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1410. Crack

WA on 12 too. I can't find why. Please HELP!
Posted by Strebkov_VI_SSAU 4 Nov 2005 12:50
I surrender. What can be wrong with this code?

[code deleted]

Sorry for posting code. Please help!

Edited by author 05.11.2005 20:58

Edited by moderator 22.02.2006 22:12
Re: WA on 12 too. I can't find why. Please HELP!
Posted by Vedernikoff Sergey 4 Nov 2005 15:40
try this:
abc ab ac def

The answer is:
6

Other test (my program failed it):
   2
     3
  4

The answer is:
0

One  more test:
a b c de f g hi

The answer is:
5
Re: WA on 12 too. I can't find why. Please HELP!
Posted by Strebkov_VI_SSAU 5 Nov 2005 21:06
Thank you for tests. My program outputs '6' in the last one and right answers in others. I fixed it, but it still WA #12 :-((( I can't understand what test can it be.
Re: WA on 12 too. I can't find why. Please HELP!
Posted by Rebrow 10 Dec 2005 17:46
Up :) Please help
Re: WA on 12 too. I can't find why. Please HELP!
Posted by zhl 3 Mar 2009 10:37
What does the problem mean.How to know the answer?
Vedernikoff Sergey wrote 4 November 2005 15:40
try this:
abc ab ac def

The answer is:
6

Other test (my program failed it):
   2
     3
  4

The answer is:
0

One  more test:
a b c de f g hi

The answer is:
5