0_0_35940617_12296.cpp: In function 'void acheng(char*, int, int)':
0_0_35940617_12296.cpp:5:5: error: 'ans' was not declared in this scope
ans++;
^
0_0_35940617_12296.cpp: In function 'int main()':
0_0_35940617_12296.cpp:26:27: error: expected initializer before ']' token
char a[500],b[500]];
^
0_0_35940617_12296.cpp:28:32: error: 'b' was not declared in this scope
for(int i=0;i<500;i++){b[i]=a[i]='0';}
^
0_0_35940617_12296.cpp:29:21: error: 'b' was not declared in this scope
cin>>a+100>>b+100;
^
0_0_35940617_12296.cpp:32:13: error: 'i' was not declared in this scope
for(i=0;a[i-1]!='.';i++)
^
0_0_35940617_12296.cpp:37:17: error: expected primary-expression before ')' token
for(c=1;)
^
0_0_35940617_12296.cpp:37:17: error: expected ';' before ')' token
|