0_0_32921906_31165.cpp:21:17: error: stray '\' in program
c=c*10+str[b]-\'0\';
^
0_0_32921906_31165.cpp:21:17: error: missing terminating ' character
0_0_32921906_31165.cpp:30:9: error: stray '\' in program
c=c*10+str[b]-\'0\';
^
0_0_32921906_31165.cpp:30:9: error: missing terminating ' character
0_0_32921906_31165.cpp:37:5: error: stray '\' in program
while(scanf(\"%s\",str)&&str[0]!=\'E\')
^
0_0_32921906_31165.cpp:37:5: error: missing terminating " character
0_0_32921906_31165.cpp: In function 'int get(int, int, int, int)':
0_0_32921906_31165.cpp:22:13: error: expected primary-expression before '}' token
}
^
0_0_32921906_31165.cpp:31:8: error: lvalue required as left operand of assignment
ret+=c;
^
0_0_32921906_31165.cpp: In function 'int main()':
0_0_32921906_31165.cpp:39:24: error: expected '}' before ';' token
len=strlen(str);
^
0_0_32921906_31165.cpp:39:24: error: expected ')' before ';' token
0_0_32921906_31165.cpp:39:24: error: expected ')' before ';' token
0_0_32921906_31165.cpp: At global scope:
0_0_32921906_31165.cpp:60:5: error: expected unqualified-id before 'return'
return 0;
^
0_0_32921906_31165.cpp:61:1: error: expected declaration before '}' token
}
^
|