文章
5
粉丝
400
获赞
2
访问
46.1k
#include"stdio.h"
int a[13] = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
int main(void){
int n;
while(scanf("%d", &n) != EOF){
int month = 1, day = 1, s = 0, f = 0, m = 0;
while(n >= 24*60*60){
day++;
n -= 24*60*60;
}
while(n >= 60*60){
s++;
n -= 60*60;
}
while(n >= 60){
f++;
n -= 60;
}...
登录后发布评论
暂无评论,来抢沙发