记录详情

Runtime Error

foo.c: In function 'main':
foo.c:31:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
    else
    ^~~~
foo.c:39:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
     if(f<min)
     ^~
foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ^~~~~~~~~~~~~~
foo.c:10:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&a[i]);
   ^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 55, expect 5. 0ms 256.0 KiB
#2 Wrong Answer Read 572, expect 143. 0ms 256.0 KiB
#3 Wrong Answer Read 3003, expect 1001. 0ms 256.0 KiB
#4 Wrong Answer Read 190, expect 1. 0ms 256.0 KiB
#5 Runtime Error Floating point exception 1ms 348.0 KiB

信息

递交者
类型
递交
题目
5-3 最大公约数
比赛
2021(四) 作业第一场:秀肌肉
语言
C
递交时间
2021-09-30 23:26:52
评测时间
2021-09-30 23:26:52
评测机
分数
0
总耗时
5ms
峰值内存
348.0 KiB