记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:7:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    7 |  if(a=='A') cout<<'a';  if(a=='B') cout<<'b';  if(a=='C') cout<<'c';  if(a=='D') cout<<'d';  if(a=='E') cout<<'e';
      |  ^~
foo.cc:7:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
    7 |  if(a=='A') cout<<'a';  if(a=='B') cout<<'b';  if(a=='C') cout<<'c';  if(a=='D') cout<<'d';  if(a=='E') cout<<'e';
      |                         ^~
foo.cc:8:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    8 |  if(a=='F') cout<<'f';  if(a=='G') cout<<'g';  if(a=='H') cout<<'h';  if(a=='I') cout<<'i';  if(a=='J') cout<<'j';
      |  ^~
foo.cc:8:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
    8 |  if(a=='F') cout<<'f';  if(a=='G') cout<<'g';  if(a=='H') cout<<'h';  if(a=='I') cout<<'i';  if(a=='J') cout<<'j';
      |                         ^~
foo.cc:9:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    9 |  if(a=='K') cout<<'k';  if(a=='L') cout<<'l';  if(a=='M') cout<<'m';  if(a=='N') cout<<'n';
      |  ^~
foo.cc:9:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
    9 |  if(a=='K') cout<<'k';  if(a=='L') cout<<'l';  if(a=='M') cout<<'m';  if(a=='N') cout<<'n';
      |                         ^~
foo.cc:10:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   10 |  if(a=='O') cout<<'o';  if(a=='P') cout<<'p';  if(a=='Q') cout<<'q';  if(a=='R') cout<<'r';
      |  ^~
foo.cc:10:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   10 |  if(a=='O') cout<<'o';  if(a=='P') cout<<'p';  if(a=='Q') cout<<'q';  if(a=='R') cout<<'r';
      |                         ^~
foo.cc:11:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   11 |  if(a=='S') cout<<'s';  if(a=='T') cout<<'t';  if(a=='U') cout<<'u';  if(a=='V') cout<<'v';  if(a=='W') cout<<'w';
      |  ^~
foo.cc:11:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   11 |  if(a=='S') cout<<'s';  if(a=='T') cout<<'t';  if(a=='U') cout<<'u';  if(a=='V') cout<<'v';  if(a=='W') cout<<'w';
      |                         ^~
foo.cc:12:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   12 |  if(a=='X') cout<<'x'; if(a=='Y') cout<<'y';  if(a=='Z') cout<<'z';
      |  ^~
foo.cc:12:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   12 |  if(a=='X') cout<<'x'; if(a=='Y') cout<<'y';  if(a=='Z') cout<<'z';
      |                        ^~
foo.cc:15:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   15 |  if(a=='a') cout<<'A';  if(a=='b') cout<<'B';  if(a=='c') cout<<'C';
      |  ^~
foo.cc:15:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   15 |  if(a=='a') cout<<'A';  if(a=='b') cout<<'B';  if(a=='c') cout<<'C';
      |                         ^~
foo.cc:16:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   16 |  if(a=='d') cout<<'D';  if(a=='e') cout<<'E';
      |  ^~
foo.cc:16:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   16 |  if(a=='d') cout<<'D';  if(a=='e') cout<<'E';
      |                         ^~
foo.cc:17:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   17 |  if(a=='f') cout<<'F';  if(a=='g') cout<<'G';  if(a=='h') cout<<'H';
      |  ^~
foo.cc:17:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   17 |  if(a=='f') cout<<'F';  if(a=='g') cout<<'G';  if(a=='h') cout<<'H';
      |                         ^~
foo.cc:18:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   18 |  if(a=='i') cout<<'I';  if(a=='j') cout<<'J';
      |  ^~
foo.cc:18:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   18 |  if(a=='i') cout<<'I';  if(a=='j') cout<<'J';
      |                         ^~
foo.cc:19:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   19 |  if(a=='k') cout<<'K';  if(a=='l') cout<<'L';  if(a=='m') cout<<'M';
      |  ^~
foo.cc:19:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   19 |  if(a=='k') cout<<'K';  if(a=='l') cout<<'L';  if(a=='m') cout<<'M';
      |                         ^~
foo.cc:21:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   21 |  if(a=='o') cout<<'O';  if(a=='p') cout<<'P';  if(a=='q') cout<<'Q';
      |  ^~
foo.cc:21:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   21 |  if(a=='o') cout<<'O';  if(a=='p') cout<<'P';  if(a=='q') cout<<'Q';
      |                         ^~
foo.cc:23:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   23 |  if(a=='s') cout<<'S';  if(a=='t') cout<<'T';  if(a=='u') cout<<'U';
      |  ^~
foo.cc:23:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   23 |  if(a=='s') cout<<'S';  if(a=='t') cout<<'T';  if(a=='u') cout<<'U';
      |                         ^~
foo.cc:24:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   24 |  if(a=='v') cout<<'V';  if(a=='w') cout<<'W';
      |  ^~
foo.cc:24:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   24 |  if(a=='v') cout<<'V';  if(a=='w') cout<<'W';
      |                         ^~
foo.cc:25:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   25 |  if(a=='x') cout<<'X'; if(a=='y') cout<<'Y';  if(a=='z') cout<<'Z';
      |  ^~
foo.cc:25:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   25 |  if(a=='x') cout<<'X'; if(a=='y') cout<<'Y';  if(a=='z') cout<<'Z';
      |                        ^~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 1ms 512.0 KiB
#4 Accepted 1ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1197 变换
语言
C++
递交时间
2022-08-09 20:49:51
评测时间
2022-08-09 20:49:51
评测机
分数
100
总耗时
12ms
峰值内存
512.0 KiB