Runtime Error

/in/foo.cc: In function 'int search(Node)':
/in/foo.cc:135:1: warning: control reaches end of non-void function [-Wreturn-type]
  135 | }
      | ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:141:10: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations]
  141 | hashs[i] = hashs[i-1] * i;
      | ~~~~~~~~~^~~~~~~~~~~~~~~~
/in/foo.cc:140:14: note: within this loop
  140 | for(int i=1;i<11;i++){
      |             ~^~~
# 状态 耗时 内存占用
#1 Runtime Error 173ms 1.758 MiB
#2 Runtime Error 171ms 1.75 MiB
#3 Runtime Error 186ms 1.746 MiB
#4 Runtime Error 184ms 1.719 MiB
#5 Runtime Error 175ms 1.754 MiB
#6 Runtime Error 174ms 1.754 MiB
#7 Runtime Error 170ms 1.746 MiB
#8 Runtime Error 171ms 1.684 MiB
#9 Runtime Error 205ms 1.711 MiB
#10 Wrong Answer 4ms 1004.0 KiB

信息

递交者
类型
递交
题目
P1188 八数码问题
语言
C++
递交时间
2025-07-15 19:19:23
评测时间
2025-07-15 19:19:23
评测机
分数
0
总耗时
1616ms
峰值内存
1.758 MiB