记录详情

Wrong Answer

foo.c: In function 'main':
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 %d",&b[i],&a[i]);}
   ^~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:28:19: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
      {c[i]=b[i]*(x/a[i]);}
                 ~~^~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 0ms 256.0 KiB
#2 Accepted 0ms 288.0 KiB
#3 Accepted 0ms 280.0 KiB
#4 Wrong Answer Read 87, expect 29. 0ms 256.0 KiB
#5 Wrong Answer Read 669, expect 223. 0ms 256.0 KiB

信息

递交者
类型
递交
题目
A6-3 最大公约数专题:多个分数的加法
语言
C
递交时间
2021-12-01 20:01:32
评测时间
2021-12-01 20:01:32
评测机
分数
60
总耗时
3ms
峰值内存
288.0 KiB