fork download
  1. program p1;
  2. var j,i,min:integer;
  3. array [30..-50] of integer;
  4. begin
  5.  
  6. min:=51;
  7. j:=0;
  8. for i:=1 to 25 do
  9. if (a[i]>40)and (a[i]< min) then
  10. min:=a[i];
  11. j:=i;
  12.  
  13. writeln(j);
  14. end.
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
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,2) Fatal: Syntax error, "BEGIN" expected but "ARRAY" found
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode
stdout
Standard output is empty