| Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|---|
| 41744 | 23级徐泽厚 | 【S】T1 | C++ | 通过 | 100 | 0 MS | 268 KB | 411 | 2026-05-29 18:49:35 |
#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)%998244353)<<"\n"; cout.flush(); return 0; }