Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
160318 Kevin 笨鸟先飞 C++ Accepted 2 MS 272 KB 238 2026-09-15 15:37:52

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int T; cin>>T; while(T--){ long long n; cin>>n; long long ans = (n * n) % 10000; cout << ans << endl; } return 0; }