fork download
  1. program ideone;
  2. var n, s, c, d: integer;
  3. begin
  4. n = 5;
  5. s = 0;
  6. c = 0;
  7. for i:=N to 10 * N do
  8. d = N mod 3;
  9. if d = 0 then s = s + N
  10. else N = N + 1;
  11. end
  12. writeIn(s);
  13. end
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Free Pascal Compiler version 3.0.4+dfsg-22 [2019/01/24] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling prog.pas
prog.pas(4,6) Error: Illegal expression
prog.pas(4,1) Warning: Variable "n" does not seem to be initialized
prog.pas(5,6) Error: Illegal expression
prog.pas(5,1) Warning: Variable "s" does not seem to be initialized
prog.pas(6,6) Error: Illegal expression
prog.pas(6,1) Warning: Variable "c" does not seem to be initialized
prog.pas(7,8) Error: Identifier not found "i"
prog.pas(7,8) Error: Ordinal expression expected
prog.pas(7,8) Error: Illegal counter variable
prog.pas(8,15) Error: Illegal expression
prog.pas(8,4) Warning: Variable "d" does not seem to be initialized
prog.pas(10,7) Error: Illegal expression
prog.pas(10,21) Error: Illegal expression
prog.pas(12,1) Fatal: Syntax error, "." expected but "identifier WRITEIN" found
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode
stdout
Standard output is empty