/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void ch(int, int)':
/in/foo.cc:6:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(s.find('1')<st||s.find('1')>ed) ans+=5;
        ~~~~~~~~~~~^~~
/in/foo.cc:6:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(s.find('1')<st||s.find('1')>ed) ans+=5;
                        ~~~~~~~~~~~^~~
/in/foo.cc:7:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     else if(s.find('0')<st||s.find('0')>ed) ans+=2;
             ~~~~~~~~~~~^~~
/in/foo.cc:7:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     else if(s.find('0')<st||s.find('0')>ed) ans+=2;
                             ~~~~~~~~~~~^~~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 344.0 KiB
#2 Wrong Answer 1ms 220.0 KiB
#3 Accepted 1ms 224.0 KiB
#4 Accepted 1ms 220.0 KiB
#5 Accepted 1ms 224.0 KiB
#6 Wrong Answer 1ms 220.0 KiB
#7 Accepted 1ms 224.0 KiB
#8 Wrong Answer 1ms 224.0 KiB
#9 Accepted 1ms 228.0 KiB
#10 Accepted 2ms 348.0 KiB

信息

递交者
类型
递交
题目
P1501 笨笨的果实采摘
语言
C++
递交时间
2019-08-15 09:07:44
评测时间
2019-08-15 09:07:44
评测机
分数
60
总耗时
13ms
峰值内存
348.0 KiB