记录详情

Runtime Error

foo.c: In function 'main':
foo.c:8:25: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
    8 |                 scanf("%d", N[i]);
      |                        ~^   ~~~~
      |                         |    |
      |                         |    int
      |                         int *
foo.c:8:17: warning: 'N' may be used uninitialized [-Wmaybe-uninitialized]
    8 |                 scanf("%d", N[i]);
      |                 ^~~~~~~~~~~~~~~~~
foo.c:5:16: note: 'N' declared here
    5 |         int n, N[10001],i,j,temp;
      |                ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 2ms 284.0 KiB

信息

递交者
类型
自测
题目
P1082 xf1-5排序与删除
语言
C
递交时间
2023-09-17 17:15:35
评测时间
2023-09-17 17:15:35
评测机
分数
0
总耗时
2ms
峰值内存
284.0 KiB