/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:18:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
             if(f[k]==0) ans++;
             ^~
/in/foo.cc:19:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
    ++f[k];
    ^~
/in/foo.cc:8:14: warning: 'back' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int n,front,back;
              ^~~~
/in/foo.cc:8:8: warning: 'front' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int n,front,back;
        ^~~~~
# 状态 耗时 内存占用
#1 Accepted 5ms 4.316 MiB
#2 Accepted 3ms 4.316 MiB
#3 Accepted 3ms 4.312 MiB
#4 Accepted 3ms 4.324 MiB
#5 Accepted 3ms 4.316 MiB
#6 Accepted 2ms 4.316 MiB
#7 Accepted 2ms 4.316 MiB
#8 Accepted 1ms 4.32 MiB
#9 Accepted 2ms 4.309 MiB
#10 Accepted 2ms 4.32 MiB
#11 Accepted 2ms 4.316 MiB
#12 Accepted 2ms 4.316 MiB
#13 Accepted 2ms 4.316 MiB
#14 Accepted 2ms 4.32 MiB
#15 Accepted 81ms 9.188 MiB
#16 Accepted 90ms 5.441 MiB
#17 Accepted 111ms 5.441 MiB
#18 Accepted 82ms 9.066 MiB
#19 Accepted 81ms 8.816 MiB
#20 Accepted 113ms 5.449 MiB

信息

递交者
类型
递交
题目
P2011 海港
语言
C++
递交时间
2017-10-06 12:58:41
评测时间
2017-10-06 12:58:41
评测机
分数
100
总耗时
603ms
峰值内存
9.188 MiB