/ Vijos /

记录详情

Wrong Answer

/in/foo.cc:64:3: warning: "/*" within comment [-Wcomment]
   /*if(B(j)) {
    
/in/foo.cc: In function 'bool A(int)':
/in/foo.cc:21:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=0;i<n;++i) if(k1[i]!=b[i]) o1=0;for(int i=0;i<n;++i) if(k2[i]!=c[i]) o1=0;
  ^~~
/in/foo.cc:21:44: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(int i=0;i<n;++i) if(k1[i]!=b[i]) o1=0;for(int i=0;i<n;++i) if(k2[i]!=c[i]) o1=0;
                                            ^~~
/in/foo.cc:22:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=0;i<n;++i) if(k2[i]!=b[i]) o2=0;for(int i=0;i<n;++i) if(k1[i]!=c[i]) o2=0;
  ^~~
/in/foo.cc:22:44: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(int i=0;i<n;++i) if(k2[i]!=b[i]) o2=0;for(int i=0;i<n;++i) if(k1[i]!=c[i]) o2=0;
                                            ^~~
/in/foo.cc: In function 'bool B(int)':
/in/foo.cc:35:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i(0);i<n;++i) if(k1[i]!=a[i]) o1=0;for(int i(0);i<n;++i) if(k2[i]!=c[i]) o1=0;
  ^~~
/in/foo.cc:35:45: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(int i(0);i<n;++i) if(k1[i]!=a[i]) o1=0;for(int i(0);i<n;++i) if(k2[i]!=c[i]) o1=0;
                                             ^~~
/in/foo.cc:36:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i(0);i<n;++i) if(k2[i]!=a[i]) o2=0;for(int i(0);i<n;++i) if(k1[i]!=c[i]) o2=0;
  ^~~
/in/foo.cc:36:45: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(int i(0);i<n;++i) if(k2[i]!=a[i]) o2=0;for(int i(0);i<n;++i) if(k1[i]!=c[i]) o2=0;
                                             ^~~
/in/foo.cc: In function 'bool C(int)':
/in/foo.cc:49:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i(0);i<n;++i) if(k1[i]!=b[i]) o1=0;for(int i(0);i<n;++i) if(k2[i]!=a[i]) o1=0;
  ^~~
/in/foo.cc:49:45: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(int i(0);i<n;++i) if(k1[i]!=b[i]) o1=0;for(int i(0);i<n;++i) if(k2[i]!=a[i]) o1=0;
                                             ^~~
/in/foo.cc:50:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i(0);i<n;++i) if(k2[i]!=b[i]) o2=0;for(int i(0);i<n;++i) if(k1[i]!=a[i]) o2=0;
  ^~~
/in/foo.cc:50:45: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(int i(0);i<n;++i) if(k2[i]!=b[i]) o2=0;for(int i(0);i<n;++i) if(k1[i]!=a[i]) o2=0;
                                             ^~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 220.0 KiB
#2 Wrong Answer 1ms 216.0 KiB
#3 Wrong Answer 1ms 228.0 KiB
#4 Wrong Answer 1ms 224.0 KiB
#5 Wrong Answer 1ms 232.0 KiB
#6 Wrong Answer 1ms 216.0 KiB
#7 Wrong Answer 2ms 228.0 KiB
#8 Wrong Answer 2ms 348.0 KiB
#9 Wrong Answer 2ms 228.0 KiB
#10 Wrong Answer 2ms 348.0 KiB

信息

递交者
类型
递交
题目
P1449 字符串还原
语言
C++
递交时间
2020-08-06 15:58:39
评测时间
2020-08-06 15:58:39
评测机
分数
0
总耗时
22ms
峰值内存
348.0 KiB