当前你的浏览器版本过低,网站已在兼容模式下运行,兼容模式仅提供最小功能支持,网站样式可能显示不正常。
请尽快升级浏览器以体验网站在线编辑、在线运行等功能。
You are to process a sequence of M queries of two types:
The first line consists of one integer: M (number of queries). (2 ≤ M ≤ 106)
The next M lines contain queries. Each query can be either addition or computation.
For each computation query, print a line consisting of one integer which denotes the global minimum value. Assume the absolute values of the answers are no more than 2 × 109.
2 I 1 2 1 Q 1
4
时间上限 | 内存上限 |
3000 | 65536 |