#33177: c++ ans


yp11151144@yphs.tp.edu.tw (709-35陳中仁)

學校 : 臺北市私立延平高級中學
編號 : 197065
來源 : [203.72.178.1]
最後登入時間 :
2023-06-19 14:39:34
e976. Will You Make it? -- HP CodeWars2019改編 | From: [203.72.178.1] | 發表日期 : 2022-12-08 17:14

#include <bits/stdc++.h>

using namespace std;

int main() {
    long long int h, m, s;
    while( cin >> h >> m >> s) {
        if ( h * s >= m){
            cout << h << " " << m << " " << s << ". I will make it!" << endl;  
        } else {
            cout << h << " " << m << " " << s << ". I will be late!" << endl;  
        }
    }
}

 
ZeroJudge Forum