python天数计算——挑战最简解 摘要:python就不讲什么结构体了,咱没有这玩意参考代码:year, month, day = map(int, input().split()) days1 = [31, 28, 31, 30, 31…… 题解列表 2023年08月19日 0 点赞 0 评论 142 浏览 评分:0.0
优质题解 1049: [编程入门]结构体之时间设计,c++ 摘要:# DOTCPP1049: **题目描述:** [DOTCPP1024:计算该日在本年中是第几天(结构体之时间设计)](http://https://www.dotcpp.com/oj/prob…… 题解列表 2023年08月15日 0 点赞 1 评论 686 浏览 评分:6.0
C语言最简单的实现代码 摘要:解题思路:年份和日期先不管,通过月份输出天数,sum(总天数)=mon(月份天数)+day(日天数)+year(是否闰年)注意事项:喵喵喵喵喵~嗷呜~嗷呜嗷呜嗷嗷嗷嗷嗷嗷嗷嗷呜~喵喵~喵喵喵喵喵喵喵喵…… 题解列表 2023年08月10日 0 点赞 0 评论 121 浏览 评分:9.9
优质题解 崭新出厂,好摩易懂,可小刀 摘要:解题思路:1、定义结构体,并定义结构体变量 2、闰年:普通闰年:公历年份是4的倍数,且不是100的倍数的,为闰年(如2004年、2020年等就是闰年)。世纪闰年:公历年份是…… 题解列表 2023年06月10日 0 点赞 8 评论 2239 浏览 评分:9.8
结构体之时间设计(非结构体) 摘要:解题思路:初学者 结构体 不熟练 不知道哪里该用结构体 就想了一个不用结构体的注意事项:参考代码:#include<stdio.h>struct name { int year; int month;…… 题解列表 2023年05月19日 0 点赞 0 评论 124 浏览 评分:0.0
1049: [编程入门]结构体之时间设计 摘要:解题思路:题目主要要搞清楚什么是闰年,什么是平年,然后闰年每个月有多少天,平年每个月有多少天。注意事项:参考代码:#include <bits/stdc++.h> using namespace s…… 题解列表 2023年05月09日 0 点赞 0 评论 94 浏览 评分:0.0
结构体之时间设计 摘要:解题思路:注意事项:参考代码: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
刷題記錄,新手勿怪 摘要:解题思路:注意事项:参考代码:#include<stdio.h>//定義結構體DATEstruct DATE{ int year; int month; int day;};int main(void…… 题解列表 2023年04月07日 0 点赞 0 评论 124 浏览 评分:0.0
编程入门]结构体之时间设计 想了好久 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;struct time{ int year; int month; int day;};int…… 题解列表 2023年04月05日 0 点赞 0 评论 114 浏览 评分:0.0
结构体之时间设计 摘要: ```c #include int main() { int year,month,day,days=0; scanf("%d%d%d",&year,&month,&day…… 题解列表 2023年04月04日 0 点赞 0 评论 127 浏览 评分:0.0