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 1001. Reverse Root

no more inputs? HOW??
Posted by pister 22 Apr 2008 09:19
When I try to use

while(cin>>input)

 it can't work...

someone tell me how ?
Re: no more inputs? HOW??
Posted by Chen Longyi 19 Sep 2008 21:33
"cin>>input" returns a data type named "class istream" which is never zero. It's not the same as "scanf()" in C.