记录详情

Wrong Answer

/in/foo.cc: In function 'std::__cxx11::string solve(std::__cxx11::string&, int)':
/in/foo.cc:12:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < str.size(); ++i) {
                     ~~^~~~~~~~~~~~
/in/foo.cc:15:29: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
         num[i % m] = (a ^ b == 0) ? '0' : '1';
                           ~~^~~~
/in/foo.cc: In function 'std::__cxx11::string doReverse(std::__cxx11::string&)':
/in/foo.cc:21:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < s.size(); ++i) {
                     ~~^~~~~~~~~~
/in/foo.cc: In function 'int cnt(std::__cxx11::string&, char)':
/in/foo.cc:29:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < s.size(); ++i) {
                     ~~^~~~~~~~~~
/in/foo.cc: In function 'std::__cxx11::string ifReverse(std::__cxx11::string&)':
/in/foo.cc:39:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if ((c & 1) || (c == str.size())) {
                     ~~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 217ms 724.0 KiB
#2 Wrong Answer 219ms 676.0 KiB
#3 Wrong Answer 217ms 680.0 KiB
#4 Wrong Answer 239ms 680.0 KiB
#5 Wrong Answer 208ms 704.0 KiB

信息

递交者
类型
递交
语言
C++
递交时间
2021-12-12 00:57:06
评测时间
2021-12-12 00:57:06
评测机
分数
0
总耗时
1102ms
峰值内存
724.0 KiB