結果
問題 |
No.2371 最大の試練それは起床
|
ユーザー |
|
提出日時 | 2023-10-04 10:49:59 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 409 bytes |
コンパイル時間 | 523 ms |
コンパイル使用メモリ | 63,556 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-26 14:20:38 |
合計ジャッジ時間 | 1,389 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 19 |
ソースコード
#include <iostream> #include <string> using namespace std; int main(void){ //input int H,M; cin >> H >> M; //calc string str; if(H < 7){ str = "Yes"; }else if(H == 7 || H == 8){ if(H == 7){ if(M < 30){ str = "Yes"; }else{ str = "Late"; } }else if(H == 8){ if(M < 30){ str = "Late"; }else{ str = "No"; } } }else{ str = "No"; } //output cout << str << endl; }