#45661: 這題不會的,小蜜蜂幫你?????????????


1121226@stu.wghs.tp.edu.tw (Arthur✨小蜜蜂)

學校 : 臺北市私立薇閣高級中學
編號 : 252772
來源 : [60.248.154.143]
最後登入時間 :
2025-04-09 15:55:05
e976. Will You Make it? -- HP CodeWars2019改編 | From: [112.104.66.104] | 發表日期 : 2025-03-28 23:32

#include<bits/stdc++.h>
using namespace std;
int main(){
    int h,m,s;
    while (cin>>h>>m>>s){
        if (h*s<m){
             cout<<h<<" "<<m<<" "<<s<<". I will be late!"<<endl;
        }
        else{
             cout<<h<<" "<<m<<" "<<s<<". I will make it!"<<endl;
        }        
    }
}
 
ZeroJudge Forum