记录详情

Accepted

/in/foo.cc: In function 'std::vector<char> is_any_of(std::__cxx11::string)':
/in/foo.cc:10:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i=0;i<str.length();i++)
               ~^~~~~~~~~~~~~
/in/foo.cc: In function 'void split(std::vector<std::__cxx11::basic_string<char> >&, std::__cxx11::string, std::vector<char>)':
/in/foo.cc:19:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     while (start < str.size())
            ~~~~~~^~~~~~~~~~~~
/in/foo.cc:23:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 1; i < delimiters.size(); ++i)
                         ~~^~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:52:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i=0;i<result.size();i++)
                  ~^~~~~~~~~~~~~~
/in/foo.cc:59:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int j=0;j<result1.size();j++)
                ~^~~~~~~~~~~~~~~
/in/foo.cc:62:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int j=0;j<result2.size();j++)
                ~^~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 192.0 KiB
#2 Accepted 1ms 196.0 KiB
#3 Accepted 1ms 320.0 KiB
#4 Accepted 1ms 324.0 KiB
#5 Accepted 2ms 320.0 KiB

信息

递交者
类型
递交
题目
2-6 单词频度表
比赛
南师大2018年蓝桥杯热身赛
语言
C++
递交时间
2018-12-12 15:50:09
评测时间
2018-12-12 15:50:39
评测机
分数
100
总耗时
9ms
峰值内存
324.0 KiB