#27534: CPP


qgd20040229@gmail.com (时年)

School : No School
ID : 170559
IP address : [27.105.55.178]
Last Login :
2021-10-10 23:00:28
e976. Will You Make it? -- HP CodeWars2019改編 | From: [27.105.55.178] | Post Date : 2021-10-10 23:42

#include <iostream>

using namespace std;

 

int main(){

  int H, M, S;

  while (cin >> H >> M >> S){

    cout << H <<" "<< M <<" "<< S;

    if (H*S>=M)

    cout <<". I will make it!"<<endl;

    else

    cout <<". I will be late!"<<endl;

  }

}

 
ZeroJudge Forum