把最后一行复制到倒数第二行就可以了?!
2025-04-15 20:57:13
发布于:广东
2阅读
0回复
0点赞
#include<iostream>
using namespace std;
int is_leap(int x){if(x%40&&x%100!=0||x%4000) return true;else return 0;}int main() {int n;cin >> n;if(is_leap(n)) cout << "Y" << endl;else cout << "N" << endl;return 0;}
这里空空如也
有帮助,赞一个