/ WHOJ /

记录详情

Time Exceeded

foo.cc: In function 'void DestroyList_L(LNode*&)':
foo.cc:26:14: warning: statement has no effect [-Wunused-value]
   26 |  for(L->prior==NULL; p; p=p->prior) //从后向前逐个销毁
      |              ^
foo.cc: In function 'int CreateList_L(LNode*&)':
foo.cc:84:6: warning: unused variable 'i' [-Wunused-variable]
   84 |  int i,n;
      |      ^
foo.cc: In function 'int Merg_L(LinkList, LinkList, LNode*&)':
foo.cc:135:17: warning: unused variable 'pc' [-Wunused-variable]
  135 |  LinkList pa,pb,pc,t;    //定义指向三个链表元素的指针
      |                 ^~
foo.cc: In function 'int CreateList_L(LNode*&)':
foo.cc:98:1: warning: control reaches end of non-void function [-Wreturn-type]
   98 | }
      | ^
foo.cc: In function 'int Merg_L(LinkList, LinkList, LNode*&)':
foo.cc:149:1: warning: control reaches end of non-void function [-Wreturn-type]
  149 | }
      | ^
Found 1 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1064ms ≥256.016 MiB

信息

递交者
类型
递交
题目
P1309 双向链表实验
题目数据
下载
语言
C++
递交时间
2022-07-27 16:59:40
评测时间
2022-07-27 16:59:40
评测机
分数
0
总耗时
≥1064ms
峰值内存
≥256.016 MiB