Accepted

foo.cc: In function 'int main()':
foo.cc:6:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(int i=1;i<=n1;i++)
     ^~~
foo.cc:8:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
      cin>>n2;
      ^~~
foo.cc:10:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=n1+1;i<=n;i++)
  ^~~
foo.cc:12:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
      sort(a+1,a+n+1,greater<int>());
      ^~~~
foo.cc:13:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
      for(int i=1;i<=n;i++)
      ^~~
foo.cc:16:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
          for(int i=1;i<=n;i++)
          ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 2ms 404.0 KiB
#3 Accepted 1ms 416.0 KiB
#4 Accepted 1ms 428.0 KiB

信息

递交者
类型
递交
题目
P2425 重排数
语言
C++
递交时间
2021-11-06 21:32:44
评测时间
2021-11-06 21:32:44
评测机
分数
100
总耗时
7ms
峰值内存
428.0 KiB