C語言string實現大數加法

#include <iostream> #include <string> #include <cstring> using namespace std; string Add(string a, string b) { //a一直爲位數較長的字符串 if (a.length() < b.length()) { a.swap(b); } string re
相關文章
相關標籤/搜索