Accepted

foo.cc: In function 'int main()':
foo.cc:6:13: warning: comparison of constant '10000' with boolean expression is always true [-Wbool-compare]
  if(-10000<a<10000&&-10000<b<10000&&-10000<c<10000);
     ~~~~~~~~^~~~~~
foo.cc:6:11: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(-10000<a<10000&&-10000<b<10000&&-10000<c<10000);
     ~~~~~~^~
foo.cc:6:29: warning: comparison of constant '10000' with boolean expression is always true [-Wbool-compare]
  if(-10000<a<10000&&-10000<b<10000&&-10000<c<10000);
                     ~~~~~~~~^~~~~~
foo.cc:6:27: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(-10000<a<10000&&-10000<b<10000&&-10000<c<10000);
                     ~~~~~~^~
foo.cc:6:45: warning: comparison of constant '10000' with boolean expression is always true [-Wbool-compare]
  if(-10000<a<10000&&-10000<b<10000&&-10000<c<10000);
                                     ~~~~~~~~^~~~~~
foo.cc:6:43: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(-10000<a<10000&&-10000<b<10000&&-10000<c<10000);
                                     ~~~~~~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 344.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P2311 1.3.2:计算(a+b)*c的值
比赛
初二开学分层赛
语言
C++
递交时间
2021-09-01 13:40:05
评测时间
2021-09-01 13:40:05
评测机
分数
100
总耗时
8ms
峰值内存
384.0 KiB