/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'node* move(node*, short int)':
/in/foo.cc:24:13: warning: unused variable 'k' [-Wunused-variable]
   24 |         int k,i,j;
      |             ^
/in/foo.cc: At global scope:
/in/foo.cc:156:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
  156 | main()
      | ^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:159:30: warning: unused variable 'head2' [-Wunused-variable]
  159 |         node *head1,*tail1, *head2, *tail2;
      |                              ^~~~~
/in/foo.cc:159:38: warning: unused variable 'tail2' [-Wunused-variable]
  159 |         node *head1,*tail1, *head2, *tail2;
      |                                      ^~~~~
/in/foo.cc:162:34: warning: unused variable 'hash2' [-Wunused-variable]
  162 |         node_search_tree *hash1,*hash2;
      |                                  ^~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 476.0 KiB
#2 Runtime Error 2ms 552.0 KiB
#3 Runtime Error 2ms 532.0 KiB
#4 Runtime Error 2ms 532.0 KiB
#5 Runtime Error 3ms 380.0 KiB
#6 Runtime Error 2ms 532.0 KiB
#7 Runtime Error 2ms 548.0 KiB
#8 Runtime Error 2ms 540.0 KiB

信息

递交者
类型
递交
题目
P1360 八数码问题
语言
C++
递交时间
2025-10-10 10:12:58
评测时间
2025-10-10 10:12:58
评测机
分数
10
总耗时
20ms
峰值内存
552.0 KiB