记录详情

Runtime Error

foo.c: In function 'main':
foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    6 |  scanf("%d",&N);
      |  ^~~~~~~~~~~~~~
foo.c:9:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    9 |   scanf("%d",&a[i]);
      |   ^~~~~~~~~~~~~~~~~
foo.c:5:2: warning: 'N' is used uninitialized in this function [-Wuninitialized]
    5 |  int a[N];
      |  ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 5, expect 8. 2ms 256.0 KiB
#2 Wrong Answer Read 33, expect 34. 1ms 384.0 KiB
#3 Wrong Answer Standard answer longer than user output. 5ms 256.0 KiB
#4 Time Exceeded ≥30ms ≥384.0 KiB
#5 Wrong Answer Standard answer longer than user output. 2ms 256.0 KiB
#6 Time Exceeded ≥2ms ≥384.0 KiB
#7 Time Exceeded ≥2ms ≥384.0 KiB
#8 Runtime Error Segmentation fault 2ms 256.0 KiB
#9 Wrong Answer Standard answer longer than user output. 9ms 256.0 KiB
#10 Runtime Error Segmentation fault 2ms 256.0 KiB

信息

递交者
类型
递交
题目
P1330 修改数组
比赛
2022春季 荣誉练习赛1(2019蓝桥A组省赛重温)
语言
C
递交时间
2022-03-19 22:43:54
评测时间
2022-03-19 22:43:54
评测机
分数
0
总耗时
60ms
峰值内存
384.0 KiB