fork download
  1. var N, K, S:integer;
  2. begin
  3. read(N, K);
  4. while N>K do
  5. begin
  6. if(N>100)
  7. K:=K+5;
  8. else
  9. K:=K+1;
  10. if(K<20)
  11. begin
  12. N:=N-11;
  13. N:=N-3;
  14. end;
  15. else
  16. N:=N-3;
  17. end;
  18. S:=N+K;
  19. writeln(S);
  20. end.
Compilation error #stdin compilation error #stdout 0s 4240KB
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(7,15) Fatal: Syntax error, "THEN" expected but "identifier K" found
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode
stdout
Standard output is empty