题目分析 当 xxx < 201920192019 或 xxx = 202220222022 时,图灵杯没有线上同步赛,即输出 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; }