记录详情

Accepted

/in/foo.cc: In function 'int Create_L(node*&, int)':
/in/foo.cc:12:17: warning: unused variable 'r' [-Wunused-variable]
  Linklist s,g,p,r;//指示指针
                 ^
/in/foo.cc:30:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'int Sum_L(Linklist, int)':
/in/foo.cc:42:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'int Print_L(Linklist)':
/in/foo.cc:52:1: warning: no return statement in function returning non-void [-Wreturn-type]
 } 
 ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:55:13: warning: unused variable 'w' [-Wunused-variable]
  Linklist L,w;
             ^
/in/foo.cc:56:10: warning: unused variable 'sum' [-Wunused-variable]
  int n,x,sum=0; 
          ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 400.0 KiB
#2 Accepted 1ms 372.0 KiB
#3 Accepted 1ms 340.0 KiB
#4 Accepted 1ms 356.0 KiB
#5 Accepted 1ms 408.0 KiB

信息

递交者
类型
递交
题目
P1036 OO8-1 一元多项式链表类的求值
比赛
2024春 面向对象的程序设计方法(第3场作业赛)
语言
C++
递交时间
2024-05-05 11:29:01
评测时间
2024-05-05 11:29:01
评测机
分数
100
总耗时
8ms
峰值内存
408.0 KiB