結果
問題 |
No.779 Heisei
|
ユーザー |
![]() |
提出日時 | 2019-05-06 21:50:31 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 445 bytes |
コンパイル時間 | 2,508 ms |
コンパイル使用メモリ | 157,584 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-28 12:03:47 |
合計ジャッジ時間 | 2,117 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 16 WA * 7 |
ソースコード
#include<bits/stdc++.h> using namespace std; const long long INF = 1LL << 60; #define MOD 1000000007; typedef long long ll; #define writeln(n) cout<<n<<endl; typedef pair<int, int> P; typedef pair<string, int> Psi; int main() { int y,m,d; cin>>y>>m>>d; if(1989 <=y && 1 <=m ){ if(2 <=m){ writeln("Yes"); return 0; } if(m ==1 && 8<=d){ writeln("Yes"); }else { writeln("No"); } }else { writeln("No"); } }