1001
来源:互联网 发布:b超单数据怎么看 编辑:程序博客网 时间:2024/04/26 07:27
#include <stdio.h>
int main()
{
int a,b,s;
while (scanf("%d%d",&a,&b)!=EOF)
{s=a+b;
printf("%d\n",s);}
return 0;
int main()
{
int a,b,s;
while (scanf("%d%d",&a,&b)!=EOF)
{s=a+b;
printf("%d\n",s);}
return 0;
}
这是前面杭电第一题的最最最简单的问题。可是系统提示一个我从未看过的东西:Non-zero Exit Code,后来看到意思:Your program exited returning a non-zero value to the shell. For languages such as C, this probably means you forgot to add "return 0" at the end of the program. For interpreted languages NZEC will usually mean that your program either crashed or raised an uncaught exception.。之前我们老师没怎么说return1和0的效果,自己用起来也是一样的结果。
0 0
- 1001
- 1001
- 1001
- 1001
- 1001
- 1001
- 1001
- 1001
- 1001
- 1001
- 1001
- 1001
- 1001
- 1001
- 1001
- 1001
- 1001
- 1001
- C++ windowns多线程
- Ubuntu_FTP命令全集
- nyoj-3-多边形重心问题
- poj 1742 Coins(多重背包)
- 当 IDENTITY_INSERT 设置为 OFF 时,不能向表 'users' 中的标识列插入显式值
- 1001
- WM_DESTROY ,WM_CLOSE ,WM_QUIT 的区别
- POJ 3463 Sightseeing (次短路,Dijkstra拓展)
- POJ 2112 floyd+二分最大流
- Arduino之舵机控制
- 数据类型-全局观-合作
- 【散记】开始了就不要停下来
- JAVA GUI PART1 记事本程序 极其简易版
- codeforces Bear and Raspberry