0_0_22345912_11404.cpp: In function 'int main()':
0_0_22345912_11404.cpp:99:5: error: expected '}' before 'else'
else { // 奇数没有前导零部分
^
0_0_22345912_11404.cpp:100:13: error: 'Left' was not declared in this scope
if(str[Left] < str[Right]) {// 左边小的部分
^
0_0_22345912_11404.cpp:100:25: error: 'Right' was not declared in this scope
if(str[Left] < str[Right]) {// 左边小的部分
^
0_0_22345912_11404.cpp:101:7: error: 'temp' was not declared in this scope
temp.clear();
^
0_0_22345912_11404.cpp:109:7: error: 'temp' was not declared in this scope
temp.clear();
^
0_0_22345912_11404.cpp:122:20: error: 'temp' was not declared in this scope
}ans[cnt ++] = temp;
^
0_0_22345912_11404.cpp:125:4: error: 'else' without a previous 'if'
else { //长度为偶数部分~~~
^
0_0_22345912_11404.cpp:128:12: error: 'len_str' was not declared in this scope
Left = len_str / 2 - 1;
^
0_0_22345912_11404.cpp:196:11: error: 'cnt' was not declared in this scope
cout << cnt << endl;
^
0_0_22345912_11404.cpp: At global scope:
0_0_22345912_11404.cpp:201:1: error: expected declaration before '}' token
}
^
|