fork download
  1. program eukolo(input,output);
  2. var x, y : integer;
  3. Begin
  4. readln(x);
  5. readln(y);
  6. writeln((x*y) mod 10
  7. if ((x*y) div 1000 <> 0) and ((x*y) div 10000 = 0) then writeln('yes')
  8. else writeln('no')
  9. End.
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.pas: In main program:
prog.pas:7: error: syntax error before `if'
prog.pas:7: error: missing comma
prog.pas:7: error: syntax error before `then'
prog.pas:7: error: missing comma
prog.pas:8: error: syntax error before `else'
prog.pas:8: error: missing comma
prog.pas:9: error: syntax error before `End'
stdout
Standard output is empty