0_0_23987258_12888.cpp:2:1: error: stray '\243' in program
int main£¨£©
^
0_0_23987258_12888.cpp:2:1: error: stray '\250' in program
0_0_23987258_12888.cpp:2:1: error: stray '\243' in program
0_0_23987258_12888.cpp:2:1: error: stray '\251' in program
0_0_23987258_12888.cpp:4:3: error: expected primary-expression before 'int'
int i,n,sum=0;
^
0_0_23987258_12888.cpp:4:3: error: expected '}' before 'int'
0_0_23987258_12888.cpp:4:3: error: expected ',' or ';' before 'int'
0_0_23987258_12888.cpp:5:8: error: expected constructor, destructor, or type conversion before '(' token
scanf("%d",&n);
^
0_0_23987258_12888.cpp:6:3: error: expected unqualified-id before 'if'
if(n<1||n==EOF)
^
0_0_23987258_12888.cpp:8:3: error: expected unqualified-id before 'else'
else
^
0_0_23987258_12888.cpp:9:13: error: 'i' does not name a type
for(i=1;i<=n;i++)
^
0_0_23987258_12888.cpp:9:18: error: 'i' does not name a type
for(i=1;i<=n;i++)
^
0_0_23987258_12888.cpp:11:9: error: expected constructor, destructor, or type conversion before '(' token
printf("%d\n",sum);
^
0_0_23987258_12888.cpp:12:3: error: expected unqualified-id before 'return'
return 0;
^
0_0_23987258_12888.cpp:13:1: error: expected declaration before '}' token
}
^
|