摘要:
点击查看代码 #include<iostream> using namespace std; const int N = 1e5 + 10; int s[N], idx = 0; void push(int x) { s[idx] = x; idx ++; } void pop() { idx -- 阅读全文
posted @ 2022-04-29 23:26
wKingYu
阅读(34)
评论(0)
推荐(0)
摘要:
点击查看代码 #include<iostream> using namespace std; const int N = 1e5 + 10; int e[N], r[N], l[N]; int idx; void init() { r[0] = 1; l[1] = 0; idx = 2; } voi 阅读全文
posted @ 2022-04-29 23:14
wKingYu
阅读(34)
评论(0)
推荐(0)

浙公网安备 33010602011771号