原题翻译是个什么东西!这里提供一个翻译。
题目翻译:有 $n$ 个数,$m$ 个限制条件。每一个限制条件形如:
1. `x y gt c`:表示 $a_x + a_{x+1} + \cdots +a_{x+y} > c$。
2. `x y lt c`:表示 $a_x + a_{x+1} + \cdots +a_{x+y} < c$。
有解输出 `lamentable kingdom`,否则输出 `successful conspiracy`。
题目翻译:有 n 个数,m 个限制条件。每一个限制条件形如:
x y gt c:表示 ax+ax+1+⋯+ax+y>c。
x y lt c:表示 ax+ax+1+⋯+ax+y<c。
有解输出 lamentable kingdom,否则输出 successful conspiracy。