type
TFloatList = specialize TFPGList<Double>;
var
List: TFloatList;
D: Double;
begin
List := TFloatList.Create;
while not Eof do
begin
Read(D);
List.Add(D);
end;
List.Free;
end.
list(map(int, input().split())
numbers = [int(x) for x in input().split()]
STDIN.read.split.map(&:to_i)
use std::{
io::{self, Read},
str::FromStr,
}
let mut string = String::new();
io::stdin().read_to_string(&mut string)?;
let result = string
.lines()
.map(i32::from_str)
.collect::<Result<Vec<_>, _>>();
type
TFloatList = specialize TFPGList<Double>;
var
List: TFloatList;
D: Double;
begin
List := TFloatList.Create;
while not Eof do
begin
Read(D);
List.Add(D);
end;
List.Free;
end.
let mut string = String::new();
io::stdin().read_to_string(&mut string)?;
let result = string
.lines()
.map(i32::from_str)
.collect::<Result<Vec<_>, _>>();