python求解年月日问题
摘要:解题思路:注意事项:参考代码:year,month,day=map(int,input().split())sum=daydays = [31,28,31,30,31,30,31,31,30,31,3……
1049: [编程入门]结构体之时间设计
摘要:```cpp
#include
using namespace std;
struct Date
{
int year,mouth,day;
};
int IsLeapY……
挑战这道题最复杂的题解!
摘要:解题思路:这个题不难,但是我写的很复杂。通过调用两个函数来计算是第几天,大家略看一下就能懂。注意事项:我这种写法太浪费时间,看看就好,还是建议用两个数组代替我这两个函数。参考代码:#include<s……
结构体之时间设计C语言
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>struct date{ int year; int month; int d……
结构体之时间设计(C语言)
摘要:#include<stdio.h>
typedef struct date
{
int year;
int month;
int day;
}DATE;
int main()
{……
一种超简单的方法 [编程入门]结构体之时间设计
摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct date{ int year; int month; int day;};int main(){ str……
[编程入门]结构体之时间设计
摘要:解题思路:用循环嵌套解决注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] ……
[编程入门]结构体之时间设计(水题,超级笨蛋的方法)
摘要:解题思路:注意事项:参考代码:#include <stdio.h>struct time{ int year,month,day;};int main(){ struct time t; int da……