摘要: Related to questionExcel Sheet Column TitleGiven a column title as appear in an Excel sheet, return its corresponding column number.For example: A ... 阅读全文
posted @ 2014-12-29 15:25 purejade 阅读(102) 评论(0) 推荐(0) 编辑
摘要: Given two integers representing the numerator and denominator of a fraction, return the fraction in string format.If the fractional part is repeating,... 阅读全文
posted @ 2014-12-29 15:14 purejade 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 问题: abs(INT_MIN) 为负数?思路:首先要明确int的取值范围在C++中包含在#include中,由宏变量INT_MAX和INT_MIN表示;其次明确int,long int,以及long long int的字节长度,可以用sizeof(type)查出;由于long int是为了兼容32... 阅读全文
posted @ 2014-12-29 14:52 purejade 阅读(676) 评论(0) 推荐(0) 编辑