记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:36:8: warning: unused variable 'i' [-Wunused-variable]
  int n,i, k=7; cin>>n>>k;
        ^
foo.cc: In function 'void Jeseph(int, int*, int)':
foo.cc:19:11: warning: 'kk' may be used uninitialized in this function [-Wmaybe-uninitialized]
   for(int kk;kk<k;kk++)
           ^~
foo.cc: In function 'int main()':
foo.cc:38:2: warning: 'kk' may be used uninitialized in this function [-Wmaybe-uninitialized]
  for(int kk;kk<k;kk++)
  ^~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 1ms 336.0 KiB
#2 Time Exceeded ≥1434ms ≥384.0 KiB
#3 Time Exceeded ≥1436ms ≥384.0 KiB
#4 Time Exceeded ≥1414ms ≥388.0 KiB
#5 Time Exceeded ≥1447ms ≥512.0 KiB

信息

递交者
类型
递交
题目
2-2 约瑟夫问题
比赛
2020苏青奥赛集训营(2021-3-21课后作业)
语言
C++
递交时间
2021-03-22 20:21:33
评测时间
2021-03-22 20:21:33
评测机
分数
0
总耗时
5734ms
峰值内存
512.0 KiB