记录详情

Accepted

foo.cc:9:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable : 4996)
 
foo.cc: In function 'int main()':
foo.cc:18:20: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
  memset(a, 0, 10009);
                    ^
foo.cc:22:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i <= s.length(); i++)
                  ~~^~~~~~~~~~~~~
foo.cc:27:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int j = 1; j < ss.length(); j++)
                     ~~^~~~~~~~~~~~~
foo.cc:29:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      if (j == ss.length()-1)
          ~~^~~~~~~~~~~~~~~~
foo.cc:33:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for (int k = 1; k < ss.length(); k++)
                       ~~^~~~~~~~~~~~~
foo.cc:46:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while (nn < s.length())
         ~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 376.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 376.0 KiB
#5 Accepted 1ms 384.0 KiB

信息

递交者
类型
递交
题目
4-3 爱情故事
比赛
2021年新生赛第三场
语言
C++
递交时间
2021-09-05 19:24:12
评测时间
2021-09-05 19:24:12
评测机
分数
100
总耗时
11ms
峰值内存
384.0 KiB