#37725: c++


aidenlin766909@gmail.com (aiden lin)

學校 : 不指定學校
編號 : 245101
來源 : [1.34.105.90]
最後登入時間 :
2024-04-27 21:34:46
e976. Will You Make it? -- HP CodeWars2019改編 | From: [1.163.158.104] | 發表日期 : 2023-10-02 21:07

#include <iostream>

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

 
ZeroJudge Forum