var N, I, kol:integer;
begin
mas: array [1..10000] of integer;
read (N);
kol:=0;
for I:=1 to N do begin
read (mas[i]);
end;
for I:=1 to N do begin
if mas[i]>=0 then begin
kol:= kol+1;
end;
end;
write (kol);
end.
Free Pascal Compiler version 3.0.0+dfsg-10 [2016/12/12] for x86_64
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling prog.pas
prog.pas(3,1) Error: Identifier not found "mas"
prog.pas(3,4) Fatal: Syntax error, ";" expected but ":" found
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode