程序蒟蒻
程序蒟蒻
全部文章
分类
题解(20)
归档
标签
去牛客网
登录
/
注册
程序蒟蒻的博客
全部文章
(共2篇)
【每日一题】8月11日题目精讲—矩阵消除游戏
思路: 先枚举行,在确定行的基础上去贪心列。 用01字符串去枚举,这个还是头会见,毕竟菜的扣脚。 思路不是很难懂。 #include<iostream> #include<string> #include<math.h> #include&l...
贪心
2020-08-25
0
656
【每日一题】8月10日题目精讲—排座椅
题目:https://ac.nowcoder.com/acm/problem/16618 思路:分开行与列分开计算,贪心即可,记得存一下位置并且输出顺序 #include<iostream> #include<string> #include<math.h&g...
贪心
2020-08-11
1
729