fork download
  1. program algorytm;
  2.  
  3. var
  4. a, b : longint;
  5. begin
  6. readln(a);
  7. readln(b);
  8.  
  9. if a<b then
  10. writeln('-1')
  11. else
  12. if a=b then
  13. writeln('0')
  14. else
  15. writeln('1')
  16.  
  17. end.
Success #stdin #stdout 0s 5284KB
stdin
12
12
stdout
0