/ TYWZ /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (i = 1; i < s.length(); i += 2) {
              ~~^~~~~~~~~~~~
/in/foo.cc:10:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if (s[i] != '#' && s[i + 1] == '#' || s[i + 1] != '#' && s[i] == '#' || s[i + 1] == '\0') {
                    
/in/foo.cc:15:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (i >= s.length()) printf ("Yes\n");
      ~~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 200.0 KiB
#2 Accepted 1ms 200.0 KiB
#3 Accepted 1ms 204.0 KiB
#4 Accepted 1ms 204.0 KiB
#5 Accepted 1ms 204.0 KiB
#6 Accepted 1ms 200.0 KiB
#7 Accepted 1ms 204.0 KiB
#8 Accepted 1ms 204.0 KiB

信息

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