mirror of
https://github.com/labuladong/fucking-algorithm.git
synced 2025-07-04 19:28:07 +08:00
update function name
This commit is contained in:
@ -7879,7 +7879,7 @@ https://leetcode.cn/problems/ba-zi-fu-chuan-zhuan-huan-cheng-zheng-shu-lcof 的
|
||||
// by chatGPT (cpp)
|
||||
class Solution {
|
||||
public:
|
||||
int myAtoi(string str) {
|
||||
int strToInt(string str) {
|
||||
int n = str.length();
|
||||
int i = 0;
|
||||
// 记录正负号
|
||||
|
Reference in New Issue
Block a user