[编程入门]结构体之时间设计-题解(Python代码) python 3行 摘要:strftime() 函数接收以时间元组,并返回以可读字符串表示的当地时间,格式由参数format决定. %y 两位数的年份表示(00-99) %Y 四位数的年份表示(000-9999) %m …… 题解列表 2019年11月22日 0 点赞 4 评论 1365 浏览 评分:9.8
优质题解 崭新出厂,好摩易懂,可小刀 摘要:解题思路:1、定义结构体,并定义结构体变量 2、闰年:普通闰年:公历年份是4的倍数,且不是100的倍数的,为闰年(如2004年、2020年等就是闰年)。世纪闰年:公历年份是…… 题解列表 2023年06月10日 0 点赞 8 评论 2242 浏览 评分:9.8
C语言程序设计教程(第三版)课后习题11.1 (C++代码) 摘要:#include <iostream>using namespace std;int main (){ int year,month,day,result=0; cin>>year>>month>>d…… 题解列表 2017年06月28日 0 点赞 0 评论 1040 浏览 评分:9.5
switch函数打造,简单清晰的代码; 摘要:#include struct ggt { int year; int month; int day; }; int zdy(int year, int month, int day); …… 题解列表 2018年12月11日 9 点赞 0 评论 1010 浏览 评分:9.5
优质题解 [编程入门]结构体之时间设计-题解(C语言代码) 摘要:#### 原题链接:[结构体之时间设计](https://www.dotcpp.com/oj/problem.php?id=1049 "结构体之时间设计") #### 解题思路: **1、…… 题解列表 2019年07月22日 0 点赞 30 评论 6925 浏览 评分:9.5
1049题结构体之时间设计-题解(C语言代码)简单运用结构体且思路注解清晰代码简单 摘要:思路:将月份事先定义在数组中,计算天数比较方便。 注意:见注解。 ```c #include void JudgeDay(int a,int b,int c); struct time …… 题解列表 2020年03月27日 0 点赞 6 评论 1014 浏览 评分:9.5
[编程入门]结构体之时间设计-题解(C语言代码) 摘要: #include int leapYear ( int year ) { if( year % 4 == 0 ) { i…… 题解列表 2020年04月28日 0 点赞 2 评论 980 浏览 评分:9.5
[编程入门]结构体之时间设计-题解(C++代码)简单易懂哦! 摘要: #include struct t { int year; int mouth; int date; }; int f(struct t a); int main() { …… 题解列表 2019年10月24日 0 点赞 3 评论 1040 浏览 评分:9.4
[编程入门]结构体之时间设计-题解(C语言代码) 摘要:```c //中大yinwq:我爱唐山ZHENGXF #include #include int main() { struct date …… 题解列表 2019年12月22日 0 点赞 2 评论 1267 浏览 评分:9.4
[编程入门]结构体之时间设计-题解(C语言代码)利用函数返回值,简单易懂 摘要: #include //创建结构体类型time struct time { int year; int month; int day…… 题解列表 2020年02月02日 0 点赞 3 评论 805 浏览 评分:9.3