結果
| 問題 | No.779 Heisei | 
| コンテスト | |
| ユーザー |  sorag | 
| 提出日時 | 2022-08-06 10:09:15 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 540 bytes | 
| コンパイル時間 | 731 ms | 
| コンパイル使用メモリ | 77,020 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-09-16 05:51:14 | 
| 合計ジャッジ時間 | 1,462 ms | 
| ジャッジサーバーID (参考情報) | judge6 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 22 WA * 1 | 
ソースコード
#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){
        if (m==1 and n>=8) f=1;
        else f=1;
    }
    else if(l>1989 and l<2019) f=1;
    else if (l==2019){
        if(m<4) f=1;
        else  if(m==4 and n<=30) f=1;
    }
    
    if(f)  cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
    return 0;
}
     
            
            
            
        