| 记录编号 | 550186 | 评测结果 | AAAAAAAAAA | ||
|---|---|---|---|---|---|
| 题目名称 | 2877.老凯的疑惑 | 最终得分 | 100 | ||
| 用户昵称 | 是否通过 | 通过 | |||
| 代码语言 | C++ | 运行时间 | 0.005 s | ||
| 提交时间 | 2020-03-04 11:43:54 | 内存使用 | 13.66 MiB | ||
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll p=998244353;
ll n,ans;
int main()
{
freopen("confuse.in","r",stdin);
freopen("confuse.out","w",stdout);
scanf("%lld",&n);
n%=p;
ans=n*n%p;
printf("%lld\n",ans);
return 0;
}