/ 老祺 /

记录详情

Wrong Answer

/in/foo.cc: In function 'Result Match(std::__cxx11::string&)':
/in/foo.cc:15:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < s.length(); i++)
                     ~~^~~~~~~~~~~~
/in/foo.cc:22:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
         if (s[i] == ')')
            ^
/in/foo.cc:34:17: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized]
         r.index = tmp;
         ~~~~~~~~^~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 328.0 KiB
#2 Accepted 1ms 336.0 KiB
#3 Wrong Answer 1ms 376.0 KiB
#4 Accepted 1ms 328.0 KiB
#5 Wrong Answer 1ms 328.0 KiB

信息

递交者
类型
递交
题目
P1101 DS2-1 括号的匹配
语言
C++
递交时间
2024-12-04 00:17:08
评测时间
2024-12-04 00:17:08
评测机
分数
40
总耗时
8ms
峰值内存
376.0 KiB