摘要: 文字输入可以想到用堆栈(先接受高位数) ` int tans(char *S) { int sum = 0; int i = 0; while (isdigit(S[i])) { sum = sum * 10 + (S[i++] - '0'); } return sum; } ` 阅读全文
posted @ 2020-09-14 22:44 AUwegst 阅读(98) 评论(0) 推荐(0) 编辑