/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:21:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int j = 0;j <=s[i].length();j++)
                 ~~^~~~~~~~~~~~~~~
/in/foo.cc:20:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i = 1;i <= n;i++)
  ^~~
/in/foo.cc:25:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   cout<<sum;
   ^~~~
# 状态 耗时 内存占用
#1 Accepted 7ms 3.359 MiB
#2 Accepted 9ms 3.332 MiB
#3 Runtime Error 83ms 3.352 MiB
#4 Accepted 22ms 3.25 MiB
#5 Runtime Error 133ms 3.375 MiB
#6 Runtime Error 146ms 3.25 MiB
#7 Accepted 8ms 3.344 MiB
#8 Runtime Error 116ms 3.367 MiB
#9 Runtime Error 133ms 3.363 MiB
#10 Runtime Error 124ms 3.363 MiB

信息

递交者
类型
递交
题目
P1848 记数问题
语言
C++
递交时间
2018-05-27 16:46:15
评测时间
2018-05-27 16:46:15
评测机
分数
40
总耗时
785ms
峰值内存
3.375 MiB