0_0_19049200_14067.cpp:14:2: error: stray '\' in program
for(int i=0;l[i]!=\'\\0\';i++){//分解
^
0_0_19049200_14067.cpp:14:2: error: missing terminating ' character
0_0_19049200_14067.cpp:15:3: error: stray '\' in program
if(l[i]==\' \'||l[i]==\'+\')continue;
^
0_0_19049200_14067.cpp:15:3: error: missing terminating ' character
0_0_19049200_14067.cpp:16:3: error: stray '\' in program
string g=\"\";//物品g
^
0_0_19049200_14067.cpp:16:3: error: missing terminating " character
0_0_19049200_14067.cpp:17:3: error: stray '\' in program
for(;l[i]!=\'\\0\'&&l[i]!=\' \';i++)
^
0_0_19049200_14067.cpp:17:3: error: missing terminating ' character
0_0_19049200_14067.cpp:39:2: error: stray '\' in program
for(int i=0;l[i]!=\'\\0\';i++){//分解
^
0_0_19049200_14067.cpp:39:2: error: missing terminating ' character
0_0_19049200_14067.cpp:40:3: error: stray '\' in program
if(l[i]==\' \'||l[i]==\'+\')continue;
^
0_0_19049200_14067.cpp:40:3: error: missing terminating ' character
0_0_19049200_14067.cpp:41:3: error: stray '\' in program
string g=\"\";
^
0_0_19049200_14067.cpp:41:3: error: missing terminating " character
0_0_19049200_14067.cpp:42:3: error: stray '\' in program
for(;l[i]!=\'\\0\'&&l[i]!=\' \';i++)
^
0_0_19049200_14067.cpp:42:3: error: missing terminating ' character
0_0_19049200_14067.cpp:54:2: error: stray '\' in program
while(~scanf(\"%d\",&n)){
^
0_0_19049200_14067.cpp:54:2: error: missing terminating " character
0_0_19049200_14067.cpp:57:4: error: stray '\' in program
scanf(\"%s %d\",a,&t);
^
0_0_19049200_14067.cpp:57:4: error: missing terminating " character
0_0_19049200_14067.cpp:60:3: error: stray '\' in program
scanf(\"%d\",&m);
^
0_0_19049200_14067.cpp:60:3: error: missing terminating " character
0_0_19049200_14067.cpp:62:4: error: stray '\' in program
scanf(\"%s %d\",a,&t);
^
0_0_19049200_14067.cpp:62:4: error: missing terminating " character
0_0_19049200_14067.cpp:65:3: error: stray '\' in program
scanf(\"%d\",&k);
^
0_0_19049200_14067.cpp:65:3: error: missing terminating " character
0_0_19049200_14067.cpp:69:4: error: stray '\' in program
string s=\"\",g=\"\";
^
0_0_19049200_14067.cpp:69:4: error: missing terminating " character
0_0_19049200_14067.cpp:71:4: error: stray '\' in program
for(i=0;a[i]!=\'=\';i++)
^
0_0_19049200_14067.cpp:71:4: error: missing terminating ' character
0_0_19049200_14067.cpp:73:4: error: stray '\' in program
for(i+=2;a[i]!=\'\\0\';i++)
^
0_0_19049200_14067.cpp:73:4: error: missing terminating ' character
0_0_19049200_14067.cpp:78:3: error: stray '\' in program
scanf(\"%d\",&u);
^
0_0_19049200_14067.cpp:78:3: error: missing terminating " character
0_0_19049200_14067.cpp:80:4: error: stray '\' in program
scanf(\"%s %d\",a,&t);
^
0_0_19049200_14067.cpp:80:4: error: missing terminating " character
0_0_19049200_14067.cpp:89:3: error: stray '\' in program
printf(\"%d\\n\",ans);
^
0_0_19049200_14067.cpp:89:3: error: missing terminating " character
0_0_19049200_14067.cpp: In function 'int dfs(std::string)':
0_0_19049200_14067.cpp:15:3: error: expected primary-expression before 'if'
if(l[i]==\' \'||l[i]==\'+\')continue;
^
0_0_19049200_14067.cpp:15:3: error: expected ';' before 'if'
0_0_19049200_14067.cpp:15:3: error: expected primary-expression before 'if'
0_0_19049200_14067.cpp:15:3: error: expected ')' before 'if'
0_0_19049200_14067.cpp:16:10: error: expected primary-expression before 'g'
string g=\"\";//物品g
^
0_0_19049200_14067.cpp:16:10: error: expected ')' before 'g'
0_0_19049200_14067.cpp:17:10: error: 'i' was not declared in this scope
for(;l[i]!=\'\\0\'&&l[i]!=\' \';i++)
^
0_0_19049200_14067.cpp:18:4: error: 'g' was not declared in this scope
g+=l[i];
^
0_0_19049200_14067.cpp: At global scope:
0_0_19049200_14067.cpp:26:2: error: expected unqualified-id before 'return'
return price;
^
0_0_19049200_14067.cpp:27:1: error: expected declaration before '}' token
}
^
|