以下是一个使用C++编写的程序,用于将罗马数字转换为十进制数字。
#include <iostream>
#include <unordered_map>
using namespace std;
int romanToInt(string s) {
unordered_map<char, int<
以下是一个使用C++编写的程序,用于将罗马数字转换为十进制数字。
#include <iostream>
#include <unordered_map>
using namespace std;
int romanToInt(string s) {
unordered_map<char, int<