![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ccf
文章平均质量分 57
yusen_zdn
这个作者很懒,什么都没留下…
展开
-
150301图像旋转
#include int a[1000][1000]; int main(){ int n,m,i,j; scanf("%d%d",&n,&m); for(i=0;i for(j=0;j scanf("%d",&a[i][j]); } } for(j=m-1;j>=0;j--){ for(i=0;i原创 2016-03-22 14:44:56 · 297 阅读 · 0 评论 -
150302数字排序
#include #include using namespace std; struct e{ int shuzhi; int cishu; }buf[1001]; bool cmp(e a, e b){ if(a.cishu!=b.cishu)return a.cishu>b.cishu; else return a.shuzhi } int m原创 2016-03-22 15:05:12 · 398 阅读 · 0 评论 -
150303节日
#include #include #define runnian(x) x%100!=0&&x%4==0||x%400==0?1:0 int dayofmonth[13][2]={ 0,0,31,31,28,29,31,31,30,30,31,31,30,30, 31,31,31,31,30,30,31,31,30,30,31,31 }; struct date{原创 2016-03-24 10:40:04 · 296 阅读 · 0 评论