/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'void init()':
foo.cc:18:9: warning: array subscript has type 'char' [-Wchar-subscripts]
   18 |   t[s[i]]++;
      |         ^
foo.cc: In function 'void build()':
foo.cc:59:33: warning: 'p2' may be used uninitialized in this function [-Wmaybe-uninitialized]
   59 |   tree[i].w=tree[p1].w+tree[p2].w;
      |                        ~~~~~~~~~^
foo.cc:59:22: warning: 'p1' may be used uninitialized in this function [-Wmaybe-uninitialized]
   59 |   tree[i].w=tree[p1].w+tree[p2].w;
      |             ~~~~~~~~~^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 26. 4ms 384.0 KiB

信息

递交者
类型
递交
题目
P1079 中青局
语言
C++
递交时间
2022-08-01 20:49:14
评测时间
2022-08-01 20:49:14
评测机
分数
0
总耗时
4ms
峰值内存
384.0 KiB