1049: [编程入门]结构体之时间设计——题解 摘要:```c #include typedef struct{ int year,month,day; }YEAR; int main(){ YEAR a; int…… 题解列表 2024年08月03日 0 点赞 0 评论 399 浏览 评分:9.9
判断一年的第几天 摘要:参考代码:#include<stdio.h>struct date { int year; int month; int day;};int main() { struct d…… 题解列表 2024年08月31日 1 点赞 0 评论 189 浏览 评分:9.9
编写题解 1049: [编程入门]结构体之时间设计(Java代码-简单易懂) 摘要:参考代码:import java.util.Scanner; //定义一个结构体 年 月 日 class Date{ int year; int month; int date;…… 题解列表 2024年09月20日 0 点赞 0 评论 320 浏览 评分:9.9
结构体之时间设计 摘要:解题思路:注意事项:参考代码:def leap(year): if (year % 4 == 0 and year % 100 != 0) or year % 400 == 0: …… 题解列表 2023年11月24日 1 点赞 0 评论 209 浏览 评分:10.0
不用结构体我照样写!!! 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int number = 0;int i = 0;int year = 0;int month = 0;int day = 0;//这…… 题解列表 2024年05月12日 1 点赞 0 评论 207 浏览 评分:10.0
自己做的新手,欢迎指导 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct date{ int year; int month; int day;};int mod(int y,i…… 题解列表 2024年12月20日 8 点赞 0 评论 586 浏览 评分:10.0
简单易于理解的天数问题——Python 摘要:a,b,c=map(int,input().strip().split())m=[31,28,31,30,31,30,31,…… 题解列表 2025年01月16日 1 点赞 0 评论 245 浏览 评分:10.0
简单易懂的写法 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;struct year_month_day{ …… 题解列表 2025年04月10日 2 点赞 0 评论 294 浏览 评分:10.0
结构体之时间设计 摘要:解题思路:结构体注意事项:判断闰年参考代码:#include<bits/stdc++.h>using namespace std;struct year_month_day{int yea…… 题解列表 2025年06月03日 1 点赞 0 评论 256 浏览 评分:10.0