自己做的新手,欢迎指导 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct date{ int year; int month; int day;};int mod(int y,i…… 题解列表 2024年12月20日 8 点赞 0 评论 520 浏览 评分:10.0
新手必看最简思路 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int xx(int n,int y){ int day=0,a=0; if(n%400==0||(n%4==0&&n%100!=0…… 题解列表 2024年12月12日 0 点赞 0 评论 442 浏览 评分:0.0
[编程入门]结构体之时间设计-题解(c语言代码)附解 思路简单 摘要:#include<stdio.h> struct days{//定义结构体 int year; int month; int day; }p1; int main(){ sca…… 题解列表 2024年11月24日 4 点赞 0 评论 705 浏览 评分:8.0
1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include<stdio.h> struct today getstruct(void); void output(struct today x); struc…… 题解列表 2024年11月11日 1 点赞 0 评论 228 浏览 评分:0.0
1049: [编程入门]结构体之时间设计(python) 摘要: ~~~python def is_lun(y): if y%100 == 0: if y%400 == 0: return True …… 题解列表 2024年10月24日 1 点赞 0 评论 172 浏览 评分:0.0
编写题解 1049: [编程入门]结构体之时间设计(Java代码-简单易懂) 摘要:参考代码:import java.util.Scanner; //定义一个结构体 年 月 日 class Date{ int year; int month; int date; …… 题解列表 2024年09月20日 0 点赞 0 评论 272 浏览 评分:9.9
编写题解 1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include <stdio.h>// 定义日期结构体struct Date { int year; int month; int day;};// …… 题解列表 2024年09月20日 0 点赞 0 评论 201 浏览 评分:0.0
1049:结构体之时间设计--思路 #C++ 摘要:##### 闰年条件 1. 4 的倍数 2. 400 的倍数 ```cpp year % 4 == 0 && year % 100 != 0 //% 取模 ``` ```cpp …… 题解列表 2024年09月17日 1 点赞 0 评论 296 浏览 评分:0.0
判断一年的第几天 摘要:参考代码:#include<stdio.h>struct date { int year; int month; int day;};int main() { struct d…… 题解列表 2024年08月31日 1 点赞 0 评论 144 浏览 评分:9.9
无聊的星期六 摘要:#include <stdio.h> typedef struct days { int year; int month; int day; }days; …… 题解列表 2024年08月17日 0 点赞 0 评论 494 浏览 评分:0.0