/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void prt(std::__cxx11::string)':
/in/foo.cc:58:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(register int i=0;i<s.length();++i){
                       ~^~~~~~~~~~~
/in/foo.cc: In function 'int getsubname(std::__cxx11::string, int)':
/in/foo.cc:64:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while(bg<x.length()&&!(x[bg]>='A'&&x[bg]<='Z'))++bg;
        ~~^~~~~~~~~~~
/in/foo.cc:65:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(ed=bg;ed<x.length();++ed){
            ~~^~~~~~~~~~~
/in/foo.cc: In function 'void getEvi()':
/in/foo.cc:80:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if(pos1==s.npos)return;
          
/in/foo.cc:85:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if((pos2=s.find("Today is "))!=s.npos){
                                
/in/foo.cc:103:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if((pos2=s.find("is guilty"))!=s.npos){
                                 
/in/foo.cc:106:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   else if(((pos2=s.find("is not guilty"))!=s.npos)){
                                           
# 状态 耗时 内存占用
#1 Accepted 1ms 196.0 KiB
#2 Accepted 1ms 204.0 KiB
#3 Accepted 1ms 204.0 KiB
#4 Accepted 1ms 212.0 KiB
#5 Accepted 1ms 208.0 KiB
#6 Accepted 1ms 204.0 KiB
#7 Accepted 1ms 204.0 KiB
#8 Accepted 1ms 212.0 KiB
#9 Accepted 1ms 204.0 KiB
#10 Accepted 1ms 208.0 KiB

信息

递交者
类型
递交
题目
P1106 侦探推理
语言
C++
递交时间
2019-10-31 15:56:56
评测时间
2019-10-31 15:56:56
评测机
分数
100
总耗时
14ms
峰值内存
212.0 KiB