ACM-ICPC 2018 焦作赛区网络预赛 Mathematical Curse (简单DP+维护极值)
题目链接:https://nanti.jisuanke.com/t/31711#include<bits/stdc++.h>using namespace std;#define debug puts("YES");#define rep(x,y,z) for(int (x)=(y);(x)<(z);(x)++)#define read(x,y) scanf("%...