摘要: HDOJ1000 A+B ProblemAccepted.代码如下:1 #include2 int main()3 {4 int a,b;5 while(scanf("%d %d",&a,&b)==2)6 printf("%d\n",a+b);7 8 retur... 阅读全文
posted @ 2015-03-12 21:24 GodWU 阅读(109) 评论(0) 推荐(0) 编辑
摘要: HDOJ10001 Sum ProblemAccepted.代码如下: 1 #include 2 int main() 3 { 4 int n; 5 while(scanf("%d",&n)!=EOF) 6 { 7 int i,sum = 0; 8 ... 阅读全文
posted @ 2015-03-12 21:19 GodWU 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 听说技术人员(尤其新人)记录博客很重要,一方面可以记录遇到的问题和解决的方法,供以后回顾参考,也可以分享于大家参考;另一方面可以理清学习思路,便于总结。所以,今天开始写博客,以记录。 阅读全文
posted @ 2015-01-11 11:04 GodWU 阅读(71) 评论(0) 推荐(0) 编辑