高分求C语言算法:从2000年一月一日00:00:00:开始,过了N秒后是哪年哪月那日?
高分求C语言算法:从2000年一月一日00:00:00:开始,过了N秒后是哪年哪月那日?
日期:2021-05-23 21:03:42 人气:1
#include "stdafx.h"//在VC6.0下调试通过,如果你不是用VC请把这个头去掉
#include "stdio.h"
#define SEC 86400 //每天为86400秒
void main()
{
int Day,Year,Month;
char Mon[12]={31,29,31,30,31,30,31,31,30,31,30,31};
#include "stdio.h"
#define SEC 86400 //每天为86400秒
void main()
{
int Day,Year,Month;
char Mon[12]={31,29,31,30,31,30,31,31,30,31,30,31};