結果
問題 | No.779 Heisei |
ユーザー |
![]() |
提出日時 | 2019-01-11 21:38:44 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 368 bytes |
コンパイル時間 | 633 ms |
コンパイル使用メモリ | 73,072 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-06 01:49:32 |
合計ジャッジ時間 | 1,445 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
ソースコード
#include <iostream> #include <vector> #include <string> #include <algorithm> #include <cstdio> #include <cstring> #include <cmath> using namespace std; using ll = long long; int main() { int y, m, d; cin >> y >> m >> d; int t = y * 10000 + m * 100 + d; int b = 19890108 <= t && t <= 20190430; cout << (b ? "Yes" : "No") << endl; return 0; }