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 1330. Intervals

Why WA on test1??????
Posted by Romow Peter 15 Mar 2007 00:06


Edited by author 15.03.2007 16:30
Re: Why WA on test1??????
Posted by Metallllllll 15 Mar 2007 00:21
Just change cout << s[j] - s[i-1]; to cout << s[j] - s[i-1] << endl; and get AC!!!

Edited by author 15.03.2007 00:21
Re: Why WA on test1??????
Posted by Romow Peter 15 Mar 2007 16:31
Thank you!!! I'v got AC!