记录详情

Accepted

/in/foo.cc: In function 'int Index(std::__cxx11::string, int, std::__cxx11::string)':
/in/foo.cc:8:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = k; i < s.size(); i++)
                     ~~^~~~~~~~~~
/in/foo.cc:11:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (id != node.npos)
             
/in/foo.cc: In function 'void Output(std::__cxx11::string, std::__cxx11::string)':
/in/foo.cc:22:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     while (id < s.size())
            ~~~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 364.0 KiB
#2 Accepted 1ms 376.0 KiB
#3 Accepted 2ms 340.0 KiB
#4 Accepted 1ms 356.0 KiB
#5 Accepted 1ms 360.0 KiB

信息

递交者
类型
递交
题目
DS3-1 字符串的模式匹配
比赛
中北 数据结构日常作业
语言
C++
递交时间
2021-12-05 14:06:11
评测时间
2021-12-05 14:06:11
评测机
分数
100
总耗时
9ms
峰值内存
376.0 KiB