题解 1049: [编程入门]结构体之时间设计

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

结构体之时间设计

摘要:解题思路:注意事项:参考代码: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……

C语言 结构体之时间设计&

摘要:解题思路:注意事项:参考代码:#include <stdio.h>struct calendar{     int year;    int month;    int day;}date, * p;……

挑战这道题最复杂的题解!

摘要:解题思路:这个题不难,但是我写的很复杂。通过调用两个函数来计算是第几天,大家略看一下就能懂。注意事项:我这种写法太浪费时间,看看就好,还是建议用两个数组代替我这两个函数。参考代码:#include<s……

c++解题思路

摘要:```cpp #include using namespace std; struct time { int year; int month; int day; };……