'commit'
This commit is contained in:
11
TangDou/XiTi/1028.cpp
Normal file
11
TangDou/XiTi/1028.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
int n;
|
||||
cin >> n;
|
||||
if ((n % 4 == 0 && n % 100 > 0) || n % 400 == 0) cout << "YES" << endl;
|
||||
else cout << "NO" << endl;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user