Leetcode. Roman to Integer - Solution (C++)