Description 当前正火的一款手游阴阳师又出新式神了,BugZhu十分想要获得新出的式神,所以他决定花光所有的积蓄来抽抽抽!BugZhu经过长时间的研究后发现通过画三角外接圆能够提高获得该式神的概率,即如下图所示的图形: 高超的数学天分给予了BugZhu神一般的洞察力,BugZhu还发现当图 ...
分类:
其他好文 时间:
2017-08-14 18:56:29
阅读次数:
194
Spring boot的基本介绍 spring boot: http://www.roncoo.com/article/detail/124661 http://tengj.top/ https://www.netkiller.cn/java/index.html idea: https://www ...
分类:
编程语言 时间:
2017-08-12 22:51:34
阅读次数:
209
阅读目录 认识模块 什么是模块 模块的导入和使用 常用模块一 collections模块 时间模块 random模块 os模块 sys模块 序列化模块 re模块 常用模块二 hashlib模块 configparse模块 logging模块 什么是模块 模块的导入和使用 collections模块 ...
分类:
其他好文 时间:
2017-08-07 15:56:08
阅读次数:
321
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=15 题意: 判断是否是弦图。 思路: 所谓弦图,也就是对于一个无向图,若该图的任意一个长度大于3的环中存在一条边连接这个环上不相邻的两点,则此图称作弦图。 弦图的判断不难,先用最大 ...
分类:
Web程序 时间:
2017-08-05 11:50:04
阅读次数:
155
题目链接: PKU:http://poj.org/problem?id=1861 ZJU:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=542 Description Andrew is working as system ad ...
分类:
Web程序 时间:
2017-08-02 13:22:00
阅读次数:
172
题面: 1901: Zju2112 Dynamic Rankings Description 给定一个含有n个数的序列a[1],a[2],a[3]……a[n],程序必须回答这样的询问:对于给定的i,j,k,在a[i],a[i+1 ],a[i+2]……a[j]中第k小的数是多少(1≤k≤j-i+1), ...
分类:
其他好文 时间:
2017-08-01 23:07:05
阅读次数:
239
ZOJ 2970: Faster, Higher, Stronger ...
分类:
其他好文 时间:
2017-07-30 00:57:49
阅读次数:
181
题目链接: http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3872 题意: 给你n个数,求这n个数的连续子序列中不算重复的数的和,比如第二个样例他的子序列就是{2},{2,3},{2,3,3},{3},{3,3},{3};但 ...
分类:
其他好文 时间:
2017-07-29 20:51:24
阅读次数:
170
Help Bob Time Limit: 2 Seconds Memory Limit: 65536 KB There is a game very popular in ZJU at present, Bob didn't meant to participate in it. But he de ...
分类:
其他好文 时间:
2017-07-29 18:13:32
阅读次数:
88
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2314 题意: 给出每条边流量的上下界,问是否存在可行流,如果存在则输出。 思路:先定义D(u)为顶点u发出的所有弧的流量下界与进入顶点u的所有弧的流量下界和之差(out【u】 ...
分类:
其他好文 时间:
2017-07-29 17:38:11
阅读次数:
144