ReiAC's Blog

Recent content on ReiAC's Blog

马上订阅 ReiAC's Blog RSS 更新: https://rei.ac/index.xml

ICPC2020济南A Matrix Equation

2020年12月31日 20:43

这个题算是个翻车题,做出来可以铁翻银的,燃鹅翻车在这个题上了

证明

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#include<bits/stdc++.h>
//#include<bits/extc++.h>
#define int long long
//#define int __int128
#define ull unsigned long long
#define MMST(x,y) memset(x,y,sizeof(x))

using namespace std;
//using namespace __gnu_pbds;

const int INF=0x3f3f3f3f;
const int MOD=998244353;

int read(){char c;int num,f=1;while(c=(char)getchar(),!isdigit(c))if...

剩余内容已隐藏

查看完整文章以阅读更多