摘要:
ST表 PID:P3865 //P3865 【模板】ST 表 & RMQ 问题 #include<bits/stdc++.h> using namespace std; int n,m,l,r,st[20][1000005],lg[1000005]; //st[i][j] [j,j+(1<<i)-1 阅读全文
posted @ 2026-09-28 20:21
_T_M_T
阅读(6)
评论(0)
推荐(0)
摘要:
DFS PID:P1706 //P1706 全排列问题 #include<bits/stdc++.h> #define int long long using namespace std; int n,f[101],a[101]; void dfs(int k){ if(k>n){ for(int 阅读全文
posted @ 2026-09-28 16:53
_T_M_T
阅读(3)
评论(0)
推荐(0)

浙公网安备 33010602011771号