记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:8:9: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
     if(a>b>c)
        ~^~
/in/foo.c:12:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(a>c>b)
     ~^~
/in/foo.c:17:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(b>a>c)
     ~^~
/in/foo.c:21:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(b>c>a)
     ~^~
/in/foo.c:25:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(c>a>b)
     ~^~
/in/foo.c:29:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(c>b>a)
     ~^~
/in/foo.c:33:3: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
   printf("%d/n,%d/n",mid,max);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:33:3: warning: 'mid' may be used uninitialized in this function [-Wmaybe-uninitialized]
# 状态 耗时 内存占用
#1 Wrong Answer 0ms 232.0 KiB
#2 Wrong Answer 0ms 248.0 KiB
#3 Wrong Answer 0ms 248.0 KiB
#4 Wrong Answer 0ms 252.0 KiB
#5 Wrong Answer 0ms 220.0 KiB

信息

递交者
类型
递交
题目
A1-2 分支结构练习:三数的特征值
比赛
南师大(含泰州学院)2024年新生赛(第一场)
语言
C
递交时间
2024-08-19 22:23:01
评测时间
2024-08-19 22:23:01
评测机
分数
0
总耗时
4ms
峰值内存
252.0 KiB