Accepted

foo.cc: In function 'int main()':
foo.cc:6:11: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     if(a>b&&a<c||a<b&&a>c) cout<<a<<" ";
        ~~~^~~~~
foo.cc:7:11: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     if(b>a&&b<c||b<a&&b>c) cout<<b<<" ";
        ~~~^~~~~
foo.cc:8:11: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     if(c>b&&c<a||c<b&&c>a) cout<<c<<" ";
        ~~~^~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 1ms 384.0 KiB
#5 Accepted 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1057 A1-2 分支结构练习:三数的特征值
比赛
盛泽二中初一编程社团阶段反馈(2021.4.7)
语言
C++
递交时间
2021-04-15 18:04:26
评测时间
2021-04-15 18:04:26
评测机
分数
100
总耗时
9ms
峰值内存
384.0 KiB