会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
blues
Ever tried,ever failed,no matter,try again,fail again,fail better.
博客园
首页
新随笔
联系
订阅
管理
2016年4月1日
Codeforces 650C Table Compression (并查集)
摘要: 题意:M×N的矩阵 让你保持每行每列的大小对应关系不变,将矩阵重写,重写后的最大值最小。 思路:离散化思想+并查集,详见代码 好题! 1 #include <iostream> 2 #include <string.h> 3 #include <stdio.h> 4 #include <algori
阅读全文
posted @ 2016-04-01 00:20 yyblues
阅读(321)
评论(0)
推荐(0)
公告