https://www.myziyuan.com/
- H5支付系统
- #include <stdio.h> #define MAX 100 #define leap(y) (y%4==0 && y%100!=0 || y%400==0) struct d{int y,m,d;}; long days(struct d d1,struct d d2) { int mon[2][13]= {{0,31,28,31,30,31,30,31,31,30,31,30,31}, {0,31,29,31,30,31,30,31,31,30,31,30,31}}; int i; long td=0; for(i=d1.y;i<d2.y;i++) td+=leap(i)?366:365; for(i=1;i<d1.m;i++) td-=mon[leap(d1.y)][i]; td-=d1.d-1; for(i=1;i<d2.m;i++) td+=mon[leap(d2.y)][i]; td+=d2.d-1; return td; } int main() { struct d now[MAX],start={1990,1,1}; int n,i,day; scanf("%d",&n); for(i=0;i<n;++i) { scanf("%d%d%d",&now[i].y,&now[i].m,&now[i].d); } for(i=0;i<n;++i) { day=days(start,now[i]); if(day%5<3) printf("He was fishing on %d %d %d\n",now[i].y,now[i].m,now[i].d); else printf("He was basking on %d %d %d\n",now[i].y,now[i].m,now[i].d); } return 0; }
- 2021-02-23 19:50:01
- 无敌
- 天天捕鱼这种游戏源码在网上一搜一大推,接SDK,服务器 就可以上了
- 2021-02-11 23:27:05
- 金牛科技
- 钓鱼网站制作网站加后台。 5173钓鱼源码。支持各种QQ游戏.网络游戏。免费测试,最好不要用这种东西
- 2021-02-11 23:27:05