結果

問題 No.779 Heisei
ユーザー 🍮かんプリン
提出日時 2019-02-10 15:43:29
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 313 bytes
コンパイル時間 1,230 ms
コンパイル使用メモリ 158,832 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-11-06 05:07:14
合計ジャッジ時間 2,003 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

#include "bits/stdc++.h"
using namespace std;
#define ll long long int

int main() {
    cin.tie(0);
    ios::sync_with_stdio(false);
    int y,m,d;
    ll a;
    cin >> y >> m >> d;
    a=(ll)y*10000+m*100+d;
    if (a>=19890108&&a<=20190430) cout << "Yes" << endl;
    else cout << "No" << endl;
    return 0;
}
0