一种超简单的方法 [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct date{ int year; int month; int day;};int main(){ str…… 题解列表 2023年01月10日 0 点赞 0 评论 114 浏览 评分:0.0
[编程入门]结构体之时间设计 摘要:解题思路:用循环嵌套解决注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] …… 题解列表 2023年01月09日 0 点赞 0 评论 268 浏览 评分: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
[编程入门]结构体之时间设计--傻瓜式写法(c语言) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> struct date{ int year; int month; int day; }; in…… 题解列表 2023年01月01日 0 点赞 0 评论 89 浏览 评分:9.9
思路清晰 switch+if 就OK了 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ struct time { int year; int mon; in…… 题解列表 2022年12月27日 0 点赞 0 评论 121 浏览 评分:0.0
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 评论 152 浏览 评分:9.9
结构体与时间设计C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct Date{ int year; int mouth; int day;}data;int main(){ int i=0;…… 题解列表 2022年12月06日 0 点赞 0 评论 133 浏览 评分:0.0
C语言 结构体之时间设计& 摘要:解题思路:注意事项:参考代码:#include <stdio.h>struct calendar{ int year; int month; int day;}date, * p;…… 题解列表 2022年11月30日 0 点赞 0 评论 147 浏览 评分: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 评论 198 浏览 评分:9.9
1049 结构体之时间设计 真的是C并且真的用了结构体 摘要:#思路 设计一个结构体date,内含int类型的变量三个:`year,mouth,day`。 定义一个结构体变量date1,**为其中的三个变量(`date1.year,date1.mouth,d…… 题解列表 2022年10月25日 0 点赞 0 评论 145 浏览 评分:9.0