摘要:
赛时情况 T1: 矩乘板子 T2:CF1555D Say No to Palindromes打了个暴力T了 T3:CF1117D Magic Gems 矩乘,递推式本来推对了,后来又改错了,最后又改回来了 T4:CF514E Darth Vader and Tree不会 T5: $\left \lf 阅读全文
摘要:
#include <bits/stdc++.h> #define int long long using namespace std; const int N = 2e5 + 5, M = 10000 + 5; const int INF = 0x3f3f3f3f; int n, m, k; str 阅读全文
摘要:
#include<bits/stdc++.h> using namespace std; #define int long long const int MAXN = 2e5 + 5; int c[MAXN], ans[MAXN], a[MAXN], maxn, n, y; int lowbit(i 阅读全文