0_0_26297398_30483.cpp:13:2: error: stray '\' in program
for(int i=0;l[i]!=\'\\0\';i++){//分解
^
0_0_26297398_30483.cpp:13:2: error: missing terminating ' character
0_0_26297398_30483.cpp:14:3: error: stray '\' in program
if(l[i]==\' \'||l[i]==\'+\')continue;
^
0_0_26297398_30483.cpp:14:3: error: missing terminating ' character
0_0_26297398_30483.cpp:15:3: error: stray '\' in program
string g=\"\";//物品g
^
0_0_26297398_30483.cpp:15:3: error: missing terminating " character
0_0_26297398_30483.cpp:16:3: error: stray '\' in program
for(;l[i]!=\'\\0\'&&l[i]!=\' \';i++)
^
0_0_26297398_30483.cpp:16:3: error: missing terminating ' character
0_0_26297398_30483.cpp:38:2: error: stray '\' in program
for(int i=0;l[i]!=\'\\0\';i++){//分解
^
0_0_26297398_30483.cpp:38:2: error: missing terminating ' character
0_0_26297398_30483.cpp:39:3: error: stray '\' in program
if(l[i]==\' \'||l[i]==\'+\')continue;
^
0_0_26297398_30483.cpp:39:3: error: missing terminating ' character
0_0_26297398_30483.cpp:40:3: error: stray '\' in program
string g=\"\";
^
0_0_26297398_30483.cpp:40:3: error: missing terminating " character
0_0_26297398_30483.cpp:41:3: error: stray '\' in program
for(;l[i]!=\'\\0\'&&l[i]!=\' \';i++)
^
0_0_26297398_30483.cpp:41:3: error: missing terminating ' character
0_0_26297398_30483.cpp:53:2: error: stray '\' in program
while(~scanf(\"%d\",&n)){
^
0_0_26297398_30483.cpp:53:2: error: missing terminating " character
0_0_26297398_30483.cpp:56:4: error: stray '\' in program
scanf(\"%s %d\",a,&t);
^
0_0_26297398_30483.cpp:56:4: error: missing terminating " character
0_0_26297398_30483.cpp:59:3: error: stray '\' in program
scanf(\"%d\",&m);
^
0_0_26297398_30483.cpp:59:3: error: missing terminating " character
0_0_26297398_30483.cpp:61:4: error: stray '\' in program
scanf(\"%s %d\",a,&t);
^
0_0_26297398_30483.cpp:61:4: error: missing terminating " character
0_0_26297398_30483.cpp:64:3: error: stray '\' in program
scanf(\"%d\",&k);
^
0_0_26297398_30483.cpp:64:3: error: missing terminating " character
0_0_26297398_30483.cpp:68:4: error: stray '\' in program
string s=\"\",g=\"\";
^
0_0_26297398_30483.cpp:68:4: error: missing terminating " character
0_0_26297398_30483.cpp:70:4: error: stray '\' in program
for(i=0;a[i]!=\'=\';i++)
^
0_0_26297398_30483.cpp:70:4: error: missing terminating ' character
0_0_26297398_30483.cpp:72:4: error: stray '\' in program
for(i+=2;a[i]!=\'\\0\';i++)
^
0_0_26297398_30483.cpp:72:4: error: missing terminating ' character
0_0_26297398_30483.cpp:77:3: error: stray '\' in program
scanf(\"%d\",&u);
^
0_0_26297398_30483.cpp:77:3: error: missing terminating " character
0_0_26297398_30483.cpp:79:4: error: stray '\' in program
scanf(\"%s %d\",a,&t);
^
0_0_26297398_30483.cpp:79:4: error: missing terminating " character
0_0_26297398_30483.cpp:88:3: error: stray '\' in program
printf(\"%d\\n\",ans);
^
0_0_26297398_30483.cpp:88:3: error: missing terminating " character
0_0_26297398_30483.cpp: In function 'int dfs(std::string)':
0_0_26297398_30483.cpp:14:3: error: expected primary-expression before 'if'
if(l[i]==\' \'||l[i]==\'+\')continue;
^
0_0_26297398_30483.cpp:14:3: error: expected ';' before 'if'
0_0_26297398_30483.cpp:14:3: error: expected primary-expression before 'if'
0_0_26297398_30483.cpp:14:3: error: expected ')' before 'if'
0_0_26297398_30483.cpp:15:10: error: expected primary-expression before 'g'
string g=\"\";//物品g
^
0_0_26297398_30483.cpp:15:10: error: expected ')' before 'g'
0_0_26297398_30483.cpp:16:10: error: 'i' was not declared in this scope
for(;l[i]!=\'\\0\'&&l[i]!=\' \';i++)
^
0_0_26297398_30483.cpp:17:4: error: 'g' was not declared in this scope
g+=l[i];
^
0_0_26297398_30483.cpp: At global scope:
0_0_26297398_30483.cpp:25:2: error: expected unqualified-id before 'return'
return price;
^
0_0_26297398_30483.cpp:26:1: error: expected declaration before '}' token
}
^
|