0_0_31202061_11916.cpp:8:1: error: 'mp' does not name a type
mp<char,int>mp;
^
0_0_31202061_11916.cpp: In function 'int main()':
0_0_31202061_11916.cpp:12:2: error: 'mp' was not declared in this scope
mp['I']=1,mp['V']=5,mp['X']=10,mp['L']=50,mp['C']=100,mp['D']=500,mp['M']=1000;
^
0_0_31202061_11916.cpp:18:20: error: 'ans' was not declared in this scope
if(s[i]<s[i-1]) ans-=mp[s[i]];
^
|