原题链接在这里:https://leetcode.com/problems/interval-list-intersections/ 题目: Given two lists of closed intervals, each list of intervals is pairwise disjoin ...
分类:
其他好文 时间:
2019-08-24 09:35:54
阅读次数:
83
The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Now your job is to find the total ...
分类:
其他好文 时间:
2019-08-24 09:16:24
阅读次数:
73
CF1207A There Are Two Types Of Burgers 题意: 出售普通汉堡和鸡肉汉堡,并且两种汉堡所需的原材料价格不同,问最多能卖多少钱。 解法: 对于这道题,我们优先考虑先卖贵的。(感觉说了一句废话) 然后比较面包能做的汉堡数与贵的肉能做的汉堡数,贵的做的越多越,所以较贵的 ...
分类:
其他好文 时间:
2019-08-23 22:11:17
阅读次数:
111
代码 cpp include using namespace std ; int T , b , p , f , h , c , ans ; int main () { cin T ; while(T ) { ans = 0 ; cin b p f h c ; if(h c) { int rest ...
分类:
其他好文 时间:
2019-08-23 18:50:40
阅读次数:
88
引言 这篇论文深刻分析了one-stage的模型精度比two-stage更差的原因,并提出Focal Loss提高精度。 思路 在论文中,作者指出,造成one-stage模型精度差的原因主要是:正负样本极不平衡。一张图片只有那么几个目标,但是用来分类的Anchor Box却能达到几千个,大量的样本都 ...
分类:
Web程序 时间:
2019-08-22 19:12:06
阅读次数:
134
PAT A1002 A+B for Polynomials 题目描述: This time, you are supposed to find A+B where A and B are two polynomials. Input Specification: Each input file co ...
分类:
其他好文 时间:
2019-08-22 18:51:01
阅读次数:
91
Solutions A. Choose Two Numbers 题意: 给出$A,B$两个集合,$A,B$ 集合分别选一个数$a,b$ ,使得$a+b\notin\ A,B$ 思路: 每个集合选出最大值,必定满足条件。emmmmm比赛的时候傻了。 ...
分类:
其他好文 时间:
2019-08-22 18:31:10
阅读次数:
87
C. Maximum Median 题意: 给定一个数组,可每次可以选择一个数加1,共执行k次,问执行k次操作之后这个数组的中位数最大是多少? 题解:首先对n个数进行排序,我们只对大于中位数a[n/2]的数进行操作,所以这个最大中位数的取值范围是确定的,在区间[ [a[n/2],a[n-1] ]之内 ...
分类:
其他好文 时间:
2019-08-22 13:18:00
阅读次数:
59
http://poj.org/problem?id=3468 Description You have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of operation ...
分类:
其他好文 时间:
2019-08-22 09:20:54
阅读次数:
95
[TOC] markdown基本语法 标题 斜体 加粗 ==高亮== 上标2^3^ 效果: x^y^ 下标 CH~4~ 代码引用 hello world! 代码引入 (使用 python print("hello world!") "我的博客园" 1. one 2. two 3. three one ...
分类:
其他好文 时间:
2019-08-21 18:53:54
阅读次数:
649