/ TYWZ /

记录详情

Accepted

/in/foo.cc: In function 'void judge(int)':
/in/foo.cc:10:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if(lc >= s.length()) return;
        ^
/in/foo.cc:11:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if((lc < s.length() && rc >= s.length()) 
         ^
/in/foo.cc:11:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if((lc < s.length() && rc >= s.length()) 
                            ^
/in/foo.cc:12:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  || !(s[lc] == '#'&&s[rc] =='#' || s[lc] != '#' && s[rc] != '#')) {
                    
# 状态 耗时 内存占用
#1 Accepted 1ms 204.0 KiB
#2 Accepted 1ms 204.0 KiB
#3 Accepted 1ms 204.0 KiB
#4 Accepted 1ms 204.0 KiB
#5 Accepted 1ms 204.0 KiB
#6 Accepted 1ms 204.0 KiB
#7 Accepted 1ms 204.0 KiB
#8 Accepted 1ms 204.0 KiB

信息

递交者
类型
递交
题目
P1020 对称二叉树(tree_c)
比赛
二叉树与堆的基础练习
语言
C++
递交时间
2019-04-03 20:21:53
评测时间
2019-04-03 20:21:53
评测机
分数
80
总耗时
12ms
峰值内存
204.0 KiB