首页 > TAG信息列表 > 600e

动手-文字检测-PSENet

借助mmocr框架,测试几种算法的效果。 这是一个文字检测和文字识别库,集成了很多的模型,包括PSENet、PixelLink等等 安装参考 https://mmocr.readthedocs.io/en/latest/install.html (base) xuehp@haomeiya009:~/git$ conda create -n open-mmlab python=3.7 -y (base) xuehp@haomeiya

codeforces 600E - Lomsat gelral (dsu on tree)

题目链接:https://codeforces.com/problemset/problem/600/E 一直没有点这个技能点,今天跟队友打训练赛,碰到一道 \(dsu\ on\ tree\) 的题写不出来,就回来把这个题写了 \(dsu\ on\ tree\) 运用了轻重链剖分的思想,先处理轻儿子的答案,然后消去轻儿子的影响,最后处理重儿子,并保留重儿子的

600E - Lomsat gelral(找子树多颜色问题)(入门)

题:https://codeforces.com/problemset/problem/600/E 题意:一棵树有n个结点,每个结点都是一种颜色,每个颜色有一个编号,求树中每个子树的最多的颜色编号的和,对于每个结点都输出答案。 分析:考虑暴力算法,对于每个节点只是清空计数数组,再对其子树颜色进行统计,复杂度o(n^2);    接着我

CodeForces 600E Lomsat gelral(线段树合并)

题目链接:http://codeforces.com/problemset/problem/600/E You are given a rooted tree with root in vertex 1. Each vertex is coloured in some colour. Let's call colour c dominating in the subtree of vertex v if there are no other colours that appear in the