记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:11:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   11 |    { if(c%a1==0)
      |      ^~
foo.c:14:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   14 |     c=c+1;}
      |     ^
foo.c:5:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    5 |   scanf("%d%d%d%d",&b1,&a1,&b2,&a2);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 2ms 256.0 KiB
#2 Wrong Answer Standard answer longer than user output. 2ms 256.0 KiB
#3 Wrong Answer Standard answer longer than user output. 2ms 256.0 KiB
#4 Wrong Answer Standard answer longer than user output. 2ms 256.0 KiB
#5 Wrong Answer Standard answer longer than user output. 2ms 256.0 KiB

信息

递交者
类型
递交
题目
A6-2 最大公约数专题:分数的加法
比赛
中北 计算机2021级专业修读指导(3)
语言
C
递交时间
2021-12-16 19:02:34
评测时间
2021-12-16 19:02:34
评测机
分数
0
总耗时
11ms
峰值内存
256.0 KiB