Wrong Answer

foo.cc: In function 'int main()':
foo.cc:7:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if(a>b);
  ^~
foo.cc:8:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  {
  ^
foo.cc:13:6: warning: self-comparison always evaluates to false [-Wtautological-compare]
  if(a>a);
     ~^~
foo.cc:13:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if(a>a);
  ^~
foo.cc:14:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  {
  ^
foo.cc:19:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if(b>c);
  ^~
foo.cc:20:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  {
  ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 2, expect 1. 1ms 384.0 KiB
#2 Wrong Answer Read 2, expect 1. 1ms 384.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Wrong Answer Read 3, expect 2. 1ms 384.0 KiB
#5 Wrong Answer Read 3, expect 1. 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1020 3个数排序
语言
C++
递交时间
2021-11-13 10:10:16
评测时间
2021-11-13 10:10:16
评测机
分数
20
总耗时
8ms
峰值内存
384.0 KiB