Status: IN
`roman_to_int` uses a left-to-right single-pass scan that subtracts `values[s[i]]` when it is less than `values[s[i+1]]`, correctly handling all six Roman subtraction pairs (IV, IX, XL, XC, CD, CM).
Source: entries/2026/06/06/roman-to-integer-solution.md
JSON