/ 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 Runtime Error 4ms 368.0 KiB

信息

递交者
类型
自测
题目
P1848 记数问题
语言
C++
递交时间
2018-05-27 16:45:49
评测时间
2018-05-27 16:45:49
评测机
分数
0
总耗时
4ms
峰值内存
368.0 KiB