/ 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 2ms 1020.0 KiB
#2 Accepted 2ms 984.0 KiB
#3 Accepted 1ms 880.0 KiB
#4 Accepted 2ms 856.0 KiB
#5 Accepted 2ms 792.0 KiB
#6 Accepted 2ms 1000.0 KiB
#7 Accepted 2ms 908.0 KiB
#8 Accepted 2ms 832.0 KiB

信息

递交者
类型
递交
题目
P1360 八数码问题
语言
C++
递交时间
2025-03-28 21:02:39
评测时间
2025-03-28 21:02:39
评测机
分数
100
总耗时
17ms
峰值内存
1020.0 KiB