Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 to 3999. 思路:罗马数字共有七个,即I(1),V(5),X(10),L(50),C(100),D(500),M(1000). 第一步,按照千分位,百分位...一一算下来. class Solution { public: string intToRoman(int num) { int quo…