[链表(linked list)] [洛谷] P1160 队列安排
模拟链表
#include <iostream>
using namespace std;
const int MAXN = 1e5 + 10;
int head = 1;
struct num
{
int right;
int left;
}arr[MAXN];
void joinl(int x, int y)
{
arr[x].left = ...
原创
2018-07-28 14:15:54 ·
270 阅读 ·
0 评论