fork download
  1. l:=1;
  2. r:=n;
  3. while l+1<r do
  4. begin
  5. c:=(l+r) div 2;
  6. if ok(c) then l:=c
  7. else r:=c;
  8. end;
  9.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.pas(1,2) Fatal: Syntax error, "BEGIN" expected but "identifier L" found
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