| Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|---|
| 41742 | 23级徐泽厚 | 【S】T1 | C++ | 解答错误 | 60 | 0 MS | 264 KB | 399 | 2026-05-29 18:47:47 |
#include <bits/stdc++.h> #define int long long #define fst first #define sec second #define pb push_back using namespace std; int n; signed main(){ // freopen("test.in","r",stdin); // freopen("test.out","w",stdout); ios::sync_with_stdio(0); cin.tie(0);cout.tie(0); cin>>n; cout<<((n-1)%998244353)*((n-2)%998244353)<<"\n"; cout.flush(); return 0; }