日期换算 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y,sum=0,i,a[12]={31,28,31,30,31,30,31,31,30,31,30,…… 题解列表 2019年03月08日 1 点赞 0 评论 1001 浏览 评分:0.0
日期换算 (C语言代码)用数组,超简单 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(void){ int x, y, i; int date = 0; int month[13] = …… 题解列表 2019年02月16日 1 点赞 0 评论 1236 浏览 评分:6.0
。。依旧简单粗暴。。日期换算 (C语言代码) 摘要:解题思路:因为是固定的2019年,所以每一月都有固定的天数,把x月前面的天数+y日的天数==总天数。 也可以用switch写。注意事项:2019年是平年,…… 题解列表 2019年02月08日 4 点赞 0 评论 2169 浏览 评分:3.0