记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:28:23: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
    scanf("%d", a[i][j]);
                ~~~~~~~^
foo.cc:23:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d", &n);
  ~~~~~^~~~~~~~~~
foo.cc:28:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%d", a[i][j]);
    ~~~~~^~~~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 2ms 368.0 KiB

信息

递交者
类型
自测
题目
P1024 收衣服 sort
语言
C++
递交时间
2021-04-10 20:51:25
评测时间
2021-04-10 20:51:25
评测机
分数
0
总耗时
2ms
峰值内存
368.0 KiB