/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'bool pd(char*, char*)':
/in/foo.cc:7:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=1;i<=n;i++)
  ^~~
/in/foo.cc:9:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   return 1;
   ^~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:64:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(int i = 1 ;i <= n;i++)
   ^~~
/in/foo.cc:66:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     return 0;
     ^~~~~~
/in/foo.cc:70:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(int i = 1 ;i <= n;i++)
   ^~~
/in/foo.cc:72:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     return 0;
     ^~~~~~
/in/foo.cc:76:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(int i = 1 ;i <=n;i++)
   ^~~
/in/foo.cc:78:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
    return 0;
    ^~~~~~
/in/foo.cc:82:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(int i = 1 ;i <=n;i++)
   ^~~
/in/foo.cc:84:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
    return 0;
    ^~~~~~
/in/foo.cc:87:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(int i = 1 ;i <= n;i++)
   ^~~
/in/foo.cc:89:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
    return 0;
    ^~~~~~
/in/foo.cc:92:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(int i = 1 ;i <= n;i++)
   ^~~
/in/foo.cc:94:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
    return 0;
    ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 320.0 KiB
#2 Accepted 1ms 336.0 KiB
#3 Accepted 1ms 332.0 KiB
#4 Accepted 1ms 332.0 KiB
#5 Accepted 1ms 332.0 KiB
#6 Accepted 1ms 336.0 KiB
#7 Accepted 3ms 456.0 KiB
#8 Accepted 3ms 468.0 KiB
#9 Accepted 3ms 448.0 KiB
#10 Accepted 3ms 452.0 KiB

信息

递交者
类型
递交
题目
P1449 字符串还原
语言
C++
递交时间
2020-01-10 15:56:36
评测时间
2020-01-10 15:56:36
评测机
分数
100
总耗时
23ms
峰值内存
468.0 KiB