結果

問題 No.779 Heisei
ユーザー SSRS
提出日時 2020-08-04 11:15:51
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 271 bytes
コンパイル時間 969 ms
コンパイル使用メモリ 69,620 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-14 09:49:52
合計ジャッジ時間 1,624 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <tuple>
using namespace std;
int main(){
	int Y, M, D;
	cin >> Y >> M >> D;
	if (make_tuple(1989, 1, 8) <= make_tuple(Y, M, D) && make_tuple(Y, M, D) <= make_tuple(2019, 4, 30)){
		cout << "Yes" << endl;
	} else {
		cout << "No" << endl;
	}
}
0