记录详情

Wrong Answer

/in/foo.cc: In function 'std::vector<char> is_any_of(std::__cxx11::string)':
/in/foo.cc:12: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:21:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     while (start < str.size())
            ~~~~~~^~~~~~~~~~~~
/in/foo.cc:25: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:54:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i=0;i<result1[0].size();i++)
               ~^~~~~~~~~~~~~~~~~~
/in/foo.cc:63:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int j=0;j<result1[0].size()-1;j++)//i==0
               ~^~~~~~~~~~~~~~~~~~~~
/in/foo.cc:68:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (i=1;i<result.size();i++)//i==1....i==size
            ~^~~~~~~~~~~~~~
/in/foo.cc:72:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int j=1;j<result1[i].size()-1;j++)
                ~^~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int btod(std::__cxx11::string)':
/in/foo.cc:87:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<a.length();i++)
              ~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 192.0 KiB
#2 Wrong Answer 1ms 196.0 KiB
#3 Accepted 1ms 192.0 KiB
#4 Wrong Answer 1ms 196.0 KiB
#5 Wrong Answer 1ms 192.0 KiB

信息

递交者
类型
递交
题目
2-5 二进制表达式求值
比赛
南师大2018年蓝桥杯热身赛
语言
C++
递交时间
2018-12-12 16:25:00
评测时间
2018-12-12 16:25:00
评测机
分数
40
总耗时
7ms
峰值内存
196.0 KiB