hello world

我的第一篇博客

$\sum_{i=1}^{n}{a_i}$

来个代码看看

1 #include <stdio.h>
2 
3 int main()
4 {
5     int a,b;
6     while(scanf("%d%d",&a,&b)) printf("%d\n",a+b);
7     return 0;
8 }

 

#include <stdio.h>

int main()
{
    int a,b;
    while(scanf("%d%d",&a,&b)) printf("%d\n",a+b);
    return 0;
}

  

1 #include <stdio.h>
2 
3 int main()
4 {
5     int a,b;
6     while(scanf("%d%d",&a,&b)) printf("%d\n",a+b);
7     return 0;
8 }
View Code
1 #include <stdio.h>
2 
3 int main()
4 {
5     int a,b;
6     while(scanf("%d%d",&a,&b)) printf("%d\n",a+b);
7     return 0;
8 }
View Code

 

posted @ 2016-10-19 20:00  Code-dream  阅读(153)  评论(0编辑  收藏  举报