为什么不是满分

tctm169 我以逍遥醉人间 2024-07-28 15:37:05 6

#include <bits/stdc++.h> #include #include #include #include #include #include using namespace std; int main() { int n; cin >> n; if (n == 0) { cout << 0; return 0; } int a, b; long long sum = 1; for (int i = 1; i <= n; i++) { sum *= 1992; int ge = sum % 10; a = ge; int shi = sum / 10 % 10; b = shi; }

cout << b << a;
return 0;

}

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