Hello:
I am attempting at this Online Judge problem:
http://icpcres.ecs.baylor.edu/online...m&problem=1464
The mathematics calculation part is extremely easy; but I do not understand what type of input will be given to my problem; therefore I do not know how to do this problem.
Am I expecting the input to be from a flat text file? If so; then I would need to go through every line and calculate the answer; put it into an array and output the entire array at the end... I would keep doing that until the EOF character right? How do I look for the EOF character?
Sorry for the beginner questions; but I am really confused by what this problem really wants... Any input would be greatly appreciated!