记录详情

Accepted

/in/foo.cc: In function 'int search(std::vector<int>&)':
/in/foo.cc:8:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<r.size();i++)
              ~^~~~~~~~~
/in/foo.cc:10:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int j=i+1;j<r.size();j++)
                 ~^~~~~~~~~
/in/foo.cc:7:6: warning: unused variable 'count' [-Wunused-variable]
  int count=0;
      ^~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:24:12: warning: unused variable 'count' [-Wunused-variable]
  int n1,n2,count=0;
            ^~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 316.0 KiB
#2 Accepted 2ms 328.0 KiB
#3 Accepted 5ms 332.0 KiB
#4 Accepted 6ms 320.0 KiB
#5 Accepted 10ms 436.0 KiB

信息

递交者
类型
递交
题目
2-3 参赛人数
比赛
课程赛事 2018/12/1
语言
C++
递交时间
2018-12-01 09:12:38
评测时间
2018-12-01 09:12:38
评测机
分数
100
总耗时
26ms
峰值内存
436.0 KiB