Run ID:148170
提交时间:2026-02-09 19:53:31
#include<bits/stdc++.h> using namespace std; int main() { int c; cin>>c; while(c--) { int n; cin >> n; long long s = n * n; cout << s%10000 << endl; } return 0; }