結果
問題 | No.779 Heisei |
ユーザー |
![]() |
提出日時 | 2019-04-01 18:38:57 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 354 bytes |
コンパイル時間 | 2,152 ms |
コンパイル使用メモリ | 171,088 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-11-06 05:37:21 |
合計ジャッジ時間 | 2,956 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
ソースコード
#include <bits/stdc++.h> using namespace std; template <class T> T Next() { T buf; cin >> buf; return buf; } bool sub() { vector<int> v; for (int i = 0; i < 3; ++i) v.push_back(Next<int>()); vector<int> a = { 1989, 1, 8 }; vector<int> b = { 2019, 4, 30 }; return v >= a && v <= b; } int main() { cout << (sub() ? "Yes" : "No") << endl; }