记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:11:6: warning: unused variable 'i' [-Wunused-variable]
  int i = 0;
      ^
foo.cc:7:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d", &n, &m);
  ~~~~~^~~~~~~~~~~~~~~~
foo.cc:9:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d", &x); data.push_back(x);
   ~~~~~^~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 2ms 384.0 KiB
#2 Runtime Error Segmentation fault 2ms 384.0 KiB
#3 Runtime Error Segmentation fault 3ms 384.0 KiB
#4 Runtime Error Segmentation fault 6ms 568.0 KiB
#5 Runtime Error Segmentation fault 150ms 768.0 KiB

信息

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