摘要: include include include include typedef long long ll; using std::min; const int N = 5000 + 15; int n,m; ll p; ll dp[N][N], sum[N][N]; int main() { sca 阅读全文
posted @ 2018-09-27 21:20 xayata 阅读(135) 评论(0) 推荐(0) 编辑
摘要: $des$ 存在参数数组 $a$,$a$ 升序排列 $$a_1 include include include include include using namespace std; const int N = 1e5 + 10; define gc getchar() define Rep(i, 阅读全文
posted @ 2018-09-27 19:29 xayata 阅读(1660) 评论(0) 推荐(0) 编辑
摘要: $des$ 存在 $1000 \times 1000$ 的矩阵,保证元素互不相同,$2e5$ 次询问,每次询 问给定 $x, y$ 问存在多少点 $(a, b)$ 满足该元素是 $a$ 行的 $x$ 大, $b$ 列的 $y$ 大。 $sol$ 这数据范围给的不敢写暴力啊,然而这 T1 就是暴力啊 阅读全文
posted @ 2018-09-27 19:12 xayata 阅读(195) 评论(0) 推荐(0) 编辑