2014年12月27日

摘要: 习题1-1 平均数(average)1 #include2 int main()3 {4 int a,b,c;5 scanf("%d%d%d",&a,&b,&c);6 printf("%0.3lf",(a+b+c)/3.0);7 return 0;8 }本题重点在于格... 阅读全文
posted @ 2014-12-27 00:34 lz亢龙有悔 阅读(165) 评论(0) 推荐(0) 编辑

2014年12月25日

摘要: 1.5.4问题1问题2问题3问题4问题5 最邻近的else 阅读全文
posted @ 2014-12-25 23:24 lz亢龙有悔 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 代码1-11 1 #include 2 int main() 3 { 4 int a,b,n,m; 5 scanf("%d%d",&n,&m); 6 a=(4*n-m)/2; 7 b=n-a; 8 if(n%2==1||a 2 int main() 3 { 4... 阅读全文
posted @ 2014-12-25 23:01 lz亢龙有悔 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 例题1-2程序1-61 #include2 #include3 int main()4 {5 int n;6 scanf("%d",&n);7 printf("%d%d%d",n%10,n/10%10,n/100);8 return 0;9 }程序1-71 #incl... 阅读全文
posted @ 2014-12-25 21:54 lz亢龙有悔 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 程序1-41 #include2 #include3 int main()4 {5 int a,b;6 scanf("%d%d",&a,&b);7 printf("%d\n",a+b);8 8 }程序1-5 1 #include 2 #include 3 int main(... 阅读全文
posted @ 2014-12-25 21:24 lz亢龙有悔 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 应该说这一章不用做太多训练了,大学都学过,不过还是快速的训练一下吧!!程序1-11 #include2 int main()3 {4 printf("%d\n",1+2);5 }实验41 #include2 int main()3 {4 printf("%d\n",8/5);5 }实... 阅读全文
posted @ 2014-12-25 20:57 lz亢龙有悔 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 自己真的很不用心啊,现在都是研究生了,要有计划了…… 二战时买的刘汝佳《算法竞赛入门经典》还有《》还未仔细阅读和编程呢。好好学习吧,自己现在是什么都拿不出手。。。 研究生争取能找到不错的工作!! 目前关注的 博客: (1) OJ刷题(内容比较丰富) zhuli19901106 ... 阅读全文
posted @ 2014-12-25 17:49 lz亢龙有悔 阅读(158) 评论(0) 推荐(0) 编辑

导航