今年普及组复赛好水,模拟250轻轻松松
题目见小熊的果篮
这题不就是链表吗?水的要死
#include<bits/stdc++.h>
#define N 200005
using namespace std;
struct Info {
int x, pre, nxt;
};
Info a[N];
int h[N];
vector <int> v[2];
int main() {
int n;
scanf ("%d"
今年普及组复赛好水,模拟250轻轻松松
题目见小熊的果篮
这题不就是链表吗?水的要死
#include<bits/stdc++.h>
#define N 200005
using namespace std;
struct Info {
int x, pre, nxt;
};
Info a[N];
int h[N];
vector <int> v[2];
int main() {
int n;
scanf ("%d"