/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:30:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while(j<strlen(b1[i]))
         ~^~~~~~~~~~~~~~
/in/foo.cc:48:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    while(b[a[j]][k]==b[a[j+1]][k]&&k<strlen(b1[a[j]])&&k<strlen(b1[a[j+1]])) k++;
                                    ~^~~~~~~~~~~~~~~~~
/in/foo.cc:48:57: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    while(b[a[j]][k]==b[a[j+1]][k]&&k<strlen(b1[a[j]])&&k<strlen(b1[a[j+1]])) k++;
                                                        ~^~~~~~~~~~~~~~~~~~~
/in/foo.cc:55:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if(k==strlen(b1[a[j]])&&k>strlen(b1[a[j+1]])&&p==1)
       ~^~~~~~~~~~~~~~~~~~
/in/foo.cc:55:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if(k==strlen(b1[a[j]])&&k>strlen(b1[a[j+1]])&&p==1)
                            ~^~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int s(char)':
/in/foo.cc:77:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 200.0 KiB
#2 Wrong Answer 1ms 204.0 KiB
#3 Wrong Answer 1ms 268.0 KiB
#4 Wrong Answer 1ms 204.0 KiB
#5 Wrong Answer 1ms 200.0 KiB
#6 Wrong Answer 1ms 204.0 KiB
#7 Wrong Answer 1ms 192.0 KiB
#8 Wrong Answer 1ms 204.0 KiB
#9 Wrong Answer 1ms 200.0 KiB
#10 Wrong Answer 1ms 196.0 KiB

信息

递交者
类型
递交
题目
P1500 笨笨的单词排序
语言
C++
递交时间
2018-12-17 18:15:12
评测时间
2018-12-17 18:15:12
评测机
分数
0
总耗时
17ms
峰值内存
268.0 KiB