As you build the lookup table for converting integers to Roman numerals, you can build the reverse lookup table to convert Roman numerals to integers.
As you build the lookup table for converting integers to Roman numerals, you can build the reverse lookup table to convert Roman numerals to integers.
你建立了整数到罗马数数字的条格之时查询表的时候,罗马数数字到整数的相反表格也同样构建逆向查询表也构建了。