Accepted

foo.cc: In function 'int main()':
foo.cc:40:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   40 |   for(j=1;j<=n;j++)cout<<left<<setw(4)<<a[i][j]<<" ";cout<<endl;
      |   ^~~
foo.cc:40:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   40 |   for(j=1;j<=n;j++)cout<<left<<setw(4)<<a[i][j]<<" ";cout<<endl;
      |                                                      ^~~~
foo.cc:12:12: warning: unused variable 'max' [-Wunused-variable]
   12 |  int i,j,n,max,min,t,flag=0;
      |            ^~~
foo.cc:12:16: warning: unused variable 'min' [-Wunused-variable]
   12 |  int i,j,n,max,min,t,flag=0;
      |                ^~~
foo.cc:12:22: warning: unused variable 'flag' [-Wunused-variable]
   12 |  int i,j,n,max,min,t,flag=0;
      |                      ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1096 蛇形矩阵(2)
语言
C++
递交时间
2022-07-17 12:20:31
评测时间
2022-07-17 12:20:31
评测机
分数
100
总耗时
7ms
峰值内存
384.0 KiB