摘要:
Problem I: Roman to IntegerGiven a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999.解决思路1.将字符和整数存入map... 阅读全文
摘要:
Problem IGiven an array of integers, every element appearstwiceexcept for one. Find that single one.解决思路全部的元素进行异或,输出结果。ProblemIIGiven an array of inte... 阅读全文
摘要:
Problem IWrite a program to check whether a given number is an ugly number.Ugly numbers are positive numbers whose prime factors only include2, 3, 5. ... 阅读全文