题解 1850: 判断第几天 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c[13]={0,31,28,31,30,31,30,3…… 题解列表 2025年02月06日 0 点赞 0 评论 77 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[13]={0,31,28,31,30,31,30,31,31,30,31,30,31}; …… 题解列表 2024年11月28日 0 点赞 0 评论 187 浏览 评分:0.0
这个比1246数据要强,考虑了闰年的情况 摘要:#include<bits/stdc++.h> using namespace std; int main() { int y,m,d; char c; while…… 题解列表 2024年08月04日 0 点赞 0 评论 131 浏览 评分:0.0
判断第几天(c语言) 摘要:#include int main() { int year,mouth,day; while(scanf("%d/%d/%d",&year,&mouth,&day)!=EOF…… 题解列表 2023年12月30日 0 点赞 0 评论 268 浏览 评分:9.9
判断第几天! 摘要:#include<stdio.h>int yue1[12]={31,28,31,30,31,30,31,31,30,31,30,31}; int yue2[12]={31,29,31,30,31,30…… 题解列表 2023年11月09日 0 点赞 0 评论 502 浏览 评分:8.7
判断第几天(我也是闲,整了个switch来输出) 摘要:参考代码: ```c #include int leap(int year) { int k=year%100?(year%4?0:1):(year%400?0:1);//k为1,为…… 题解列表 2023年10月27日 0 点赞 0 评论 117 浏览 评分:0.0
判断第几天C++ 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;bool IsLeapYear(int year)//用来判断是否是闰年{ if (y…… 题解列表 2023年10月21日 0 点赞 0 评论 113 浏览 评分:0.0
1850: 判断第几天 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { string str; in…… 题解列表 2023年09月27日 0 点赞 0 评论 91 浏览 评分:0.0
判断第几天c++简单代码 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>//万能头文件using namespace std;int main(){ int y,m,d,a[12]={31,…… 题解列表 2023年08月05日 0 点赞 0 评论 188 浏览 评分:10.0
判断第几天 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int y, m, d; while (scanf("%d/%d/%d", &y, &m, &d…… 题解列表 2023年07月02日 0 点赞 0 评论 98 浏览 评分:0.0