在测试点#3提示RE,因此应当是``` default: assert(false);```被触发了
by yiming564 @ 2024-02-10 12:50:22
抱歉各位,是我的锅,在#3测试点中有这样一个数据:
```
Insert 44
In the begining,
the earth was without form
```
此时```do_insert()```调用```skip_gap()```会跳过" In the beginning"的第一个空格,应该改为```skip_tail()```,跳过直到换行符
```
inline void skip_tail()
{
while (*input != '\n')
input++;
input++;
}
```
by yiming564 @ 2024-02-10 13:01:50