码迷,mamicode.com
首页 >  
搜索关键字:poi    ( 4928个结果
每周学算法/读英文/知识点心得分享 2.4 - 2.8
每周一个 Algorithm,Review 一篇英文文章,总结一个工作中的技术 Tip,以及 Share 一个传递价值观的东西! Algorithm: 学习算法 题目:https://leetcode.com/problems/zigzag-conversion/ 解题过程: 刚开始没看懂什么意思, ...
分类:编程语言   时间:2019-02-11 15:34:51    阅读次数:171
【Codeforces 1114D】Flood Fill
【链接】 "我是链接,点我呀:)" 【题意】 你选择一个point作为start_position 然后每次你可以将包含该start_position的所有联通块变成任意颜色 问你最少要多少次变换才能将所有的方块变成相同颜色. 【题解】 设dp[i][j][0]表示将i..j这个区间的所有方块变成a ...
分类:其他好文   时间:2019-02-11 13:01:12    阅读次数:200
字体QFont
1 import sys 2 from PyQt5.QtWidgets import QApplication, QWidget,QLabel 3 from PyQt5.QtGui import QFont 4 from PyQt5 import QtCore 5 6 class Demo(QWid... ...
分类:其他好文   时间:2019-02-11 10:47:07    阅读次数:507
POJ3525 Most Distant Point from the Sea
半平面交+二分 二分最远距离把每个直线往里移这个距离然后看一下半平面交是否存在就好 然后注意精度问题 【poj G++需要用%f C++没有问题 //Love and Freedom. #include<cstdio> #include<cstring> #include<algorithm> #i ...
分类:其他好文   时间:2019-02-10 20:17:40    阅读次数:170
[LeetCode 984] String Without AAA or BBB
Given two integers A and B, return any string S such that: S has length A + B and contains exactly A 'a' letters, and exactly B 'b' letters; The subst ...
分类:其他好文   时间:2019-02-10 09:28:27    阅读次数:132
James Munkres Topology: Sec 22 Exer 3
Exercise 22.3 Let \(\pi_1: \mathbb{R} \times \mathbb{R} \rightarrow \mathbb{R}\) be projection on the first coordinate. Let \(A\) be the subspace of \ ...
分类:其他好文   时间:2019-02-09 19:13:55    阅读次数:154
go 内嵌对象类型
demo1 输出 demo2 输出 ...
分类:其他好文   时间:2019-02-09 16:29:59    阅读次数:123
Dockerfile 构建后端tomcat应用并用shell脚本实现jenkins自动构建
Dockerfile 文件构建docker镜像 FROM centos MAINTAINER zhaoweifeng "zh******tech.cn" ENV LANG en_US.UTF-8 RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/l... ...
分类:系统相关   时间:2019-02-08 10:28:25    阅读次数:304
[POI 2000] 病毒
[题目链接] https://www.lydsy.com/JudgeOnline/problem.php?id=2938 [算法] 首先建出给定字符串集的AC自动机 存在无限长的代码当且仅当 : AC自动机上存在一个环且环上没有危险节点 时间复杂度 : O(N) [代码] ...
分类:其他好文   时间:2019-02-07 23:53:45    阅读次数:272
[Javascript] Wrap an API with a Proxy
Proxies allow you to use functions that haven't yet been defined on an object. This means that you can invoke a function then create that function if ...
分类:编程语言   时间:2019-02-07 19:07:57    阅读次数:141
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!