/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:24:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    while(i<s.length()-1)
          ~^~~~~~~~~~~~~
/in/foo.cc:39:13: warning: array subscript has type 'char' [-Wchar-subscripts]
     if(num[c])
             ^
/in/foo.cc:44:10: warning: array subscript has type 'char' [-Wchar-subscripts]
     num[c]=1;
          ^
/in/foo.cc:46:21: warning: array subscript has type 'char' [-Wchar-subscripts]
     if(s1==s2){num[c]=2;continue;}
                     ^
/in/foo.cc:49:26: warning: array subscript has type 'char' [-Wchar-subscripts]
                     num[c]=2;
                          ^
/in/foo.cc:58:38: warning: array subscript has type 'char' [-Wchar-subscripts]
                     if(f){cnt++;num[c]=2;continue;}
                                      ^
/in/foo.cc:62:22: warning: array subscript has type 'char' [-Wchar-subscripts]
                 num[c]=2;
                      ^
/in/foo.cc:77:27: warning: array subscript has type 'char' [-Wchar-subscripts]
                     num[cc]=0;
                           ^
/in/foo.cc:80:26: warning: array subscript has type 'char' [-Wchar-subscripts]
                 if(num[cc]==1)t2--;
                          ^
/in/foo.cc:81:23: warning: array subscript has type 'char' [-Wchar-subscripts]
                 num[cc]=0;
                       ^
/in/foo.cc:33:11: warning: unused variable 'xxxx' [-Wunused-variable]
       int xxxx=d.size();
           ^~~~
/in/foo.cc:16:15: warning: unused variable 'f1' [-Wunused-variable]
   bool flag=0,f1=0,f=0;
               ^~
# 状态 耗时 内存占用
#1 Accepted 1ms 216.0 KiB
#2 Accepted 1ms 224.0 KiB
#3 Accepted 1ms 228.0 KiB
#4 Accepted 1ms 224.0 KiB
#5 Accepted 1ms 228.0 KiB
#6 Wrong Answer 1ms 224.0 KiB
#7 Wrong Answer 1ms 228.0 KiB
#8 Wrong Answer 1ms 224.0 KiB
#9 Wrong Answer 1ms 228.0 KiB
#10 Wrong Answer 1ms 224.0 KiB

信息

递交者
类型
递交
题目
P2029 时间复杂度
语言
C++
递交时间
2019-11-13 16:18:53
评测时间
2019-11-13 16:18:53
评测机
分数
50
总耗时
14ms
峰值内存
228.0 KiB