/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int solve(char*, int, long long int)':
/in/foo.cc:38:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for (;p<=n;p+=2) t[++m]=s[p]; p-=n;
   ^~~
/in/foo.cc:38:33: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   for (;p<=n;p+=2) t[++m]=s[p]; p-=n;
                                 ^
/in/foo.cc:47:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for (;p<=n;p+=2) t[++m]=s[p]; p-=n;
   ^~~
/in/foo.cc:47:33: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   for (;p<=n;p+=2) t[++m]=s[p]; p-=n;
                                 ^
# 状态 耗时 内存占用
#1 Accepted 2ms 504.0 KiB
#2 Accepted 2ms 828.0 KiB
#3 Accepted 2ms 344.0 KiB
#4 Accepted 2ms 344.0 KiB
#5 Accepted 11ms 1.641 MiB
#6 Accepted 11ms 1.754 MiB
#7 Accepted 11ms 1.688 MiB
#8 Accepted 12ms 1.711 MiB
#9 Accepted 11ms 1.727 MiB
#10 Accepted 11ms 1.754 MiB

信息

递交者
类型
递交
题目
P2056 连续子序列
语言
C++
递交时间
2019-05-08 15:08:08
评测时间
2019-05-08 15:08:08
评测机
分数
100
总耗时
79ms
峰值内存
1.754 MiB