简单易于理解的天数问题——Python 摘要:a,b,c=map(int,input().strip().split())m=[31,28,31,30,31,30,31,…… 题解列表 2025年01月16日 0 点赞 0 评论 150 浏览 评分:0.0
结构体之时间设计 摘要:解题思路:注意事项:注意7,8月份都是31天参考代码:#include <stdio.h>int pdrn(int year);struct fal{ int y…… 题解列表 2025年02月28日 0 点赞 0 评论 238 浏览 评分:0.0
1049: [编程入门]结构体之时间设计 摘要:```c#include struct Data{ int year; int month; int day;}; int main() { struct…… 题解列表 2025年03月12日 1 点赞 0 评论 471 浏览 评分:0.0
1049: [编程入门]结构体之时间设计 摘要:解题思路:1. 判断闰年:根据闰年规则(能被 4 整除但不能被 100 整除,或能被 400 整除)编写函数,确定年份是否为闰年,以调整 2 月天数。2. 设定每月天数:创建数组存储非闰年…… 题解列表 2025年04月10日 1 点赞 0 评论 234 浏览 评分:0.0