结构体之时间设计(C语言) 摘要:#include<stdio.h> typedef struct date { int year; int month; int day; }DATE; int main() {…… 题解列表 2023年01月11日 0 点赞 0 评论 402 浏览 评分:0.0
日期非结构解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, y, r; int h; int i; int sum=0; scanf("%d%d%d", &n…… 题解列表 2023年01月20日 0 点赞 0 评论 369 浏览 评分:0.0
结构体之时间设计C语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>struct date{ int year; int month; int d…… 题解列表 2023年02月02日 0 点赞 0 评论 403 浏览 评分:0.0
python求解年月日问题 摘要:解题思路:注意事项:参考代码:year,month,day=map(int,input().split())sum=daydays = [31,28,31,30,31,30,31,31,30,31,3…… 题解列表 2023年02月26日 0 点赞 0 评论 420 浏览 评分:0.0
结构体之时间设计——计算为一年的第几天 摘要:解题思路:将有31天和30天的月份分开来用列表存放,然后计算注意事项:闰年2月比平年多一天并不是为奇数的月份的天数就有31天参考代码:a,b,c = map(int,input().split())L…… 题解列表 2023年03月14日 0 点赞 0 评论 379 浏览 评分:0.0
暴力出奇迹 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ struct date { int year; int mouth; int day; }a; scanf…… 题解列表 2023年03月20日 0 点赞 0 评论 332 浏览 评分:0.0
结构体之时间设计 摘要: ```c #include int main() { int year,month,day,days=0; scanf("%d%d%d",&year,&month,&day…… 题解列表 2023年04月04日 0 点赞 0 评论 415 浏览 评分:0.0
编程入门]结构体之时间设计 想了好久 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;struct time{ int year; int month; int day;};int…… 题解列表 2023年04月05日 0 点赞 0 评论 390 浏览 评分:0.0
刷題記錄,新手勿怪 摘要:解题思路:注意事项:参考代码:#include<stdio.h>//定義結構體DATEstruct DATE{ int year; int month; int day;};int main(void…… 题解列表 2023年04月07日 0 点赞 0 评论 424 浏览 评分:0.0
1049: [编程入门]结构体之时间设计 摘要:解题思路:题目主要要搞清楚什么是闰年,什么是平年,然后闰年每个月有多少天,平年每个月有多少天。注意事项:参考代码:#include <bits/stdc++.h> using namespace s…… 题解列表 2023年05月09日 0 点赞 0 评论 508 浏览 评分:0.0