1234567891011121314151617181920 |
- #include<bits/stdc++.h>
- using namespace std;
- int main() {
- int a;
- cin >> a;
- if (a % 4 == 0 && a % 100 != 0 || a % 400 == 0)
- cout << "yes";
- else
- cout << "no";
- return 0;
- }
- /**************************************************************
- Problem: 1284
- User: acm
- Language: C++
- Result: 正确
- Time:0 ms
- Memory:2016 kb
- ****************************************************************/
|