记录详情

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 2ms 356.0 KiB
#2 Accepted 1ms 340.0 KiB

信息

递交者
类型
自测
题目
DS3-1 字符串的模式匹配
语言
C++
递交时间
2021-12-05 14:06:08
评测时间
2021-12-05 14:06:08
评测机
分数
20
总耗时
3ms
峰值内存
356.0 KiB