/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:12:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<=strlen(s)-strlen(ss);++i)
                 ~^~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:15:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (j=0;j<=strlen(ss)-1;++j)
                  ~^~~~~~~~~~~~~~
/in/foo.cc:22:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(j==strlen(ss)&&(s[j+i]==' '||j+i==strlen(s)))
            ~^~~~~~~~~~~~
/in/foo.cc:22:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(j==strlen(ss)&&(s[j+i]==' '||j+i==strlen(s)))
                                         ~~~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 352.0 KiB
#2 Accepted 4ms 372.0 KiB
#3 Accepted 3ms 364.0 KiB
#4 Accepted 3ms 256.0 KiB
#5 Accepted 4ms 348.0 KiB
#6 Accepted 12ms 476.0 KiB
#7 Accepted 8ms 384.0 KiB
#8 Accepted 55ms 1.367 MiB
#9 Accepted 51ms 1.355 MiB
#10 Accepted 50ms 1.363 MiB

信息

递交者
类型
递交
题目
P1761 统计单词数
语言
C++
递交时间
2018-08-06 11:36:00
评测时间
2018-08-06 11:36:00
评测机
分数
100
总耗时
197ms
峰值内存
1.367 MiB