結果
問題 |
No.779 Heisei
|
ユーザー |
|
提出日時 | 2020-04-10 13:08:22 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 1,000 ms |
コード長 | 402 bytes |
コンパイル時間 | 751 ms |
コンパイル使用メモリ | 69,188 KB |
最終ジャッジ日時 | 2025-01-09 15:39:23 |
ジャッジサーバーID (参考情報) |
judge5 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
ソースコード
#include <iostream> #include <tuple> void solve() { int y, m, d; std::cin >> y >> m >> d; auto l = std::make_tuple(1989, 1, 8), t = std::make_tuple(y, m, d), r = std::make_tuple(2019, 4, 30); std::cout << (l <= t && t <= r ? "Yes" : "No") << std::endl; } int main() { std::cin.tie(nullptr); std::ios::sync_with_stdio(false); solve(); return 0; }