/ Vijos /

记录详情

Wrong Answer

/in/foo.cc:48:10: warning: "/*" within comment [-Wcomment]
 AB+CC++DE/*
           
/in/foo.cc: In function 'int main()':
/in/foo.cc:10:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<=strlen(ch)-1;i++)
              ~^~~~~~~~~~~~~~
/in/foo.cc:15:11: warning: array subscript has type 'char' [-Wchar-subscripts]
    ch1[++s][0]=ch[i];
           ^
/in/foo.cc:19:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if(i!=strlen(ch)-1)cz[++topz]='(';
       ~^~~~~~~~~~~~~~
/in/foo.cc:19:32: warning: array subscript has type 'char' [-Wchar-subscripts]
    if(i!=strlen(ch)-1)cz[++topz]='(';
                                ^
/in/foo.cc:20:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int j=0;j<strlen(ch1[s-1]);j++)
                ~^~~~~~~~~~~~~~~~~
/in/foo.cc:22:14: warning: array subscript has type 'char' [-Wchar-subscripts]
     cz[++topz]=ch1[s-1][j];
              ^
/in/foo.cc:24:13: warning: array subscript has type 'char' [-Wchar-subscripts]
    cz[++topz]=ch[i];
             ^
/in/foo.cc:25:30: warning: array subscript has type 'char' [-Wchar-subscripts]
    for(int j=0;j<strlen(ch1[s]);j++)
                              ^
/in/foo.cc:25:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int j=0;j<strlen(ch1[s]);j++)
                ~^~~~~~~~~~~~~~~
/in/foo.cc:27:14: warning: array subscript has type 'char' [-Wchar-subscripts]
     cz[++topz]=ch1[s][j];
              ^
/in/foo.cc:27:21: warning: array subscript has type 'char' [-Wchar-subscripts]
     cz[++topz]=ch1[s][j];
                     ^
/in/foo.cc:29:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if(i!=strlen(ch)-1)cz[++topz]=')';
       ~^~~~~~~~~~~~~~
/in/foo.cc:29:32: warning: array subscript has type 'char' [-Wchar-subscripts]
    if(i!=strlen(ch)-1)cz[++topz]=')';
                                ^
/in/foo.cc:30:16: warning: array subscript has type 'char' [-Wchar-subscripts]
    memset(ch1[s],0,sizeof(ch1[s]));
                ^
/in/foo.cc:30:32: warning: array subscript has type 'char' [-Wchar-subscripts]
    memset(ch1[s],0,sizeof(ch1[s]));
                                ^
/in/foo.cc:35:10: warning: array subscript has type 'char' [-Wchar-subscripts]
     ch1[s][j]=cz[j];
          ^
# 状态 耗时 内存占用
#1 Wrong Answer 5ms 2.578 MiB
#2 Wrong Answer 3ms 2.363 MiB
#3 Accepted 5ms 1.191 MiB
#4 Wrong Answer 4ms 2.859 MiB
#5 Wrong Answer 5ms 1.25 MiB

信息

递交者
类型
递交
题目
P1293 后缀转中缀
语言
C++
递交时间
2017-07-17 15:13:28
评测时间
2017-07-17 15:13:28
评测机
分数
20
总耗时
24ms
峰值内存
2.859 MiB