Run ID:65715
提交时间:2024-02-03 08:51:37
#include<iostream> #include<cstdio> using namespace std; int main() { int year; cin>>year; if (((year%4==0)&&(year%100 != 0))||(year%400 == 0)){ cout<<"Yes"; } else{ cout<<"No"; } return 0; }