fork download
  1.  
  2. var
  3. A, B, C, x, y, z : integer;
  4. begin
  5. read(A);
  6. read(B);
  7. read(C);
  8. if x<y and x<z then begin
  9. A:=x;
  10. if y<z then begin
  11. B:=y;
  12. C:=z;
  13. end;
  14. end;
  15. if x<y and x>z do begin
  16. B:=x;
  17. A:=y;
  18. C:=z;
  19. end;
  20. end;
  21. if x>y and x>z do begin
  22. C:=x;
  23. if y<z do begin
  24. B:=y;
  25. A:=z;
  26. end;
  27. end;
  28. writeln(A,B,C);
  29. end.
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
10 20 5

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(8,6) Warning: Variable "y" does not seem to be initialized
prog.pas(8,12) Warning: Variable "x" does not seem to be initialized
prog.pas(8,14) Warning: Variable "z" does not seem to be initialized
prog.pas(8,5) Error: Incompatible types: got "Boolean" expected "Int64"
prog.pas(15,5) Error: Incompatible types: got "Boolean" expected "Int64"
prog.pas(15,16) Fatal: Syntax error, "THEN" expected but "DO" found
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode
stdout
Standard output is empty