/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int work(char*)':
/in/foo.cc:20:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(i=1;i<=n;++i)
  ^~~
/in/foo.cc:21:15: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   s[i+n]=s[i];i=1,j=2;
               ^
/in/foo.cc:25:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   else i=i+k+1;if(i==j)++j;
   ^~~~
/in/foo.cc:25:16: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
   else i=i+k+1;if(i==j)++j;
                ^~
# 状态 耗时 内存占用
#1 Accepted 1ms 320.0 KiB
#2 Accepted 1ms 2.203 MiB
#3 Accepted 1ms 2.199 MiB
#4 Accepted 1ms 336.0 KiB
#5 Accepted 4ms 2.426 MiB
#6 Accepted 13ms 3.199 MiB
#7 Accepted 13ms 3.258 MiB
#8 Accepted 14ms 3.262 MiB
#9 Accepted 19ms 3.16 MiB
#10 Accepted 11ms 3.121 MiB

信息

递交者
类型
递交
题目
P1382 寻找主人
语言
C++
递交时间
2019-09-27 14:16:04
评测时间
2019-09-27 14:16:04
评测机
分数
100
总耗时
82ms
峰值内存
3.262 MiB