#include <bits/stdc++.h>
#define ll long long
#define PII pair<int, int>
#define INF 1e18
#define inf 1e9
using namespace std;
const int mod = 998244353;
inline int read() {
char ch = getchar(); int x = 0, f = 1;
while (!isdigit(ch)) {if (ch == '-') {f = -1;} ch = getchar();}
while (isdigit(ch)) {x = x * 10 + ch - 48; ch = getchar();}
return x * f;
}
inline ll readll() {
char ch = getchar(); ll x = 0, f = 1;
while (!isdigit(ch)) {if (ch == '-') {f = -1;} ch = getchar();}
while (isdigit(ch)) {x = x * 10 + ch - 48; ch = getchar();}
return x * f;
}
void write(int x) {
if (!x) return;
write(x / 10); putchar(x % 10 + '0');
}
inline void print(int x, char ch = '\n') {
if (x < 0) putchar('-'), x = -x;
if (!x) putchar('0');
else write(x);
putchar(ch);
}
void writell(ll x) {
if (!x) return;
writell(x / 10); putchar(x % 10 + '0');
}
inline void printll(ll x, char ch = '\n') {
if (x < 0) putchar('-'), x = -x;
if (!x) putchar('0');
else writell(x);
putchar(ch);
}
inline int add(int x, int y) {x += y; return x >= mod ? x - mod : x;}
inline int del(int x, int y) {x -= y; return x < 0 ? x + mod : x;}
inline void Add(int &x, int y) {x = add(x, y);}
inline void Del(int &x, int y) {x = del(x, y);}
inline int qpow(int x, int y) {
int res = 1;
while (y) {
if (y & 1) res = 1ll * res * x % mod;
x = 1ll * x * x % mod;
y >>= 1;
}
return res;
}
int main() {
}剪贴板
剪贴板 vuo6lyum
剪贴板信息
剪贴板信息
- 收录
- 更新