/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void tree::insert(int, const char*, int)':
/in/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);
      |          ^
/in/foo.cc: In function 'void tree::erase(int, int)':
/in/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);
      |          ^
/in/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 28ms 6.324 MiB
#2 Accepted 1ms 284.0 KiB
#3 Accepted 6ms 2.523 MiB
#4 Accepted 8ms 2.918 MiB
#5 Accepted 8ms 2.887 MiB
#6 Accepted 6ms 2.473 MiB
#7 Accepted 7ms 4.176 MiB
#8 Accepted 7ms 4.141 MiB
#9 Accepted 15ms 5.547 MiB
#10 Accepted 25ms 5.598 MiB

信息

递交者
类型
递交
题目
P1856 文本编辑器
语言
C++
递交时间
2026-10-04 03:10:38
评测时间
2026-11-01 12:44:57
评测机
分数
100
总耗时
116ms
峰值内存
6.324 MiB