题目: Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999. 代码: class Solution { public: int romanToInt(string s) { ; std::map<char, int> symbol_value; char symbol_ori[size] = {'M','D','C','L','X',…