记录详情

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:9:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d", & a[i]);
   ^~~~~~~~~~~~~~~~~~~
foo.c:19:7: warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized]
  while(t!=0)
       ^
foo.c:13:4: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
  if(x<y)
    ^
foo.c:13:4: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 625, expect 5. 0ms 256.0 KiB
#2 Wrong Answer Read 9581, expect 143. 0ms 256.0 KiB
#3 Wrong Answer Read 53053, expect 1001. 0ms 256.0 KiB
#4 Wrong Answer Read 3963, expect 1. 0ms 256.0 KiB
#5 Wrong Answer Read 0, expect 15015. 1ms 348.0 KiB

信息

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