結果

問題 No.779 Heisei
ユーザー zeronosu77108
提出日時 2020-06-20 16:06:02
言語 C++17(clang)
(17.0.6 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 323 bytes
コンパイル時間 775 ms
コンパイル使用メモリ 129,112 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-30 18:41:13
合計ジャッジ時間 1,615 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <utility>
#include <algorithm>

using namespace std;

int main() {
    int y,m,d;
    cin >> y >> m >> d;
    int sum = d;
    sum += 30 * m;
    sum += y * 12 * 30;

    if (716078<=sum && sum<=726990) {
        cout << "Yes" << endl;
    } else {
        cout << "No" << endl;
    }
}

/*
*/
0