結果
問題 |
No.2371 最大の試練それは起床
|
ユーザー |
|
提出日時 | 2023-10-04 10:49:28 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 410 bytes |
コンパイル時間 | 589 ms |
コンパイル使用メモリ | 63,360 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-26 14:20:36 |
合計ジャッジ時間 | 1,441 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 18 WA * 1 |
ソースコード
#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; }