不用结构体我照样写!!!
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int number = 0;int i = 0;int year = 0;int month = 0;int day = 0;//这……
1049时间设计(结构体实现)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>typedef struct shijian{ int nian; int yue; int ru;}shijian;int main(……
编写题解 1049: [编程入门]结构体之时间设计
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
#include<stdlib.h>
struct c{
int y;
int m;
int d;
……
1049:结构体之时间设计--思路 #C++
摘要:##### 闰年条件
1. 4 的倍数
2. 400 的倍数
```cpp
year % 4 == 0 && year % 100 != 0 //% 取模
```
```cpp
……
编写题解 1049: [编程入门]结构体之时间设计
摘要:解题思路:注意事项:参考代码:#include <stdio.h>// 定义日期结构体struct Date { int year; int month; int day;};// ……
1049: [编程入门]结构体之时间设计(python)
摘要:
~~~python
def is_lun(y):
if y%100 == 0:
if y%400 == 0:
return True
……
1049: [编程入门]结构体之时间设计
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
struct today getstruct(void);
void output(struct today x);
struc……