fork download
  1. program prova;
  2. var V, W, cod:int64;
  3. S: ansistring;
  4. begin
  5. S:='12345';
  6. val(S,V,cod);
  7. val('12375',W,cod);
  8. if abs(W-V) mod 2 =0 then writeln(abs(W-V))
  9. else writeln('ciao');
  10. end.
Success #stdin #stdout 0s 5316KB
stdin
Standard input is empty
stdout
30