摘要:
题目 代码 #include <iostream> #include <algorithm> #include <cstring> using namespace std; const int N = 100010; int queue[N]; int hh = 0, tt = -1; //[hh, 阅读全文
posted @ 2025-02-27 16:46
electricity111
阅读(16)
评论(0)
推荐(0)
摘要:
题目 代码 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 100010; int stack[N], tt; void push_stack(int x) 阅读全文
posted @ 2025-02-27 16:33
electricity111
阅读(21)
评论(0)
推荐(0)
摘要:
题目 代码 #include <iostream> #include <algorithm> #include <cstring> using namespace std; const int N = 100010; int e[N], idx, l[N], r[N]; void init() { 阅读全文
posted @ 2025-02-27 16:04
electricity111
阅读(19)
评论(0)
推荐(0)
摘要:
题目 代码 #include <iostream> #include <algorithm> #include <cstring> using namespace std; const int N = 100010; int head, idx, e[N], ne[N]; // 两个值,两个数组 / 阅读全文
posted @ 2025-02-27 11:12
electricity111
阅读(23)
评论(0)
推荐(0)
浙公网安备 33010602011771号