记录详情

Wrong Answer

/in/foo.cc: In function 'bool find(std::vector<std::__cxx11::basic_string<char> >&, int, int, std::__cxx11::string)':
/in/foo.cc:9:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(x < 0 || y > s.size() - 1 || x > y) return false;
                 ~~^~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:33:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 for(int i = 0; i < s.size(); i++)
                                ~~^~~~~~~~~~
/in/foo.cc:41:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     else if(tmp > s[i] && i == s.size() - 1)
                                           ~~^~~~~~~~~~~~~~~
/in/foo.cc:62:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i = 0; i < ans.size(); i++)
                    ~~^~~~~~~~~~~~
/in/foo.cc:23:10: warning: unused variable 'c' [-Wunused-variable]
     char c = getchar();
          ^
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 208.0 KiB
#2 Wrong Answer 1ms 204.0 KiB

信息

递交者
类型
自测
题目
图书管理
语言
C++
递交时间
2019-10-28 19:59:03
评测时间
2019-10-28 19:59:03
评测机
分数
0
总耗时
3ms
峰值内存
208.0 KiB