3009: 判断闰年
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ bool flag; int year; ……
题解 3009: 判断闰年
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a; cin>>a; if(a%……
判断闰年(宏定义,给自己找找乐子)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
#define YEAR(a) a%100?(a%4?'N':'Y'):(a%400?'N&……
3009: 判断闰年(c语言)
摘要:解题思路:能被4整除但不能被100整除,能被400整除的年份就是闰年注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a)……