为什么90分

tctm169 我以逍遥醉人间 2024-07-28 15:39:01 3

#include <bits/stdc++.h> #include #include #include #include #include #include #include using namespace std; long long int n, sum; int main() { scanf("%d", &n); while (n != 0) { sum += n % 10; n = n / 10; } cout << sum; }

{{ vote && vote.total.up }}