fork download
  1. program modeq (input,output);
  2. var M, N, Q ,i ,j, k: integer;
  3. begin
  4. readln(M, N, Q);
  5. i:= M mod 42;
  6. j:= N mod 42;
  7. k:= Q mod 42;
  8. if (i=j) and (j=k) then writeln(i)
  9. else writeln('no');
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.pas: In main program:
prog.pas:10: error: syntax error at end of input
stdout
Standard output is empty