摘要:
#include <bits/stdc++.h> using namespace std; const int N = 1e6 + 5; int n, p[N]; string s; int main() { ios::sync_with_stdio(0); cin.tie(0); cin >> s 阅读全文
摘要:
Dihedral Group 猜结论,我们观察样例就可以猜到,只要 \(t\) 可以被 \(d\) 在一个圆上正着或泛着表示即可 #include <bits/stdc++.h> using namespace std; #define int long long const int N = 5e4 阅读全文