Educational Codeforces Round 102 (Rated for Div. 2) D. Program
Educational Codeforces Round 102 (Rated for Div. 2) D. Program
预处理之后再计算,需计算出第l个运算符之前的最大、最小值,第r个运算符之后的最大、最小值以及各个运算符计算出的值
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
const int INF = 0x3f3f3f3f;
const int maxn = 2e5+50;
int pmax[.
原创
2021-02-05 20:05:01 ·
146 阅读 ·
0 评论