fork download
  1. program Main;
  2. var
  3. a,b: Integer;
  4. begin
  5. read(a);
  6. b:=2;
  7. while(a>=b) do
  8. begin
  9. if(a mod b = 0) then
  10. begin
  11. write(' ',b);
  12. a:=a/b;
  13. end;
  14. b:=b+1;
  15. end;
  16. end.
  17. end.
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
81
compilation info
Free Pascal Compiler version 2.2.0 [2009/11/16] for i386
Copyright (c) 1993-2007 by Florian Klaempfl
Target OS: Linux for i386
Compiling prog.pas
prog.pas(12,5) Error: Incompatible types: got "Extended" expected "SmallInt"
prog.pas(17,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: /usr/bin/ppc386 returned an error exitcode (normal if you did not specify a source file to be compiled)
stdout
Standard output is empty