[编程入门]结构体之时间设计-题解(c语言代码)附解 思路简单 摘要:#include<stdio.h> struct days{//定义结构体 int year; int month; int day; }p1; int main(){ sca…… 题解列表 2024年11月24日 4 点赞 0 评论 667 浏览 评分:8.0
1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include<stdio.h> struct today getstruct(void); void output(struct today x); struc…… 题解列表 2024年11月11日 1 点赞 0 评论 224 浏览 评分:0.0
1049: [编程入门]结构体之时间设计(python) 摘要: ~~~python def is_lun(y): if y%100 == 0: if y%400 == 0: return True …… 题解列表 2024年10月24日 0 点赞 0 评论 161 浏览 评分:0.0
编写题解 1049: [编程入门]结构体之时间设计(Java代码-简单易懂) 摘要:参考代码:import java.util.Scanner; //定义一个结构体 年 月 日 class Date{ int year; int month; int date; …… 题解列表 2024年09月20日 0 点赞 0 评论 261 浏览 评分:9.9
编写题解 1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include <stdio.h>// 定义日期结构体struct Date { int year; int month; int day;};// …… 题解列表 2024年09月20日 0 点赞 0 评论 187 浏览 评分:0.0
1049:结构体之时间设计--思路 #C++ 摘要:##### 闰年条件 1. 4 的倍数 2. 400 的倍数 ```cpp year % 4 == 0 && year % 100 != 0 //% 取模 ``` ```cpp …… 题解列表 2024年09月17日 1 点赞 0 评论 280 浏览 评分:0.0
判断一年的第几天 摘要:参考代码:#include<stdio.h>struct date { int year; int month; int day;};int main() { struct d…… 题解列表 2024年08月31日 1 点赞 0 评论 134 浏览 评分:9.9
无聊的星期六 摘要:#include <stdio.h> typedef struct days { int year; int month; int day; }days; …… 题解列表 2024年08月17日 0 点赞 0 评论 472 浏览 评分:0.0
1049: [编程入门]结构体之时间设计——题解 摘要:```c #include typedef struct{ int year,month,day; }YEAR; int main(){ YEAR a; int…… 题解列表 2024年08月03日 0 点赞 0 评论 325 浏览 评分:9.9
1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;struct tim{ ll n;…… 题解列表 2024年07月16日 0 点赞 0 评论 204 浏览 评分:9.9