Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

这道题用链表会很慢吗?麻烦大家进来看下

Posted by dengd at 2010-02-06 16:48:10 on Problem 3481
我想试试用带头结点的链表做
输入1时插入节点,此时会进行比较,建立有序链表
输入2时把链表末端节点数据输出并删除该结点
输入3时把链表首个节点数据输出并删除该结点
输入0时退出
我提交超时了。。。
话说这样会很慢么?

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator