0_0_34106925_18505.cpp: In function 'int main()':
0_0_34106925_18505.cpp:37:21: error: expected ')' before 'p'
tt+=(mp[abs(i)]p[a-mbs(p-i)])*abs(i);
^
0_0_34106925_18505.cpp:39:5: error: expected '}' before 'else'
else ica+=(mp[abs(i)]-mp[abs(p-i)]);
^
0_0_34106925_18505.cpp:39:10: error: 'ica' was not declared in this scope
else ica+=(mp[abs(i)]-mp[abs(p-i)]);
^
0_0_34106925_18505.cpp:40:31: error: 'f' was not declared in this scope
}f(mp[abs(i)]<mp[abs(p-i)]){
^
0_0_34106925_18505.cpp:46:6: error: 'tt' was not declared in this scope
if(tt){
^
0_0_34106925_18505.cpp:47:4: error: 'ans' was not declared in this scope
ans+=ca-1;ans+=(tt/p-1);
^
0_0_34106925_18505.cpp:47:9: error: 'ca' was not declared in this scope
ans+=ca-1;ans+=(tt/p-1);
^
0_0_34106925_18505.cpp:47:23: error: 'p' was not declared in this scope
ans+=ca-1;ans+=(tt/p-1);
^
0_0_34106925_18505.cpp:49:31: error: 'ans' was not declared in this scope
cout<<"Case #"<<step<<": "<<ans<<"\n";
^
0_0_34106925_18505.cpp: At global scope:
0_0_34106925_18505.cpp:51:2: error: expected unqualified-id before 'return'
return 0;
^
0_0_34106925_18505.cpp:52:1: error: expected declaration before '}' token
}
^
|