摘要:
class Solution {public: int atoi(const char *str) { // Start typing your C/C++ solution below // DO NOT write int main() function int flag = 0; int plus=0; bool tozero=false; int sum = 0; int sum_num=0; for( const char *p = str; *p != '\0'... 阅读全文