记录详情

Accepted

/in/foo.cc: In function 'void change(std::vector<int>)':
/in/foo.cc:22:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0;i < p.size();i++) {
                 ~~^~~~~~~~~~
/in/foo.cc:23:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int j = i+1;j < p.size();j++) {
                    ~~^~~~~~~~~~
/in/foo.cc: In function 'void add(std::vector<int>)':
/in/foo.cc:32:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (p.size()>=lim) return;
      ~~~~~~~~^~~~~
/in/foo.cc:33:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0;i < p.size();i++) {
                 ~~^~~~~~~~~~
/in/foo.cc: In function 'void delt(std::vector<int>)':
/in/foo.cc:74:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0;i < p.size();i++) {
                 ~~^~~~~~~~~~
/in/foo.cc:83:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   } else if (i==p.size()-1) {
              ~^~~~~~~~~~~~
/in/foo.cc: In function 'void bfs()':
/in/foo.cc:104:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (h.k.size()>lim) continue;
       ~~~~~~~~~~^~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 192.0 KiB
#2 Accepted 1ms 212.0 KiB
#3 Accepted 1ms 200.0 KiB
#4 Accepted 1ms 204.0 KiB
#5 Accepted 6ms 492.0 KiB
#6 Accepted 1ms 204.0 KiB
#7 Accepted 35ms 1.246 MiB
#8 Accepted 188ms 3.574 MiB
#9 Accepted 247ms 4.953 MiB
#10 Accepted 10ms 520.0 KiB

信息

递交者
类型
递交
题目
P1131 教主的难题
比赛
南京师范大学算法竞赛之2020年寒假战“疫”系列赛Round2 总第72期赛
语言
C++
递交时间
2020-02-11 15:01:24
评测时间
2020-02-11 15:01:24
评测机
分数
100
总耗时
496ms
峰值内存
4.953 MiB