結果
問題 |
No.779 Heisei
|
ユーザー |
![]() |
提出日時 | 2022-08-06 10:02:25 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 464 bytes |
コンパイル時間 | 584 ms |
コンパイル使用メモリ | 76,744 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-16 05:46:11 |
合計ジャッジ時間 | 1,338 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 21 WA * 2 |
ソースコード
#include <iostream> #include <vector> #include <map> #include<string> #include<algorithm> #include<math.h> #define ll long long #define P pair<int,int> #define lP pait<ll,ll> using namespace std; int main() { int l,m,n; bool f=0; cin>>l>>m>>n; if(l==1989 and m>=1 and n>=8) f=1; else if(l>1989 and l<2019) f=1; else if (l==2019 and m<=4 and n<=30) f=1; if(f) cout<<"Yes"<<endl; else cout<<"No"<<endl; return 0; }