记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:38:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
      if(i==2) 
        ^
foo.c:51:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(c=2)
      ^
foo.c:14:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d %d %d",&a,&b,&c);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:15:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d %d %d",&e,&f,&g);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:61:15: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
  printf("%d",x+y+z);
              ~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 6786, expect 6717. 0ms 256.0 KiB
#2 Wrong Answer Read 18444, expect 18415. 0ms 256.0 KiB
#3 Wrong Answer Read 43280, expect 43252. 0ms 256.0 KiB
#4 Wrong Answer Read 79804, expect 79776. 0ms 256.0 KiB
#5 Wrong Answer Read 5113, expect 5114. 0ms 256.0 KiB

信息

递交者
类型
递交
题目
5-6 过去了多少天
比赛
2021(四) 作业第一场:秀肌肉
语言
C
递交时间
2021-09-30 19:43:40
评测时间
2021-09-30 19:43:40
评测机
分数
0
总耗时
4ms
峰值内存
256.0 KiB