[编程入门]结构体之时间设计 摘要:注意事项:1、从程序的第42行开始,不需要再写12月的代码了,因为第9行循环变量i最大范围是“最大的月份-1“,即12-1=11,不会轮到12月。2、一定要注意程序的第51行要加上一个‘;’,否则会出…… 题解列表 2022年08月10日 0 点赞 0 评论 269 浏览 评分:9.9
萌新也能轻松AC之结构体之时间设计 摘要:# MarkDown编辑器基本使用说明 ```python class Today: 创建年月日结构体 def __init__(self, year, month, day): …… 题解列表 2022年09月27日 0 点赞 0 评论 315 浏览 评分:9.9
结构体之时间设计 摘要:解题思路:注意事项:参考代码:y,m,d = map(int,input().split())m1 = [1,3,5,7,8,10,12]m2 = [4,6,9,11]s = 0for i in ra…… 题解列表 2022年10月29日 0 点赞 1 评论 231 浏览 评分:9.9
C语言 结构体之时间设计& 摘要:解题思路:注意事项:参考代码:#include <stdio.h>struct calendar{ int year; int month; int day;}date, * p;…… 题解列表 2022年11月30日 0 点赞 0 评论 182 浏览 评分:9.9
1049: [编程入门]结构体之时间设计 摘要:```cpp #include int month[13]={0,31,28,31,30,31,30,31,31,30,31,30,31},i,sum=0; struct time { i…… 题解列表 2022年12月06日 0 点赞 0 评论 185 浏览 评分:9.9
[编程入门]结构体之时间设计--傻瓜式写法(c语言) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> struct date{ int year; int month; int day; }; in…… 题解列表 2023年01月01日 0 点赞 0 评论 112 浏览 评分:9.9
[编程入门]结构体之时间设计(水题,超级笨蛋的方法) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>struct time{ int year,month,day;};int main(){ struct time t; int da…… 题解列表 2023年01月08日 0 点赞 0 评论 111 浏览 评分:9.9
[编程入门]结构体之时间设计 摘要:解题思路:用循环嵌套解决注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] …… 题解列表 2023年01月09日 0 点赞 0 评论 305 浏览 评分:9.9
挑战这道题最复杂的题解! 摘要:解题思路:这个题不难,但是我写的很复杂。通过调用两个函数来计算是第几天,大家略看一下就能懂。注意事项:我这种写法太浪费时间,看看就好,还是建议用两个数组代替我这两个函数。参考代码:#include<s…… 题解列表 2023年02月10日 0 点赞 0 评论 148 浏览 评分:9.9
1049: [编程入门]结构体之时间设计 摘要:```cpp #include using namespace std; struct Date { int year,mouth,day; }; int IsLeapY…… 题解列表 2023年02月24日 0 点赞 1 评论 1187 浏览 评分:9.9