update
This commit is contained in:
+8
-2
@@ -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 。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user