fork download
  1. program ideone;
  2. var a,b,c,ds,v,m : integer;
  3. var totalLimit, totalCur : integer;
  4. begin
  5. a:=30;
  6. b:=15;
  7. c:=15;
  8. ds:=30;
  9. v:=15;
  10. m:=15;
  11.  
  12. totalLimit := a*1440 + b*60 + c;
  13. totalCur := ds*1440 + v*60 + m;
  14.  
  15. if totalLimit-totalCur >= 0 then
  16. writeLn('TAIP')
  17. else
  18. writeLn('NE');
  19.  
  20. end.
Success #stdin #stdout 0s 276KB
stdin
Standard input is empty
stdout
TAIP