I need a way to read input data which can
read until end of file (int variables).
read until end of line (int variables).
example input file :
1 2 3 4
3 2 3
I need :
Put all numbers in line 1 to first array.
Put all numbers in line 2 to second array.
can use for online compiler : ideone, codeforces,...
can read from file.
and a way print output which can
- print double with two decimal numbers double i = 1.2355 ; print 1.24
- can use for online compiler
And the most important things is speed. And simple to use.
Which should i use and how to use it ?