Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:70:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   70 |     for(int i=0; i<a.size();i++){
      |                  ~^~~~~~~~~
/in/foo.cc: In function 'int bfs()':
/in/foo.cc:64:1: warning: control reaches end of non-void function [-Wreturn-type]
   64 | }
      | ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:76:11: warning: 'z' may be used uninitialized [-Wmaybe-uninitialized]
   76 |     a += z+'0';
      |          ~^~~~
/in/foo.cc:69:9: note: 'z' was declared here
   69 |     int z;
      |         ^
# 状态 耗时 内存占用
#1 Runtime Error 309ms 14.547 MiB
#2 Runtime Error 309ms 14.547 MiB
#3 Runtime Error 320ms 14.535 MiB
#4 Runtime Error 320ms 14.523 MiB
#5 Runtime Error 316ms 14.516 MiB
#6 Runtime Error 317ms 14.551 MiB
#7 Runtime Error 327ms 14.543 MiB
#8 Runtime Error 327ms 14.543 MiB
#9 Runtime Error 286ms 14.512 MiB
#10 Wrong Answer 73ms 5.961 MiB

信息

递交者
类型
递交
题目
P1188 八数码问题
语言
C++
递交时间
2025-03-28 21:05:57
评测时间
2025-03-28 21:05:57
评测机
分数
0
总耗时
2908ms
峰值内存
14.551 MiB