/ 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++)
      |               ~^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 1ms 256.0 KiB
#2 Runtime Error Segmentation fault 1ms 384.0 KiB
#3 Runtime Error Segmentation fault 2ms 384.0 KiB
#4 Runtime Error Segmentation fault 1ms 256.0 KiB
#5 Runtime Error Segmentation fault 1ms 256.0 KiB
#6 Runtime Error Segmentation fault 1ms 256.0 KiB
#7 Runtime Error Segmentation fault 2ms 256.0 KiB
#8 Runtime Error Segmentation fault 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1092 全排列
语言
C++
递交时间
2022-03-08 19:17:39
评测时间
2022-03-08 19:17:39
评测机
分数
0
总耗时
13ms
峰值内存
384.0 KiB