/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:15:17: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   15 |     if(b.find(a)==-1)
      |        ~~~~~~~~~^~~~
foo.cc:22:26: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   22 |         while(b.find(a,n)!=-1)
      |               ~~~~~~~~~~~^~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 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 540.0 KiB
#7 Accepted 8ms 540.0 KiB
#8 Accepted 68ms 2.316 MiB
#9 Accepted 70ms 2.25 MiB
#10 Accepted 73ms 2.285 MiB

信息

递交者
类型
递交
题目
P1761 统计单词数
语言
C++
递交时间
2023-05-18 21:23:47
评测时间
2023-05-18 21:23:47
评测机
分数
100
总耗时
242ms
峰值内存
2.316 MiB