/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'void findLongestMatch(std::__cxx11::string&, std::__cxx11::string&, std::vector<bool>&)':
/in/foo.cc:28:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (maxLength > longestStr.size()) {
         ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:97:60: warning: second operand of conditional expression has no effect [-Wunused-value]
     std::cout << isLongestLongest ? longestStr : currentStr;
                                                            ^
/in/foo.cc:97:60: warning: third operand of conditional expression has no effect [-Wunused-value]
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 324.0 KiB
#2 Wrong Answer 3ms 320.0 KiB
#3 Runtime Error 4ms 316.0 KiB
#4 Runtime Error 2ms 320.0 KiB

信息

递交者
类型
递交
题目
P1572 小委出发
语言
C++
递交时间
2017-09-27 14:48:26
评测时间
2017-09-27 14:48:26
评测机
分数
0
总耗时
14ms
峰值内存
324.0 KiB