记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:5:11: warning: too many arguments for format [-Wformat-extra-args]
     scanf("%d &d &d",&a,&b,&c);
           ^~~~~~~~~~
/in/foo.c:17:13: warning: left-hand operand of comma expression has no effect [-Wunused-value]
        max-c,mid=b;}
             ^
/in/foo.c:3:19: warning: variable 'mid' set but not used [-Wunused-but-set-variable]
     int a,b,c,max,mid;
                   ^~~
/in/foo.c:22:1: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
 printf("zuida:%d/n",max);
 ^~~~~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 248.0 KiB
#2 Wrong Answer 1ms 248.0 KiB
#3 Wrong Answer 0ms 248.0 KiB
#4 Wrong Answer 0ms 324.0 KiB
#5 Wrong Answer 0ms 208.0 KiB

信息

递交者
类型
递交
题目
A1-2 分支结构练习:三数的特征值
比赛
泰院2401程序设计基础作业赛第一场(牛刀小试)
语言
C
递交时间
2024-10-21 17:03:57
评测时间
2024-10-21 17:03:57
评测机
分数
0
总耗时
5ms
峰值内存
324.0 KiB