Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 39796

How to scan integers until newline?

$
0
0

Is there a simpler way than taking the whole string as input and then separating all of them? Have been searching for a while and can't find a shorter way. I have T lines and they can have any number of values. These values can be negative also. Thanks.


Viewing all articles
Browse latest Browse all 39796

Latest Images

Trending Articles



Latest Images