[编程入门]结构体之时间设计 (C++代码) 摘要:解题思路: 大家都懂注意事项: 应该错误都会犯在月份这里 ,5月15日应该知识算前面四月,多理解这点就ok了参考代码:#include<bits/stdc++.h>using namesp…… 题解列表 2019年04月17日 0 点赞 0 评论 712 浏览 评分:0.0
[编程入门]结构体之时间设计 (C语言代码) 摘要:解题思路:利用数组来保存月份的天数注意事项:闰年的定义:if(n%4==0 && n%100!=0 ||n%400==0)参考代码:#include<stdio.h>int main(){ int i…… 题解列表 2019年04月26日 0 点赞 0 评论 716 浏览 评分:0.0
[编程入门]结构体之时间设计 (C语言代码) 摘要:解题思路:注意事项:参考代码: #include<stdio.h> int main() {struct Date {int year; int month; …… 题解列表 2019年05月03日 0 点赞 0 评论 701 浏览 评分:0.0
[编程入门]结构体之时间设计 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct data{int year;int month;int day;}s;int main(){int t=0; scanf(…… 题解列表 2019年05月05日 0 点赞 0 评论 1215 浏览 评分:0.0
[编程入门]结构体之时间设计 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct data{int year;int month;int day;}s;//定义结构体int main(){int t=0;…… 题解列表 2019年05月05日 0 点赞 0 评论 1102 浏览 评分:0.0
[编程入门]结构体之时间设计 (C语言代码)(不用数组和switch) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct time{ int year; int month; int day;};int m (){ struct time …… 题解列表 2019年05月21日 0 点赞 0 评论 544 浏览 评分:0.0
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:#include struct date { int year; int month; int day; }num; int Is_runnian(int x) { in…… 题解列表 2019年07月15日 0 点赞 0 评论 728 浏览 评分:0.0
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:#include #include #include #include struct { int year,month,day; }pr; int main() { int …… 题解列表 2019年08月30日 0 点赞 0 评论 584 浏览 评分:0.0
[编程入门]结构体之时间设计-题解(C语言代码) 摘要: #include int main() { int year,month,day,yearDay; int i=0; …… 题解列表 2019年11月03日 0 点赞 0 评论 536 浏览 评分:0.0
[编程入门]结构体之时间设计-题解(C语言代码) 摘要: #include int main(){ typedef struct data{ int yy; int mm; int rr…… 题解列表 2019年11月17日 0 点赞 0 评论 528 浏览 评分:0.0