/in/foo.cc:2:18: error: too many decimal points in number
a,b,f:array[-1000..1001] of longint;
^~~~~~~~~~
/in/foo.cc:1:1: error: 'var' does not name a type
var t,m,i,j:longint;
^~~
/in/foo.cc:2:5: error: 'a' does not name a type
a,b,f:array[-1000..1001] of longint;
^
/in/foo.cc:3:2: error: 'begin' does not name a type
begin
^~~~~
/in/foo.cc:5:2: error: expected unqualified-id before 'for'
for i:=1 to m do
^~~
/in/foo.cc:7:2: error: expected unqualified-id before 'for'
for i:=1 to m do
^~~
/in/foo.cc:10:9: error: expected constructor, destructor, or type conversion before '(' token
writeln(f[t]);
^
/in/foo.cc:11:2: error: 'end' does not name a type
end.
^~~