🌈 搜索
📅  最后修改于: 2022-03-11 14:44:47.260000             🧑  作者: Mango
// Sum digits in vector int digit_sum(vector num) { int sum = 0; for (auto x : num) sum += x; return sum; }