/ Vijos /

记录详情

Runtime Error

foo.cc: In function ‘bool permutation(int)’:
foo.cc:37:12: warning: control reaches end of non-void function [-Wreturn-type]
   37 | permutation(w-1);
      | ~~~~~~~~~~~^~~~~
foo.cc: In function ‘int main()’:
foo.cc:42:5: warning: iteration 24 invokes undefined behavior [-Waggressive-loop-optimizations]
   42 | k[i]=i;
      | ~~~~^~
foo.cc:41:16: note: within this loop
   41 | for(R int i=1;i<=25;i++)
      |               ~^~~~
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 2ms 536.0 KiB
#2 Runtime Error Segmentation fault 2ms 536.0 KiB
#3 Runtime Error Segmentation fault 2ms 536.0 KiB
#4 Runtime Error Segmentation fault 2ms 324.0 KiB
#5 Runtime Error Segmentation fault 2ms 536.0 KiB
#6 Runtime Error Segmentation fault 2ms 320.0 KiB
#7 Runtime Error Segmentation fault 2ms 536.0 KiB
#8 Runtime Error Segmentation fault 2ms 536.0 KiB

信息

递交者
类型
递交
题目
P1092 全排列
语言
C++
递交时间
2024-09-23 12:15:57
评测时间
2024-09-23 12:15:57
评测机
分数
0
总耗时
21ms
峰值内存
536.0 KiB