logo AlgoBeat OnlineJudge
登录 注册

#102398. [BZOJ 2398] palindrome

内存限制:128 MiB 时间限制:20000 ms 标准输入输出
题目类型:传统 评测方式:文本比较
上传者: 匿名

题目描述

输入格式

输出格式

一个数,即生成字符串的好听程度。

样例输入

Insert 0 f
Insert 1 j
Insert 2 x
Insert 3 m
Insert 4 l
Insert 5 h
Insert 6 x
Insert 7 w
Insert 8 j
Insert 9 z
Insert 10 b
Insert 11 m
Insert 12 r
Insert 11 z
Insert 12 b
Modify 10 11 m
Remove 10
Insert 7 t
Insert 8 o
Insert 9 o
Insert 10 r
Reverse 8 11
Rotate 1 11 4

样例输出

7

数据范围与提示

版权所有者:卓亮