判断闰年(c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x; scanf("%d",&x); if(x%4==0 && x%100!=0…… 题解列表 2023年01月12日 0 点赞 0 评论 487 浏览 评分:0.0
3009: 判断闰年 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ bool flag; int year; …… 题解列表 2023年12月23日 0 点赞 0 评论 396 浏览 评分:0.0
题解 3009: 判断闰年 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a; cin>>a; if(a%…… 题解列表 2023年12月23日 0 点赞 0 评论 461 浏览 评分:0.0
判断闰年(宏定义,给自己找找乐子) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #define YEAR(a) a%100?(a%4?'N':'Y'):(a%400?'N&…… 题解列表 2023年10月08日 0 点赞 0 评论 534 浏览 评分:0.0
3009: 判断闰年(c语言) 摘要:解题思路:能被4整除但不能被100整除,能被400整除的年份就是闰年注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a)…… 题解列表 2023年07月04日 0 点赞 0 评论 633 浏览 评分:0.0