/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'bool A(int)':
/in/foo.cc:19: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:19: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:20: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:20: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:34: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:34: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:35: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: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(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;
                                             ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:62:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    for(int i=n-1;i>=0;--i) cout<<a[i];return 0;
    ^~~
/in/foo.cc:62:39: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
    for(int i=n-1;i>=0;--i) cout<<a[i];return 0;
                                       ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 208.0 KiB
#2 Accepted 1ms 228.0 KiB
#3 Wrong Answer 1ms 216.0 KiB
#4 Wrong Answer 1ms 228.0 KiB
#5 Wrong Answer 1ms 216.0 KiB
#6 Wrong Answer 1ms 228.0 KiB
#7 Wrong Answer 3ms 344.0 KiB
#8 Wrong Answer 3ms 360.0 KiB
#9 Wrong Answer 3ms 348.0 KiB
#10 Wrong Answer 3ms 228.0 KiB

信息

递交者
类型
递交
题目
P1449 字符串还原
语言
C++
递交时间
2020-08-06 16:01:56
评测时间
2020-08-06 16:01:56
评测机
分数
20
总耗时
23ms
峰值内存
360.0 KiB