/ Vijos /

记录详情

Accepted

foo.cc: In member function 'char Col::getcol()':
foo.cc:26:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(R==0&&B==0&&G==0) return 'K';if(R==0&&B==0&&G==1) return 'G';
   ^~
foo.cc:26:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   if(R==0&&B==0&&G==0) return 'K';if(R==0&&B==0&&G==1) return 'G';
                                   ^~
foo.cc:27:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(R==0&&B==1&&G==0) return 'B';if(R==0&&B==1&&G==1) return 'C';
   ^~
foo.cc:27:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   if(R==0&&B==1&&G==0) return 'B';if(R==0&&B==1&&G==1) return 'C';
                                   ^~
foo.cc:28:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(R==1&&B==0&&G==0) return 'R';if(R==1&&B==0&&G==1) return 'Y';
   ^~
foo.cc:28:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   if(R==1&&B==0&&G==0) return 'R';if(R==1&&B==0&&G==1) return 'Y';
                                   ^~
foo.cc:29:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(R==1&&B==1&&G==0) return 'P';if(R==1&&B==1&&G==1) return 'W';
   ^~
foo.cc:29:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   if(R==1&&B==1&&G==0) return 'P';if(R==1&&B==1&&G==1) return 'W';
                                   ^~
foo.cc: In function 'void init()':
foo.cc:237:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&n,&m);
  ~~~~~^~~~~~~~~~~~~~
foo.cc:238:51: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  for(int i=1;i<=n;i++) for(int j=1;j<=m;j++) scanf("%d",&cnt[i][j]);
                                              ~~~~~^~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 301ms 41.625 MiB
#2 Accepted 295ms 41.461 MiB
#3 Accepted 295ms 41.586 MiB
#4 Accepted 306ms 41.566 MiB
#5 Accepted 292ms 41.555 MiB
#6 Accepted 303ms 41.59 MiB
#7 Accepted 313ms 41.508 MiB
#8 Accepted 306ms 41.66 MiB
#9 Accepted 45ms 36.492 MiB
#10 Accepted 45ms 36.418 MiB
#11 Accepted 45ms 36.461 MiB
#12 Accepted 44ms 36.438 MiB
#13 Accepted 45ms 36.512 MiB
#14 Accepted 301ms 41.562 MiB
#15 Accepted 305ms 41.652 MiB
#16 Accepted 315ms 41.496 MiB
#17 Accepted 309ms 41.566 MiB
#18 Accepted 308ms 41.504 MiB
#19 Accepted 303ms 41.629 MiB
#20 Accepted 286ms 41.562 MiB

信息

递交者
类型
递交
题目
P1963 彩色立体图
语言
C++
递交时间
2021-07-21 08:51:20
评测时间
2021-07-21 08:51:20
评测机
分数
100
总耗时
4770ms
峰值内存
41.66 MiB