結果

問題 No.779 Heisei
ユーザー newlife171128
提出日時 2019-05-06 22:11:45
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 432 bytes
コンパイル時間 1,824 ms
コンパイル使用メモリ 161,888 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-11-06 05:45:32
合計ジャッジ時間 2,169 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

#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;

vector<int> low ={1989,1,8};
vector<int> high = {2019,4,30};
vector<int> now(3);
int main() {

	cin>>now[0]>>now[1]>>now[2];
	
	if(low <=now && now <= high){
		writeln("Yes");
	}else {
		writeln("No");
	}
	
}


0