| 记录编号 | 425788 | 评测结果 | AAAAAAAAAA | ||
|---|---|---|---|---|---|
| 题目名称 | 2741.[济南集训 2017] 掰巧克力 | 最终得分 | 100 | ||
| 用户昵称 | 是否通过 | 通过 | |||
| 代码语言 | C++ | 运行时间 | 0.002 s | ||
| 提交时间 | 2017-07-15 20:35:02 | 内存使用 | 3.16 MiB | ||
#include<iostream>
#include<cstdio>
#include<algorithm>
#include<vector>
#include<cstring>
#include<set>
using namespace std;
long long a,b;
int main()
{
freopen("bpmp.in","r",stdin);
freopen("bpmp.out","w",stdout);
scanf("%lld%lld",&a,&b);
long long c=((a%998244353)*(b%998244353))%998244353-1;
printf("%lld",c);
return 0;
}