第几天-题解(C语言代码) 摘要:#include int main() { int s=0; int m,n,o,i; while(~scanf("%d/%d/%d",&m,&n,&o)) …… 题解列表 2020年02月13日 0 点赞 0 评论 510 浏览 评分:0.0
第几天(模拟) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain(){ …… 题解列表 2025年04月08日 0 点赞 0 评论 87 浏览 评分:0.0
判断一个日期是第几天 摘要: #include int main() { int a,b,c; int day[12]={31,28,31,30,31,30,31,3…… 题解列表 2024年03月25日 0 点赞 0 评论 281 浏览 评分:0.0
1246库函数解法(Python) 摘要:解题思路:注意事项:太晚了,先睡了,想起来了再写吧参考代码:from datetime import datetimeimport sysfor line in sys.stdin: line …… 题解列表 2022年11月11日 0 点赞 0 评论 208 浏览 评分:0.0
编写题解 1246: 第几天 摘要:解题思路:注意事项:参考代码:def isy(st): if st%100==0: if st%400==0: return 1 & 题解列表 2022年03月05日 0 点赞 0 评论 149 浏览 评分:0.0
输入年月日,输出这是今年的第几天 摘要:解题思路:1,多组数据输入,用一个while循环。2.定义一个数组,把一年每个月的天数放进去。3,再使用个while循环实现天数的累加。4,输出注意事项:定义的i=0,所以小于月份建议,不然就会多加一…… 题解列表 2021年09月12日 0 点赞 0 评论 285 浏览 评分:0.0
不是很好的方法(Python) 摘要:YMD=[0,31,28,31,30,31,30,31,31,30,31,30,31]def runnian(Y1): if Y1%100==0: return 1 else…… 题解列表 2021年04月15日 0 点赞 0 评论 231 浏览 评分:0.0
第几天(Java代码) 摘要:解题思路: 数组计数注意事项: 注意区分闰年的情况参考代码: import java.util.Scanner; /** * 2021年2月16日 下午8:32:46 * @au…… 题解列表 2021年02月16日 0 点赞 0 评论 463 浏览 评分:0.0
第几天-题解(Java代码) 摘要:2020-04-28 00:35:25 星期二 **java库函数难记 枚举方法也没有很麻烦 就干脆用枚举了** ```java import java.util.Scanner; …… 题解列表 2020年04月28日 0 点赞 0 评论 708 浏览 评分:0.0
第几天 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>struct Data{ int year; int month; int day;};int ComputerDays(struct…… 题解列表 2017年12月09日 0 点赞 0 评论 1171 浏览 评分:0.0