Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   10 |         if(b>c>d)
      |            ~^~
/in/foo.cc:12:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   12 |         if(b>d>c)
      |            ~^~
/in/foo.cc:14:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   14 |         if(c>b>d)
      |            ~^~
/in/foo.cc:16:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   16 |         if(c>d>b)
      |            ~^~
/in/foo.cc:18:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   18 |         if(d>c>b)
      |            ~^~
/in/foo.cc:20:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   20 |         if(d>b>c)
      |            ~^~
/in/foo.cc:20:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   20 |         if(d>b>c)
      |         ^~
/in/foo.cc:22:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   22 |                 return 0;
      |                 ^~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 352.0 KiB
#2 Wrong Answer 2ms 480.0 KiB

信息

递交者
类型
自测
题目
P1715 最大的三位数
语言
C++
递交时间
2025-11-21 21:14:30
评测时间
2025-11-21 21:14:30
评测机
分数
0
总耗时
4ms
峰值内存
480.0 KiB