Search found 1 match

by liangshiyu
Sun Feb 28, 2016 8:31 am
Forum: Volume 2 (200-299)
Topic: 202 - Repeating Decimals
Replies: 82
Views: 25405

Give WA rather than PE for C++11, too

Eric: Your WA is in fact a runtime error caused by extra empty lines at the end of the input. The statement Readln (Nu, De); tries to read the values, but there are no more left to read.

I added a line to your code and got accepted:
[pascal]Begin
While not eof Do
Begin
if eoln then begin ...

Go to advanced search