結果

問題 No.779 Heisei
ユーザー RyumaRyama
提出日時 2020-06-20 16:06:15
言語 C++17(clang)
(17.0.6 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 315 bytes
コンパイル時間 784 ms
コンパイル使用メモリ 128,992 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-30 18:41:19
合計ジャッジ時間 1,493 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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