結果

問題 No.779 Heisei
ユーザー hiragn
提出日時 2020-08-23 17:03:12
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 1,000 ms
コード長 336 bytes
コンパイル時間 2,273 ms
コンパイル使用メモリ 193,776 KB
最終ジャッジ日時 2025-01-13 12:39:12
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

int main() {
    vector<int> vt(3);
    for (int i = 0; i < 3; ++i) {
        cin >> vt[i];
    }
    vector<int> low = {1989, 1, 8}, high = {2019, 4, 30};
    if (vt >= low and vt <= high) {
        cout << "Yes" << endl;
    } else {
        cout << "No" << endl;
    }
    return 0;
}
0