#include "stdio.h" int main() { int i; printf("input the year.\n"); scanf("%d",&i); { if((i%4==0&&i%100!=0)||i%400==0) printf("year:%d,month:2,day:29\n",i); else printf("year:%d,month:2,day:28\n",i); } return 0; }
相关文章
- 03-05使用scipy.interpolate.LSQBivariateSplines将2-D样条拟合到带有间隙的噪声数据
- 03-05I.MX6U 学习笔记十三------RTC实时时钟实验
- 03-05微软面试题: LeetCode 151. 翻转字符串里的单词 出现次数:2
- 03-05STM32RTC实时时钟实验讲解,从入门到放弃。
- 03-05STM32_2
- 03-05Annotation 使用备忘2
- 03-05android功耗优化(2)--对齐唤醒
- 03-05STM32H743I-EVAL2_RTC_Tamper
- 03-05以一个ser2net软件包为例解读openwrt19.07编译文件及luci编译步骤
- 03-05Django学习day2——Django安装与环境配置