/ Vijos /

记录详情

Runtime Error

foo.c: In function 'main':
foo.c:9:21: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
    9 |             scanf("%d",a[i][j]);
      |                    ~^  ~~~~~~~
      |                     |      |
      |                     int *  int
foo.c:6:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    6 |     scanf("%d%d",&n,&m);
      |     ^~~~~~~~~~~~~~~~~~~
foo.c:9:13: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    9 |             scanf("%d",a[i][j]);
      |             ^~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 5ms 4.375 MiB
#2 Runtime Error Segmentation fault 7ms 4.125 MiB
#3 Runtime Error Segmentation fault 5ms 4.125 MiB
#4 Runtime Error Segmentation fault 7ms 4.25 MiB
#5 Runtime Error Segmentation fault 5ms 4.125 MiB
#6 Runtime Error Segmentation fault 6ms 4.125 MiB
#7 Runtime Error Segmentation fault 4ms 4.125 MiB
#8 Runtime Error Segmentation fault 7ms 4.125 MiB
#9 Runtime Error Segmentation fault 4ms 4.242 MiB

信息

递交者
类型
递交
题目
P1556 对称的正方形
语言
C
递交时间
2022-03-27 20:20:27
评测时间
2022-03-27 20:20:27
评测机
分数
0
总耗时
55ms
峰值内存
4.375 MiB