🌈 搜索
📅  最后修改于: 2022-03-11 14:48:42.902000             🧑  作者: Mango
sum = 0; while (n != 0) { sum += n % 10; n /= 10; }