Accepted

/in/foo.cc: In function 'int output(std::vector<Student>)':
/in/foo.cc:17:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<a.size();i++)
              ~^~~~~~~~~
/in/foo.cc:21:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<20&&i<a.size();i++)
                    ~^~~~~~~~~
/in/foo.cc:27:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Accepted 2ms 208.0 KiB
#2 Accepted 2ms 220.0 KiB
#3 Accepted 2ms 224.0 KiB
#4 Accepted 2ms 348.0 KiB
#5 Accepted 3ms 336.0 KiB

信息

递交者
类型
递交
题目
P1005 学生信息记录
比赛
2020盛泽二中奥赛集训营(2021-5-30作业)
语言
C++
递交时间
2021-06-08 17:33:39
评测时间
2021-06-08 17:33:39
评测机
分数
100
总耗时
12ms
峰值内存
348.0 KiB