[编程入门]结构体之时间设计--傻瓜式写法(c语言) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> struct date{ int year; int month; int day; }; in…… 题解列表 2023年01月01日 0 点赞 0 评论 89 浏览 评分:9.9
[编程入门]结构体之时间设计(水题,超级笨蛋的方法) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>struct time{ int year,month,day;};int main(){ struct time t; int da…… 题解列表 2023年01月08日 0 点赞 0 评论 79 浏览 评分:9.9
[编程入门]结构体之时间设计 摘要:解题思路:用循环嵌套解决注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] …… 题解列表 2023年01月09日 0 点赞 0 评论 268 浏览 评分:9.9
挑战这道题最复杂的题解! 摘要:解题思路:这个题不难,但是我写的很复杂。通过调用两个函数来计算是第几天,大家略看一下就能懂。注意事项:我这种写法太浪费时间,看看就好,还是建议用两个数组代替我这两个函数。参考代码:#include<s…… 题解列表 2023年02月10日 0 点赞 0 评论 116 浏览 评分:9.9
1049: [编程入门]结构体之时间设计 摘要:```cpp #include using namespace std; struct Date { int year,mouth,day; }; int IsLeapY…… 题解列表 2023年02月24日 0 点赞 1 评论 1139 浏览 评分:9.9
c++解题思路 摘要:```cpp #include using namespace std; struct time { int year; int month; int day; };…… 题解列表 2023年03月07日 0 点赞 0 评论 157 浏览 评分:9.9
###[编程入门]结构体之时间设计-超easy版!! 摘要:###[编程入门]结构体之时间设计-超easy版!! 主要分四步: 1. 创建结构体 2. 判断年份是否为闰年 3. 记录各月份的总天数 4. 对天数累加 先看代码 #i…… 题解列表 2023年04月03日 0 点赞 0 评论 185 浏览 评分:9.9
结构体之时间设计 摘要:解题思路:注意事项:参考代码:a,b,c = map(int,input().split())#输入list1 = [31,29,31,30,31,30,31,31,30,31,30,31]#闰年每月…… 题解列表 2023年04月07日 0 点赞 0 评论 193 浏览 评分:9.9
C语言最简单的实现代码 摘要:解题思路:年份和日期先不管,通过月份输出天数,sum(总天数)=mon(月份天数)+day(日天数)+year(是否闰年)注意事项:喵喵喵喵喵~嗷呜~嗷呜嗷呜嗷嗷嗷嗷嗷嗷嗷嗷呜~喵喵~喵喵喵喵喵喵喵喵…… 题解列表 2023年08月10日 0 点赞 0 评论 121 浏览 评分:9.9
1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; //定义日期结构体 struct Date { int year; …… 题解列表 2023年09月24日 0 点赞 0 评论 113 浏览 评分:9.9