记录详情

Accepted

foo.cc:9:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable : 4996)
 
foo.cc: In function 'int main()':
foo.cc:19:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i <= s.length(); i++)
                  ~~^~~~~~~~~~~~~
foo.cc:24:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int j = 1; j < ss.length(); j++)
                     ~~^~~~~~~~~~~~~
foo.cc:26:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      if (j == ss.length()-1)
          ~~^~~~~~~~~~~~~~~~
foo.cc:30:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for (int k = 1; k < ss.length(); k++)
                       ~~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 1ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
3-6 查找资料
比赛
2021年新生赛第三场
语言
C++
递交时间
2021-09-05 19:09:36
评测时间
2021-09-05 19:09:36
评测机
分数
100
总耗时
10ms
峰值内存
384.0 KiB