记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:14:6: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context]
   14 |  if(m<<n1)
      |     ~^~~~
foo.c:6:39: warning: variable 'j' set but not used [-Wunused-but-set-variable]
    6 |  int a[n],b[n],num=1,sum=0,r,m,n1,i,k,j,num1,num2;
      |                                       ^
foo.c:5:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    5 |  scanf("%d",&n);
      |  ^~~~~~~~~~~~~~
foo.c:8:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    8 |   scanf("%d%d",&b[i],&a[i]);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Wrong Answer User output longer than standard answer. 2ms 256.0 KiB
#3 Wrong Answer User output longer than standard answer. 3ms 256.0 KiB
#4 Wrong Answer User output longer than standard answer. 2ms 256.0 KiB
#5 Accepted 2ms 256.0 KiB

信息

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