/ Vijos /

记录详情

Accepted

/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:18: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations]
  141 |         hashs[i] = hashs[i-1] * i;
      |         ~~~~~~~~~^~~~~~~~~~~~~~~~
/in/foo.cc:140:18: note: within this loop
  140 |     for(int i=1;i<11;i++){
      |                 ~^~~
# 状态 耗时 内存占用
#1 Accepted 3ms 1004.0 KiB
#2 Accepted 3ms 1.0 MiB
#3 Accepted 2ms 792.0 KiB
#4 Accepted 2ms 1000.0 KiB
#5 Accepted 2ms 1.004 MiB
#6 Accepted 2ms 1016.0 KiB
#7 Accepted 2ms 812.0 KiB
#8 Accepted 2ms 788.0 KiB

信息

递交者
类型
递交
题目
P1360 八数码问题
语言
C++
递交时间
2025-12-17 23:27:47
评测时间
2025-12-17 23:27:47
评测机
分数
100
总耗时
20ms
峰值内存
1.004 MiB