题解 3009: 判断闰年

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

判断闰年(c语言)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){     int x;     scanf("%d",&x);     if(x%4==0 && x%100!=0……

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%……

3009: 判断闰年(c语言)

摘要:解题思路:能被4整除但不能被100整除,能被400整除的年份就是闰年注意事项:参考代码:#include<stdio.h>int main(){    int a;    scanf("%d",&a)……