Wrong Answer

foo.cc: In function 'int main()':
foo.cc:10:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   10 |         if(as>bs&&bs>cs||bs>as&&as>cs) cout<<cs;
      |            ~~~~~^~~~~~~
foo.cc:11:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   11 |         if(as>cs&&cs>bs||cs>as&&as>bs) cout<<bs;
      |            ~~~~~^~~~~~~
foo.cc:12:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   12 |         if(bs>cs&&cs>as||cs>bs&&bs>as) cout<<as;
      |            ~~~~~^~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -1416559492, expect 54. 2ms 284.0 KiB

信息

递交者
类型
自测
题目
P1486 买铅笔
语言
C++
递交时间
2023-05-13 22:03:57
评测时间
2023-05-13 22:03:57
评测机
分数
0
总耗时
2ms
峰值内存
284.0 KiB