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 1027. D++ Again

Help with Test data #8
Posted by __Emiapwil__ 6 Apr 2012 22:12
Hey, everybody! I'd like to ask for a test data of this problem similar to test #8. I've read through the discussions and passed all the test data given in earlier topics but still got stuck at #8. Any help will be appreciated!!


Edited by author 07.04.2012 14:05
Re: Help with Test data #8
Posted by __Emiapwil__ 7 Apr 2012 14:04
I've figured out the problem!

It seems that I'm not familiar with the 'feof' function's action. In fact earlier discussions mentioned it but since the vim editor appends a newline in the end of my test input file I was unable to notice this.

May this be of any help for those who meet the same problem.