結果
問題 |
No.779 Heisei
|
ユーザー |
![]() |
提出日時 | 2019-01-11 21:22:07 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 468 bytes |
コンパイル時間 | 691 ms |
コンパイル使用メモリ | 82,816 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-30 02:42:52 |
合計ジャッジ時間 | 1,318 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 17 WA * 6 |
ソースコード
#include <iostream> #include <vector> #include <map> #include <set> #include <queue> #include <string> #include <iomanip> #include <algorithm> #include <cmath> #include <stdio.h> using namespace std; #define int long long int MOD = 1000000007; signed main() { cin.tie(0); ios::sync_with_stdio(false); int Y, M, D; cin >> Y >> M >> D; string res = "No"; if (Y < 2019) { res = "Yes"; } else if (Y == 2019) { if (M <= 4)res = "Yes"; } cout << res << endl; }