Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(a>b)swap(a,b);if(b>c)swap(b,c);if(a>b)swap(a,b);
   ^~
/in/foo.cc:10:20: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if(a>b)swap(a,b);if(b>c)swap(b,c);if(a>b)swap(a,b);
                    ^~
/in/foo.cc:4:14: warning: unused variable 'd' [-Wunused-variable]
  int n,a,b,c,d=0,e=0,sum=0,j=0;
              ^
/in/foo.cc:4:18: warning: unused variable 'e' [-Wunused-variable]
  int n,a,b,c,d=0,e=0,sum=0,j=0;
                  ^
/in/foo.cc:4:22: warning: unused variable 'sum' [-Wunused-variable]
  int n,a,b,c,d=0,e=0,sum=0,j=0;
                      ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 336.0 KiB
#2 Accepted 1ms 336.0 KiB
#3 Accepted 1ms 372.0 KiB

信息

递交者
类型
递交
比赛
春季中级班GESP二三级编程比赛
语言
C++
递交时间
2024-03-09 10:19:37
评测时间
2024-03-09 10:19:38
评测机
分数
100
总耗时
5ms
峰值内存
372.0 KiB