/ Vijos /

记录详情

Accepted

foo.cc: In function ‘void tree::insert(int, const char*, int)’:
foo.cc:307:10: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
  307 |     auto [l, l_sz, r] = split(root, total_size, index);
      |          ^
foo.cc: In function ‘void tree::erase(int, int)’:
foo.cc:340:10: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
  340 |     auto [l, l_sz, rest] = split(root, total_size, index);
      |          ^
foo.cc:341:10: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
  341 |     auto [mid, mid_sz, r] = split(rest, total_size - l_sz, len);
      |          ^
# 状态 耗时 内存占用
#1 Accepted 2ms 520.0 KiB
#2 Accepted 10ms 3.5 MiB
#3 Accepted 11ms 4.0 MiB
#4 Accepted 11ms 4.0 MiB
#5 Accepted 9ms 2.457 MiB
#6 Accepted 11ms 4.25 MiB
#7 Accepted 11ms 4.25 MiB
#8 Accepted 23ms 6.727 MiB
#9 Accepted 44ms 8.246 MiB
#10 Accepted 37ms 7.004 MiB

信息

递交者
类型
递交
题目
P1856 文本编辑器
语言
C++
递交时间
2026-10-04 03:10:38
评测时间
2026-10-14 04:34:19
评测机
分数
100
总耗时
174ms
峰值内存
8.246 MiB