0_0_21591201_4964.cpp:34:15: error: stray '#' in program
ch1[s0[i]-'a']++; //字符转换成数字
^
0_0_21591201_4964.cpp:34:21: error: stray '#' in program
ch1[s0[i]-'a']++; //字符转换成数字
^
0_0_21591201_4964.cpp:38:15: error: stray '#' in program
ch2[s1[i]-'a']++; //字符转换成数字
^
0_0_21591201_4964.cpp:38:21: error: stray '#' in program
ch2[s1[i]-'a']++; //字符转换成数字
^
0_0_21591201_4964.cpp:45:19: error: stray '#' in program
cout<<(char)('a'+i)<<":"<<ch1[i]<<endl; //n=0时,只输出第一个
^
0_0_21591201_4964.cpp:45:25: error: stray '#' in program
cout<<(char)('a'+i)<<":"<<ch1[i]<<endl; //n=0时,只输出第一个
^
0_0_21591201_4964.cpp:51:18: error: stray '#' in program
cout<<(char)('a'+i)<<":"<<s[n-1]*ch1[i]+s[n]*ch2[i]<<endl; //累加到第n-1个和第n个
^
0_0_21591201_4964.cpp:51:24: error: stray '#' in program
cout<<(char)('a'+i)<<":"<<s[n-1]*ch1[i]+s[n]*ch2[i]<<endl; //累加到第n-1个和第n个
^
0_0_21591201_4964.cpp: In function 'int main()':
0_0_21591201_4964.cpp:34:16: error: lvalue required as unary '&' operand
ch1[s0[i]-'a']++; //字符转换成数字
^
0_0_21591201_4964.cpp:34:18: error: expected ']' before ';' token
ch1[s0[i]-'a']++; //字符转换成数字
^
0_0_21591201_4964.cpp:34:19: error: 'a' was not declared in this scope
ch1[s0[i]-'a']++; //字符转换成数字
^
0_0_21591201_4964.cpp:34:25: error: expected primary-expression before ']' token
ch1[s0[i]-'a']++; //字符转换成数字
^
0_0_21591201_4964.cpp:38:16: error: lvalue required as unary '&' operand
ch2[s1[i]-'a']++; //字符转换成数字
^
0_0_21591201_4964.cpp:38:18: error: expected ']' before ';' token
ch2[s1[i]-'a']++; //字符转换成数字
^
0_0_21591201_4964.cpp:38:19: error: 'a' was not declared in this scope
ch2[s1[i]-'a']++; //字符转换成数字
^
0_0_21591201_4964.cpp:38:25: error: expected primary-expression before ']' token
ch2[s1[i]-'a']++; //字符转换成数字
^
0_0_21591201_4964.cpp:45:20: error: lvalue required as unary '&' operand
cout<<(char)('a'+i)<<":"<<ch1[i]<<endl; //n=0时,只输出第一个
^
0_0_21591201_4964.cpp:45:22: error: expected ')' before ';' token
cout<<(char)('a'+i)<<":"<<ch1[i]<<endl; //n=0时,只输出第一个
^
0_0_21591201_4964.cpp:45:23: error: 'a' was not declared in this scope
cout<<(char)('a'+i)<<":"<<ch1[i]<<endl; //n=0时,只输出第一个
^
0_0_21591201_4964.cpp:45:31: error: expected ';' before ')' token
cout<<(char)('a'+i)<<":"<<ch1[i]<<endl; //n=0时,只输出第一个
^
0_0_21591201_4964.cpp:51:19: error: lvalue required as unary '&' operand
cout<<(char)('a'+i)<<":"<<s[n-1]*ch1[i]+s[n]*ch2[i]<<endl; //累加到第n-1个和第n个
^
0_0_21591201_4964.cpp:51:21: error: expected ')' before ';' token
cout<<(char)('a'+i)<<":"<<s[n-1]*ch1[i]+s[n]*ch2[i]<<endl; //累加到第n-1个和第n个
^
0_0_21591201_4964.cpp:51:22: error: 'a' was not declared in this scope
cout<<(char)('a'+i)<<":"<<s[n-1]*ch1[i]+s[n]*ch2[i]<<endl; //累加到第n-1个和第n个
^
0_0_21591201_4964.cpp:51:30: error: expected ';' before ')' token
cout<<(char)('a'+i)<<":"<<s[n-1]*ch1[i]+s[n]*ch2[i]<<endl; //累加到第n-1个和第n个
^
|