Xor Sum AtCoder 2272 Time limit : 2sec / Memory limit : 256MB Score : 600 points Problem Statement You are given a positive integer N. Find the number ...
分类:
其他好文 时间:
2020-05-11 19:09:03
阅读次数:
87
题目连接:https://www.luogu.com.cn/problem/UVA11383 下面是题解: 我们仔细一想就会发现这道题其实是一个二分图最大匹配的板子 我们可以把这道题想象成将男生和女生之间两两配对,使他们的好感度最大 我们把矩阵中的元素a[x][y] 看成女生和男生之间的好感度,跑一 ...
分类:
编程语言 时间:
2020-05-11 18:24:33
阅读次数:
63
P1332 血色先锋队 + 题目链接: "https://www.luogu.com.cn/problem/P1332" 涉及知识点: + bfs solution: + $这个题直接用bfs即可,前几天出过bfs的题了,巩固一下$ + $在一开始将a个传染源读入队列,同时记录感染时间为0$ + $ ...
分类:
其他好文 时间:
2020-05-11 13:25:59
阅读次数:
60
题目连接:https://www.luogu.com.cn/problem/AT2272 —————————————————————————————————————————————————————————— 这道题只看阳历没啥效果, 显然的,暴力百分百会炸。 所以只能考虑有啥思维做法 考虑一下递推: ...
分类:
其他好文 时间:
2020-05-11 13:10:48
阅读次数:
61
Problem Statement Problem Vestigium means "trace" in Latin. In this problem we work with Latin squares and matrix traces. The trace of a square matrix ...
分类:
其他好文 时间:
2020-05-11 09:15:09
阅读次数:
68
"Problem Statement" You are given a positive integer $N$. Find the number of the pairs of integers $u$ and $v(0≤u,v≤N)$such that there exist two non n ...
分类:
其他好文 时间:
2020-05-10 19:32:45
阅读次数:
67
Using subgradient method to solve lasso problem The problem is to solve: $$\underset{\beta}{\operatorname{minimize}}\left\{\frac{1}{2 N} \sum_{i=1}^{N ...
分类:
其他好文 时间:
2020-05-10 19:25:21
阅读次数:
167
题目 https://www.luogu.com.cn/problem/P2822 题目分析 由于是从c[n][m]从寻找是K的倍数的nm值,而且是多组测试实例,所以使用杨辉三角打表便于查询 C(n,m)=C(n-1,m-1)+C(n-1,m) 而在查询个数的时候,因为存在记录符合条件的nm值的个数 ...
分类:
其他好文 时间:
2020-05-10 17:34:28
阅读次数:
60
#安装zabbix4.0的源 rpm -ivh https://repo.zabbix.com/zabbix/4.0/rhel/7/x86_64/zabbix-release-4.0-1.el7.noarch.rpm #安装zabbix所需的组件(agent 需要监控就安装,不需要就不安装) yum ...
分类:
其他好文 时间:
2020-05-10 16:54:51
阅读次数:
74
该编程题网址 http://codeup.cn/problem.php?cid=100000567&pid=4 题目描述 某企业发放的奖金根据利润提成。利润I低于或等于100000时,奖金可提10%;利润高于100000元,低于200000元(100000<I<=200000)时,低于100000元 ...
分类:
其他好文 时间:
2020-05-10 16:52:02
阅读次数:
44