跳到正文

题解

题解:P11461 Good Luck & Have Fun

Kael_thas约 1 分钟
原文
文章信息与版本

文章信息

发布
2024年12月23日
收录
2025年12月12日
更新
2026年11月15日
篇幅
约 1 分钟
题目
P11461

版本

  1. v1当前

题目分析

当 xx < 20192019 或 xx = 20222022 时,图灵杯没有线上同步赛,即输出 No,否则输出 Yes。

代码

C++
#include<bits/stdc++.h>
using namespace std;
int x;
int main(){
	cin>>x;
	if(x<2019||x==2022)cout<<"No";
	else cout<<"Yes";
	return 0;
}
原文