记录详情

Accepted

/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:32:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 for(int i = 0; i < s.size(); i++)
                                ~~^~~~~~~~~~
/in/foo.cc:40:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     else if(tmp > s[i] && i == s.size() - 1)
                                           ~~^~~~~~~~~~~~~~~
/in/foo.cc:22:10: warning: unused variable 'c' [-Wunused-variable]
     char c = getchar();
          ^
# 状态 耗时 内存占用
#1 Accepted 1ms 196.0 KiB

信息

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