yes

黑色的羽毛  •  11个月前


include <bits/stdc++.h>

using namespace std;

int main() {

int n;
cin >> n;

if (n % 4 == 0 && n % 100 != 0) {
	cout << "yes" << endl;
	return 0;
}

if (n % 400 == 0) {
	cout << "yes" << endl;
	return 0;
} else {
	cout << "no" << endl;
}

return 0;

}


评论:

请先登录,才能进行评论