摘要: 学习粗:https://www.cnblogs.com/qq2210446939/p/12572525.html 模板: #include<iostream> #include<algorithm> using namespace std; const int maxn=; typedef long 阅读全文
posted @ 2020-04-01 19:08 starve_to_death 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 题:https://codeforces.com/contest/1332/problem/E 题意:给定n*m的矩阵,每个位置都可以叠加高度。有俩种操作,操作1是给相邻位置之间都添加高度1,操作2是给一个位置增加高度2,可进行若干步让所有位置高度相同,问有矩阵有多少种初始状态能达到目的,每个位置的 阅读全文
posted @ 2020-04-01 13:26 starve_to_death 阅读(254) 评论(0) 推荐(1) 编辑