记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:13:28: warning: unused variable 'y' [-Wunused-variable]
   13 |  int b1,a1,b2,a2,m,n,i,j,x,y;
      |                            ^
foo.c:13:26: warning: unused variable 'x' [-Wunused-variable]
   13 |  int b1,a1,b2,a2,m,n,i,j,x,y;
      |                          ^
foo.c:13:24: warning: unused variable 'j' [-Wunused-variable]
   13 |  int b1,a1,b2,a2,m,n,i,j,x,y;
      |                        ^
foo.c:13:22: warning: unused variable 'i' [-Wunused-variable]
   13 |  int b1,a1,b2,a2,m,n,i,j,x,y;
      |                      ^
foo.c:16:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   16 |  scanf("%d %d",&b1,&a1);
      |  ^~~~~~~~~~~~~~~~~~~~~~
foo.c:17:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   17 |  scanf("%d %d",&b2,&a2);
      |  ^~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 1ms 256.0 KiB
#3 Accepted 1ms 256.0 KiB
#4 Accepted 1ms 256.0 KiB
#5 Wrong Answer Read 21, expect 7. 1ms 256.0 KiB

信息

递交者
类型
递交
题目
A6-2 最大公约数专题:分数的加法
比赛
2022春 C语言课程设计 作业1
语言
C
递交时间
2022-03-07 22:30:11
评测时间
2022-03-07 22:30:11
评测机
分数
80
总耗时
7ms
峰值内存
256.0 KiB