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