Be concise.
Be useful.
All contributions dictatorially edited by webmasters to match personal tastes.
Please do not paste any copyright violating resource.
Please try to avoid dependencies to third-party libraries and frameworks.
string input = Console.ReadLine(); string[] intlist = input.Split(new char[] {',', ' '}); foreach(string item in intlist) { Console.WriteLine(Convert.ToInt32(item)); }
integer :: I,j,k ,l(3) read(*,*) I, j, k, l
read <$> getLine :: IO [Integer] -- reading space separated list of ints map read . words <$> getLine :: IO [Int]
process.stdin.on('data', processLine) function processLine (line) { const string = line + '' console.log(string) }
(read)
@x = map {chomp; $_} <>;
list(map(int, input().split())
numbers = [int(x) for x in input().split()]
STDIN.read.split.map(&:to_i)