/ JoyAc /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:12:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=0; i<a.length(); i++){
           ~^~~~~~~~~~~
foo.cc:15:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=0; i<b.length(); i++){
           ~^~~~~~~~~~~
foo.cc:26:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while(n != string::npos){   //从第一次查找到的位置开始往后继续查找(包括第一次找到的,如果找到了,进入循环,如果没找到则退出循环)
         ~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 1ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB

信息

递交者
类型
自测
题目
P1032 统计单词数
语言
C++
递交时间
2021-11-23 20:51:10
评测时间
2021-11-23 20:51:10
评测机
分数
10
总耗时
3ms
峰值内存
384.0 KiB