- 博客(1)
- 收藏
- 关注
原创 蓝桥杯基本算法和函数
基本算法计算闰年bool isleaf (int x){ return x%400==0||(x%4==0&&x%100!=0)}计数月,日或分钟等等int syear,smonth,sday;int countday(int year,int month,int day){ int ans=0; int mon[13]={0,31,28,31,30,31,30,31,31,30,31,30,31}while(1){ if(year==syea
2022-04-02 21:10:11
217
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人