/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'std::vector<std::pair<unsigned int, int> >::iterator ser(int)':
/in/foo.cc:30:95: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(iter=hash_step[ha_in%MOD].begin();iter!=hash_step[ha_in%MOD].end();iter++) if(iter->first==ha_in) break;
                                                                                    ~~~~~~~~~~~^~~~~~~
/in/foo.cc: In function 'void rebfs()':
/in/foo.cc:36:12: warning: 'i' is used uninitialized in this function [-Wuninitialized]
  while(in[i]!=0) i++;
            ^
/in/foo.cc:35:6: note: 'i' was declared here
  int i;
      ^
/in/foo.cc: In function 'void bfs()':
/in/foo.cc:36:12: warning: 'i' is used uninitialized in this function [-Wuninitialized]
  while(in[i]!=0) i++;
            ^
/in/foo.cc:35:6: note: 'i' was declared here
  int i;
      ^
# 状态 耗时 内存占用
#1 Runtime Error 5ms 2.562 MiB
#2 Runtime Error 4ms 2.5 MiB
#3 Runtime Error 5ms 2.5 MiB
#4 Runtime Error 6ms 2.727 MiB
#5 Runtime Error 5ms 2.504 MiB
#6 Runtime Error 6ms 2.625 MiB
#7 Runtime Error 6ms 2.5 MiB
#8 Runtime Error 4ms 2.5 MiB

信息

递交者
类型
递交
题目
P1360 八数码问题
语言
C++
递交时间
2017-07-24 20:43:10
评测时间
2017-07-24 20:43:10
评测机
分数
0
总耗时
45ms
峰值内存
2.727 MiB