ZOJ 4016 Mergeable Stack 链表
题解: 题目说起来是栈的样子,然而是模拟链表的做法,这道题可以用STL的list(这个是我在比赛之后学的。。蛋疼,手撸又撸不出来),也可以像我朋友一样C语言手撸出来个链表:https://www.cnblogs.com/jaydenouyang/p/8747352.html ORZ。#include<stdio.h>#include<string.h>#include<algorit
原创
2018-04-11 13:06:29 ·
224 阅读 ·
0 评论