|  | 
|  | 
| вернуться в форум | Help, Please! I can't understand why WA! (+) I have WA on test #2. Why? Here it is my code:
 [It is was code here]
 
 My mistake was a stupied missprint ;)
 
 Edited by author 26.09.2005 14:31
Re: Help, Please! I can't understand why WA! (+) I tried to submit your code... And I've got AC :)
 Your code:
 ...
 for (k = j; k < n; ++k) if (Component[k] == t)
 ...
 
 Right code:
 ...
 for (k = 0; k < n; ++k) if (Component[k] == t)
 ...
 
 So if your change only one symbol you'll also get AC :)
Re: Help, Please! I can't understand why WA! (+) Well, please delete the code:)And what a simple problem!!
Re: Help, Please! I can't understand why WA! (+) Thank you!Can you give a test for WA2? Well... I idin't see any mistakes, but there are some, as I got WA2. So Can you give a test? | 
 | 
|