結果
| 問題 | No.779 Heisei |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-09-29 20:22:36 |
| 言語 | C++14 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 1,000 ms |
| + 252µs | |
| コード長 | 419 bytes |
| 記録 | |
| コンパイル時間 | 422 ms |
| コンパイル使用メモリ | 103,344 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-09-09 10:09:26 |
| 合計ジャッジ時間 | 2,281 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 |
ソースコード
#include<iostream>
#include<algorithm>
#include<cmath>
#include<iomanip>
#include<vector>
#include<map>
#include<queue>
using namespace std;
typedef long long ll;
const int MOD=1e9+7;
int main() {
int y,m,d;
cin >> y >> m >> d;
if(y>=1990&&y<=2018) {
cout << "Yes" << endl;
}
else if((y==1989&&(m>=2||d>=8))||(y==2019&&m<=4)) {
cout << "Yes" << endl;
}
else {
cout << "No" << endl;
}
}