Questions(Updating)
有时候做题时会遇到一些未学习的零碎知识点,或存疑的疑惑
为防止遗忘,在此记录
1、复数除法与线性变换的关系 Accepted
Codeforces 8D(2018.5.9)
Definition: 复数除法商的abs等与两复数的abs的商,商的幅角等于两复数幅角的差值
这样将向量AB的单位向量作为除数,其它点作为被除数进行复数除法,就能实现以AB作为X轴的线性变换。
2、线性筛时间复杂度的证明 Accepted
BZOJ 2818
https://wenku.baidu.com/view/2d706761aa00b52acec7ca63.html 贾志鹏论文
3、Codeforces 979D的空间大小的选取
个人认为的上界在MAXN*2^16,正解选取的是MAXN*20*20
4、priority_queue与sort运算符重载的区别 Accepted
(BZOJ 2006)
priority_queue:返回值为真则交换
sort:返回值为真则不交换
5、莫比乌斯反演由约数式到倍数式的推导 Accepted
(BZOJ 2301)随便推推吧
6、BZOJ 3232 与 最大权闭合子图 的联系
(BZOJ 3232)
7、BZOJ 4117 中对$Huffman Tree$分治构造方式的疑问:
为什么不能按照$pro∗num$从小到大排序直接进行合并呢?(对应文件:BZOJ 4117-2)
8、关于$long double$等浮点数精度溢出时的处理
(Luogu P2394)
9、动态开点线段树的空间计算…… Accepted
(BZOJ 1901)
主席树的空间计算……
(BZOJ 3123)
由于最坏情况下每修改一次都要增加log(n)个
因此空间至少是要开 修改次数*log(权值区间)的
不过有些时候空间会比较玄学,所以最好还是在保证不MLE的情况下开大点
Questions(Updating)的更多相关文章
- LeetCode Top 100 Liked Questions in Golang(updating...)
leetcode go语言版本,主要为了熟悉下语言 1. Two Sum 双指针版本, O(NlogN) func twoSum(nums []int, target int) []int { val ...
- WCF学习系列三--【WCF Interview Questions – Part 3 翻译系列】
http://www.topwcftutorials.net/2012/10/wcf-faqs-part3.html WCF Interview Questions – Part 3 This WCF ...
- WCF学习系列四--【WCF Interview Questions – Part 4 翻译系列】
WCF Interview Questions – Part 4 This WCF service tutorial is part-4 in series of WCF Interview Qu ...
- 115 Java Interview Questions and Answers – The ULTIMATE List--reference
In this tutorial we will discuss about different types of questions that can be used in a Java inter ...
- openvswith Frequently Asked Questions
Open vSwitch <http://openvswitch.org> 参考地址:http://git.openvswitch.org/cgi-bin/gitweb.cgi?p=ope ...
- All LeetCode Questions List 题目汇总
All LeetCode Questions List(Part of Answers, still updating) 题目汇总及部分答案(持续更新中) Leetcode problems clas ...
- CocoaPods被卡住:Updating local specs repositories
使用CocoaPods被卡住:Updating local specs repositories 使用 pod install --verbose --no-repo-update
- WCF学习系列二---【WCF Interview Questions – Part 2 翻译系列】
http://www.topwcftutorials.net/2012/09/wcf-faqs-part2.html WCF Interview Questions – Part 2 This WCF ...
- 使用CocoaPods被卡住:Updating local specs repositories
使用cocoapods 更新第三库,一直停留在.Updating local specs repositories 后来查发现pod install 被墙了,请大家换成pod install --v ...
随机推荐
- connect系统调用
/* * Attempt to connect to a socket with the server address. The address * is in user space so we ve ...
- Mysql 监控性能状态 QPS/TPS【转】
QPS(Query per second) 每秒查询量 TPS(Transaction per second)每秒事务量 这是Mysql的两个重要性能指标,需要经常查看,和Mysql基准测试的结果对比 ...
- 「要买车网」免费获取汽车电商要买车网购车优惠券 - 持续更新(2016-03-12)www.fortunelab.cn
汽车电商要买车网简介 “要买车”(www.yaomaiche.com)网站是上海运图投资有限公司旗下网站,是首家真正打通交易闭环的汽车电商网站,由中国电子商务成功探索者——卜广齐于2014年10月在上 ...
- php内存管理机制与垃圾回收机制
PHP内存管理机制 1 var_dump(memory_get_usage()); //获取内存 2 $a = "laruence"; //定义一个变量 3 var_dump(me ...
- 如何学习React--[转]
如果你是一个 React (或者前端) 新手, 出于以下的原因, 你可能会对这个生态圈感到困惑: React 的目标群体历来是喜欢尝试新事物的开发者和前端专家. Facebook 只开源了他们在实际使 ...
- 记一次对 Laravel-permission 项目的性能优化
我最近研究分析了在 SWIS上面创建的项目的性能.令人惊讶的是,最耗费性能的方法之一是优秀的 spatie/laravel-permission 包造成的. 经过查阅更多资料和研究,发现一个可能明显 ...
- LeetCode699. Falling Squares
On an infinite number line (x-axis), we drop given squares in the order they are given. The i-th squ ...
- sicily 1051. Biker's Trip Odomete
DescriptionMost bicycle speedometers work by using a Hall Effect sensor fastened to the front fork o ...
- 自建YUM源以及相关维护
yum相关概念我这里就不做详细的讲解了,就是一个软件包管理工具.在企业中,很多时候进行编译了自己的RPM包,在搭建YUM的时候,希望将自定义的RPM加入到YUM源中,从而出现了下列方法. 一.配置私有 ...
- (转)最短路算法--Dijkstra算法
转自:http://blog.51cto.com/ahalei/1387799 上周我们介绍了神奇的只有五行的Floyd最短路算法,它可以方便的求得任意两点的最短路径,这称为“多源最短 ...