1 条题解
-
0
#include <bits/stdc++.h> using namespace std; #define int long long const int mod = 1e9 + 7; void solve(){ int n; cin >> n; int ans = ((n % mod) * (n % mod)) % mod; cout << ans << endl; } signed main(){ ios::sync_with_stdio(0); cin.tie(0), cout.tie(0); int T = 1; // cin >> T; while(T--){ solve(); } return 0; }
- 1
信息
- ID
- 1133
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 8
- 标签
- (无)
- 递交数
- 16
- 已通过
- 6
- 上传者