摘要: HDOJ1002 A+B Problem IIWrong Answer.代码如下: 1 #include 2 3 using namespace std; 4 5 6 int main() 7 { 8 int n; 9 while(cin>>n &&n)10 {11 ... 阅读全文
posted @ 2015-03-12 21:31 GodWU 阅读(145) 评论(0) 推荐(0) 编辑
摘要: HDOJ1008 ElevatorWrong Answer.代码如下: 1 #include 2 3 using namespace std; 4 5 6 int main() 7 { 8 int n; 9 while(cin>>n &&n)10 {11 ... 阅读全文
posted @ 2015-03-12 21:28 GodWU 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(111) 评论(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) 编辑
摘要: 月光博客6月12日发表了《写给新手程序员的一封信》,翻译自《An open letter to those who want to start programming》,我的朋友(他在本站的id是Mailper)告诉我,他希望在酷壳上看到一篇更具操作性的文章。因为他也是喜欢编程和技术的家伙,于是,我... 阅读全文
posted @ 2015-03-12 19:41 GodWU 阅读(512) 评论(0) 推荐(0) 编辑