Wrong Answer

foo.cc: In function 'int main()':
foo.cc:11:8: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(a<b&&a>c||a>b&&a<c) mid=a;
     ~~~^~~~~
foo.cc:12:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  else if(b<a&&b>c||b<c&&b>a) mid=b;
          ~~~^~~~~
foo.cc:4:24: warning: unused variable 'min' [-Wunused-variable]
  int a,b,c,mid=0,max=0,min=0;
                        ^~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 5. 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1057 A1-2 分支结构练习:三数的特征值
语言
C++
递交时间
2021-04-14 16:46:19
评测时间
2021-04-14 16:46:19
评测机
分数
80
总耗时
10ms
峰值内存
384.0 KiB