This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
输入的第一行是一个整数n,代表有n组测试数据
之后有n行,每行表示一组测试数据
每一行的第一个元素是操作类型
如果操作类型为1,这一行后面跟着两个任意长度整数,输出它们的和
如果操作类型为2,这一行后面跟着一个任意长度整数,一个位置以及一个数字,输出将数字插入到任意长度整数的指定位置上的结果
如果操作类型为3,这一行后面跟着一个任意长度整数,一个位置,输出删除这个整数指定位置上的数字的结果
插入是从低位到高位,从1编号,向高位插
删除也是从低位到高位,从1编号