记录详情

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 352.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 2ms 380.0 KiB
#5 Accepted 1ms 340.0 KiB

信息

递交者
类型
递交
题目
P1103 DS3-1 字符串的模式匹配
语言
C++
递交时间
2021-12-07 15:21:34
评测时间
2021-12-07 15:21:34
评测机
分数
100
总耗时
10ms
峰值内存
380.0 KiB