#27534: CPP


qgd20040229@gmail.com (时年)

學校 : 不指定學校
編號 : 170559
來源 : [27.105.55.178]
最後登入時間 :
2021-10-10 23:00:28
e976. Will You Make it? -- HP CodeWars2019改編 | From: [27.105.55.178] | 發表日期 : 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