摘要:
```cpp include define ll long long define re register define gc get_char define cs const namespace IO{ inline char get_char(){ static cs int Rlen=1 in 阅读全文
摘要:
```cpp include using namespace std; typedef long long ll; const int MAXN = 3e5 + 51, MOD = 998244353, G = 3, INVG = 332748118; int exponent, fd, cnt = 阅读全文
摘要:
```cpp include using namespace std; typedef long long ll; const int MAXN = 100000 + 5; //MAXN = sqrt(MAXINPUTN) const ll MOD = 1000000007, inv2 = 5000 阅读全文
摘要:
```cpp include using namespace std; typedef long long ll; int solve(); int main() { ifdef Yinku freopen("Yinku.in","r",stdin); endif // Yinku solve(); 阅读全文
摘要:
```cpp include define ll long long using namespace std; //N为n^(2/3)最快 int n; const int MAXN=5e6; unordered_map Smu; unordered_map Sphi; ll sump[MAXN+5 阅读全文
摘要:
```cpp include using namespace std; typedef long long ll; int n, m; const int MAXN = 1000005; int tot, v[MAXN], l[MAXN], r[MAXN], d[MAXN]; int gc[MAXN 阅读全文
摘要:
```cpp include using namespace std; typedef long long ll; inline int read() { char c = getchar(); int x = 0, f = 1; while(c '9') { if(c == ' ') f = 1; 阅读全文
摘要:
Problem C Medical Checkup 题意(大概):用n个人要排队体检,都必须从第1个项目开始体检,依次体检下去。其中第2个人必须在第1个人检查完第1个项目之后开始检查第1个项目。某个人体检每个项目的时间花费都是确定的。问t时刻每个人正在体检的项目是什么,假如t时刻某人已经体检完成,则 阅读全文
摘要:
https://ac.nowcoder.com/acm/contest/1221/E 想了一下,然后用文本编辑器魔改就过了,注意开空间要预留新加入的点。 include using namespace std; typedef long long ll; define ls(p) ch[p][0] 阅读全文