1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; //定义日期结构体 struct Date { int year; …… 题解列表 2023年09月24日 0 点赞 0 评论 147 浏览 评分:9.9
优质题解 1049: [编程入门]结构体之时间设计,c++ 摘要:# DOTCPP1049: **题目描述:** [DOTCPP1024:计算该日在本年中是第几天(结构体之时间设计)](http://https://www.dotcpp.com/oj/prob…… 题解列表 2023年08月15日 0 点赞 1 评论 723 浏览 评分:6.0
1049: [编程入门]结构体之时间设计 摘要:解题思路:题目主要要搞清楚什么是闰年,什么是平年,然后闰年每个月有多少天,平年每个月有多少天。注意事项:参考代码:#include <bits/stdc++.h> using namespace s…… 题解列表 2023年05月09日 0 点赞 0 评论 121 浏览 评分:0.0
编程入门]结构体之时间设计 想了好久 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;struct time{ int year; int month; int day;};int…… 题解列表 2023年04月05日 0 点赞 0 评论 145 浏览 评分:0.0
###[编程入门]结构体之时间设计-超easy版!! 摘要:###[编程入门]结构体之时间设计-超easy版!! 主要分四步: 1. 创建结构体 2. 判断年份是否为闰年 3. 记录各月份的总天数 4. 对天数累加 先看代码 #i…… 题解列表 2023年04月03日 0 点赞 0 评论 214 浏览 评分:9.9
c++解题思路 摘要:```cpp #include using namespace std; struct time { int year; int month; int day; };…… 题解列表 2023年03月07日 0 点赞 0 评论 186 浏览 评分:9.9
1049: [编程入门]结构体之时间设计 摘要:```cpp #include using namespace std; struct Date { int year,mouth,day; }; int IsLeapY…… 题解列表 2023年02月24日 0 点赞 1 评论 1183 浏览 评分: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 评论 180 浏览 评分:9.9
结构体之时间设计 摘要: #include #include #include #include using namespace std; struct demo …… 题解列表 2022年10月12日 0 点赞 0 评论 148 浏览 评分:0.0
1049-结构体之时间设计 摘要:解题思路:注意事项:参考代码:/*天数问题:1、3、5、7、8、10、12月:31天4、6、9、11月:30天2月:非闰年有28天,闰年有29天 闰年特点:1) 4的倍数,不是100的倍数2) 400…… 题解列表 2022年10月06日 0 点赞 0 评论 165 浏览 评分:0.0