結果

問題 No.1672 404 Not Found
ユーザー masakiGit
提出日時 2022-04-05 16:30:42
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 282 bytes
コンパイル時間 610 ms
コンパイル使用メモリ 65,824 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-26 19:43:29
合計ジャッジ時間 1,270 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <string>
using namespace std;
int main()
{
    string ins;
    cin >> ins;
    int ans = stoi(ins.substr(0, 1));

    if (ans == 4 || ans == 5)
    {
        cout << "Yes" << endl;
    }
    else
    {
        cout << "No" << endl;
    }
    return 0;
}
0