记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:19:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(;i<str.size();i++)
        ~^~~~~~~~~~~
/in/foo.cc:35:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(sum==0&&i==str.size()) cout<<"Case #"<<k<<": YES"<<endl;
              ~^~~~~~~~~~~~
/in/foo.cc:36:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   else if(i<str.size())
           ~^~~~~~~~~~~
/in/foo.cc:39:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(;i<str.size();i++)
         ~^~~~~~~~~~~
/in/foo.cc:44:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   else if(i==str.size()&&flag) cout<<"Case #"<<k<<": YES"<<endl;
           ~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 8ms 456.0 KiB
#2 Accepted 4ms 340.0 KiB
#3 Accepted 9ms 376.0 KiB
#4 Accepted 11ms 356.0 KiB
#5 Accepted 10ms 356.0 KiB

信息

递交者
类型
递交
题目
P1424 1-2 狗和猫
比赛
2023暑假集训7月3日训练题
语言
C++
递交时间
2023-07-03 10:11:42
评测时间
2023-07-03 10:11:42
评测机
分数
100
总耗时
44ms
峰值内存
456.0 KiB