记录详情

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: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 Wrong Answer 2ms 204.0 KiB
#2 Wrong Answer 2ms 204.0 KiB
#3 Wrong Answer 2ms 212.0 KiB
#4 Wrong Answer 1ms 208.0 KiB
#5 Wrong Answer 2ms 332.0 KiB
#6 Wrong Answer 4ms 352.0 KiB
#7 Wrong Answer 9ms 412.0 KiB
#8 Wrong Answer 36ms 696.0 KiB
#9 Wrong Answer 93ms 1.027 MiB
#10 Wrong Answer 430ms 2.227 MiB

信息

递交者
类型
递交
题目
图书管理
题目数据
下载
语言
C++
递交时间
2019-10-28 19:48:36
评测时间
2019-10-28 19:48:36
评测机
分数
0
总耗时
587ms
峰值内存
2.227 MiB