/ 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;
                                       ^~~~~~
/in/foo.cc:65:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    for(int i=n-1;i>=0;--i) cout<<b[i];return 0;
    ^~~
/in/foo.cc:65: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<<b[i];return 0;
                                       ^~~~~~
/in/foo.cc:68:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    for(int i=n-1;i>=0;--i) cout<<b[i];return 0;
    ^~~
/in/foo.cc:68: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<<b[i];return 0;
                                       ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 220.0 KiB
#2 Accepted 1ms 220.0 KiB
#3 Accepted 1ms 228.0 KiB
#4 Accepted 1ms 216.0 KiB
#5 Accepted 1ms 228.0 KiB
#6 Wrong Answer 1ms 216.0 KiB
#7 Accepted 3ms 356.0 KiB
#8 Wrong Answer 3ms 360.0 KiB
#9 Wrong Answer 4ms 364.0 KiB
#10 Wrong Answer 4ms 336.0 KiB

信息

递交者
类型
递交
题目
P1449 字符串还原
语言
C++
递交时间
2020-08-06 16:02:42
评测时间
2020-08-06 16:02:42
评测机
分数
60
总耗时
26ms
峰值内存
364.0 KiB