This commit is contained in:
nonstriater
2014-05-07 11:24:51 +08:00
parent bed6d32fa1
commit 3954690000
18 changed files with 729 additions and 128 deletions
+8 -2
View File
@@ -10,8 +10,8 @@ int string_to_integer(char *s,int length)
1. s是空字符串
2. s传参为非数字字符
3. 超出整数所能表示范围
类似的题目还有:
请编写能直接实现int atoi(const char * pstr)函数功能的代码。 将字符串转出整数
题目:求1+2+…+n,
@@ -68,6 +68,12 @@ tmp[i]= tmp[i]>=0?tmp[i]:tmp[i]+16;
大整数乘法(或 大整数阶乘)
请使用代码计算1234567891011121314151617181920*2019181716151413121110987654321 。