fork(1) download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. int ho,mile,speed;
  8. while(cin>>ho>>mile>>speed){
  9. if(ho*speed>mile||ho*speed==mile){
  10. cout<<ho<<" "<<mile<<" "<<speed<<". I will make it!"<<endl;
  11. }
  12. else{
  13. cout<<ho<<" "<<mile<<" "<<speed<<". I will be late!"<<endl;
  14. }
  15. }
  16. }
  17.  
Success #stdin #stdout 0s 4416KB
stdin
Standard input is empty
stdout
Standard output is empty