C语言求助2
C语言求助2
日期:2022-04-09 03:05:00 人气:1
北理的孩子 呵呵
#include<stdio.h>
main()
{long year,mon,day,s=0,k,l,sum=0,t,i=2,x;
int a[12];
scanf("%ld",&year);
l=(year-1)/4-(year-1)/100+(year-1)/400;
#include<stdio.h>
main()
{long year,mon,day,s=0,k,l,sum=0,t,i=2,x;
int a[12];
scanf("%ld",&year);
l=(year-1)/4-(year-1)/100+(year-1)/400;