0_0_37406987_22579.cpp:7:2: error: stray '\243' in program
int i£¬n,a,b,c,d,e=1,f=1,g=1,sum;
^
0_0_37406987_22579.cpp:7:2: error: stray '\254' in program
0_0_37406987_22579.cpp: In function 'int main()':
0_0_37406987_22579.cpp:7:9: error: expected initializer before 'n'
int i£¬n,a,b,c,d,e=1,f=1,g=1,sum;
^
0_0_37406987_22579.cpp:8:7: error: 'n' was not declared in this scope
cin>>n;
^
0_0_37406987_22579.cpp:9:7: error: 'i' was not declared in this scope
for( i=1;i<=n;i++)
^
0_0_37406987_22579.cpp:11:7: error: 'a' was not declared in this scope
cin>>a;
^
0_0_37406987_22579.cpp:12:2: error: 'b' was not declared in this scope
b=a/2;
^
0_0_37406987_22579.cpp:13:2: error: 'c' was not declared in this scope
c=(a-b)*2/3;
^
0_0_37406987_22579.cpp:14:2: error: 'd' was not declared in this scope
d=a-b-c;
^
0_0_37406987_22579.cpp:15:13: error: 'e' was not declared in this scope
if(b%10==0)e=b/10;
^
0_0_37406987_22579.cpp:16:7: error: 'e' was not declared in this scope
else e=1+b/10;
^
0_0_37406987_22579.cpp:17:13: error: 'f' was not declared in this scope
if(c%10==0)f=c/10;
^
0_0_37406987_22579.cpp:18:7: error: 'f' was not declared in this scope
else f=1+c/10;
^
0_0_37406987_22579.cpp:19:13: error: 'g' was not declared in this scope
if(d%10==0)g=d/10;
^
0_0_37406987_22579.cpp:20:7: error: 'g' was not declared in this scope
else g=1+d/10;
^
0_0_37406987_22579.cpp:21:2: error: 'sum' was not declared in this scope
sum=g+e+f;
^
0_0_37406987_22579.cpp:21:6: error: 'g' was not declared in this scope
sum=g+e+f;
^
0_0_37406987_22579.cpp:21:8: error: 'e' was not declared in this scope
sum=g+e+f;
^
0_0_37406987_22579.cpp:21:10: error: 'f' was not declared in this scope
sum=g+e+f;
^
|