Wrong Answer

foo.cc: In function 'void sh()':
foo.cc:7:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    7 |         for(int i=1;i<=n;i++)
      |         ^~~
foo.cc:13:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   13 |                 swap(n,m);
      |                 ^~~~
foo.cc: In function 'void ni()':
foo.cc:19:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   19 |         for(int i=1;i<=n;i++)
      |         ^~~
foo.cc:25:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   25 |                 swap(n,m);
      |                 ^~~~
foo.cc: In function 'void sh_p()':
foo.cc:30:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   30 |         for(int i=1;i<=n;i++)
      |         ^~~
foo.cc:36:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   36 |                 memcpy(a,b,sizeof(b));
      |                 ^~~~~~
foo.cc: In function 'void ch_z()':
foo.cc:40:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   40 |         for(int i=1;i<=n;i++)
      |         ^~~
foo.cc:46:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   46 |                 memcpy(a,b,sizeof(b));
      |                 ^~~~~~
foo.cc: In function 'int main()':
foo.cc:62:34: warning: statement is a reference, not call, to function 'sh_p' [-Waddress]
   62 |                         case 'C':sh_p;break;
      |                                  ^~~~
foo.cc:62:34: warning: statement has no effect [-Wunused-value]
foo.cc:63:34: warning: statement is a reference, not call, to function 'ch_z' [-Waddress]
   63 |                         case 'D':ch_z;
      |                                  ^~~~
foo.cc:63:34: warning: statement has no effect [-Wunused-value]
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 28ms 10.152 MiB
#2 Wrong Answer User output longer than standard answer. 551ms 11.27 MiB
#3 Accepted 27ms 10.227 MiB
#4 Wrong Answer Read 3, expect 5. 3ms 412.0 KiB
#5 Wrong Answer 1,2d0 < 3 2 5 < 6 9 1 3a2,3 3ms 412.0 KiB
#6 Wrong Answer Read 3, expect 5. 27ms 10.203 MiB
#7 Accepted 29ms 10.109 MiB
#8 Wrong Answer 1,2d0 < 8 6 3 < 9 9 2 3a2,3 28ms 10.152 MiB
#9 Wrong Answer User output longer than standard answer. 111ms 2.766 MiB
#10 Wrong Answer Read 9545, expect 6946. 184ms 5.02 MiB

信息

递交者
类型
递交
题目
P1934 图像变换
语言
C++
递交时间
2023-07-18 10:13:23
评测时间
2023-07-18 10:13:23
评测机
分数
30
总耗时
996ms
峰值内存
11.27 MiB