记录详情

Accepted

/in/foo.cc:1:19: warning: extra tokens at end of #include directive
 #include <fstream>   
                   ^
/in/foo.cc:2:17: warning: extra tokens at end of #include directive
 #include <cmath>   
                 ^
/in/foo.cc:3:20: warning: extra tokens at end of #include directive
 #include <iostream>   
                    ^
/in/foo.cc:5:17: warning: extra tokens at end of #include directive
 #include<vector>   
                 ^
/in/foo.cc: In member function 'list& list::jiaoji(list&)':
/in/foo.cc:24:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i=0;i<data.size();i++)
               ~^~~~~~~~~~~~
/in/foo.cc:25:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int j=0;j<l2.data.size();j++)
                ~^~~~~~~~~~~~~~~
/in/foo.cc:30:2: warning: no return statement in function returning non-void [-Wreturn-type]
  }
  ^
/in/foo.cc: In member function 'void list::output()':
/in/foo.cc:33:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i=0;i<data.size();i++)
               ~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 208.0 KiB
#2 Accepted 1ms 220.0 KiB
#3 Accepted 1ms 220.0 KiB
#4 Accepted 1ms 216.0 KiB
#5 Accepted 1ms 224.0 KiB

信息

递交者
类型
递交
题目
P1015 OO3-2 无序顺序表类的集合运算
比赛
《面向对象的程序设计方法》的课程测验
语言
C++
递交时间
2021-06-22 11:29:01
评测时间
2021-06-22 11:29:01
评测机
分数
100
总耗时
8ms
峰值内存
224.0 KiB