0_0_30230793_19445.cpp:1:9: error: expected unqualified-id before 'for'
for(carry = 0, j = 1; j <= digit; ++j) {
^
0_0_30230793_19445.cpp:1:31: error: 'j' does not name a type
for(carry = 0, j = 1; j <= digit; ++j) {
^
0_0_30230793_19445.cpp:1:43: error: expected unqualified-id before '++' token
for(carry = 0, j = 1; j <= digit; ++j) {
^
0_0_30230793_19445.cpp:6:9: error: expected unqualified-id before 'while'
while(carry) { //处理完毕仍需进位时,需要注意变动digit
^
|