/ OIer TK /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:9:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    9 |         for(int i=0;i<b.size();i++)
      |                     ~^~~~~~~~~
foo.cc:16:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   16 |         for(int i=0;i<a.size();i++)
      |                     ~^~~~~~~~~
foo.cc:24:21: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   24 |         if(b.find(a)==-1)
      |            ~~~~~~~~~^~~~
foo.cc:30:34: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   30 |                 while(b.find(a,j)!=-1)
      |                       ~~~~~~~~~~~^~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 284.0 KiB
#2 Accepted 2ms 284.0 KiB
#3 Accepted 2ms 284.0 KiB
#4 Accepted 2ms 284.0 KiB
#5 Accepted 2ms 284.0 KiB
#6 Accepted 9ms 668.0 KiB
#7 Accepted 8ms 540.0 KiB
#8 Accepted 72ms 3.316 MiB
#9 Accepted 72ms 3.312 MiB
#10 Accepted 77ms 3.316 MiB

信息

递交者
类型
递交
题目
P1699 统计单词数
语言
C++
递交时间
2023-05-20 17:23:51
评测时间
2023-05-20 17:23:51
评测机
分数
100
总耗时
251ms
峰值内存
3.316 MiB