0_0_37131320_21992.cpp:1:11: error: #include expects "FILENAME" or <FILENAME>
# include
^
0_0_37131320_21992.cpp:3:11: error: #include expects "FILENAME" or <FILENAME>
# include
^
0_0_37131320_21992.cpp: In function 'int main()':
0_0_37131320_21992.cpp:16:21: error: 'scanf' was not declared in this scope
while(scanf("%d", &n)!=EOF && n!=0) //当输入的n==0时,循环要终止
^
0_0_37131320_21992.cpp:16:24: error: 'EOF' was not declared in this scope
while(scanf("%d", &n)!=EOF && n!=0) //当输入的n==0时,循环要终止
^
0_0_37131320_21992.cpp:21:1: error: expected ';' before '{' token
{
^
0_0_37131320_21992.cpp:21:1: error: expected primary-expression before '{' token
0_0_37131320_21992.cpp:21:1: error: expected ')' before '{' token
0_0_37131320_21992.cpp:28:1: error: expected ';' before '{' token
{
^
0_0_37131320_21992.cpp:28:1: error: expected primary-expression before '{' token
0_0_37131320_21992.cpp:28:1: error: expected ')' before '{' token
0_0_37131320_21992.cpp:31:1: error: expected ';' before '{' token
{
^
0_0_37131320_21992.cpp:31:1: error: expected primary-expression before '{' token
0_0_37131320_21992.cpp:31:1: error: expected ')' before '{' token
0_0_37131320_21992.cpp:32:13: error: 'fabs' was not declared in this scope
if(fabs(a[i])>fabs(a[j]))
^
0_0_37131320_21992.cpp:49:1: error: expected ';' before '{' token
{
^
0_0_37131320_21992.cpp:49:1: error: expected primary-expression before '{' token
0_0_37131320_21992.cpp:49:1: error: expected ')' before '{' token
0_0_37131320_21992.cpp:50:19: error: 'printf' was not declared in this scope
printf("%d ", a[i]);
^
0_0_37131320_21992.cpp:54:12: error: 'printf' was not declared in this scope
printf("\n");
^
|