记录详情

Accepted

/in/foo.cc: In function 'void change(std::vector<int>)':
/in/foo.cc:21:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < p.size(); i++) {
                  ~~^~~~~~~~~~
/in/foo.cc:22:25: 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:31:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (p.size() >= lim) return;
      ~~~~~~~~~^~~~~~
/in/foo.cc:32:20: 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:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < p.size(); i++) {
                  ~~^~~~~~~~~~
/in/foo.cc:84:14: 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:106:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (h.k.size() > lim) continue;
       ~~~~~~~~~~~^~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 204.0 KiB
#2 Accepted 1ms 200.0 KiB
#3 Accepted 1ms 212.0 KiB
#4 Accepted 1ms 200.0 KiB
#5 Accepted 6ms 488.0 KiB
#6 Accepted 1ms 196.0 KiB
#7 Accepted 33ms 1.328 MiB
#8 Accepted 187ms 3.578 MiB
#9 Accepted 249ms 5.051 MiB
#10 Accepted 10ms 516.0 KiB

信息

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