题目: 最近xhd正在玩一款叫做FATE的游戏,为了得到极品装备,xhd在不停的杀怪做任务。久而久之xhd开始对杀怪产生的厌恶感,但又不得不通过杀怪来升完这最后一级。现在的问题是,xhd升掉最后一级还需n的经验值,xhd还留有m的忍耐度,每杀一个怪xhd会得到相应的经验,并减掉相应的忍耐度。当忍耐度 ...
分类:
其他好文 时间:
2020-04-25 10:42:38
阅读次数:
56
Binary Tree Traversals Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 16273 Accepted Submission( ...
分类:
其他好文 时间:
2020-04-25 10:36:06
阅读次数:
49
https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life The universe of the Game of Life is an infinite, two-dimensional orthogonal grid of square cells ...
分类:
其他好文 时间:
2020-04-23 18:55:58
阅读次数:
76
题目描述 #define xhxj (Xin Hang senior sister(学姐))If you do not know xhxj, then carefully reading the entire description is very important.As the stronges ...
分类:
其他好文 时间:
2020-04-22 11:33:54
阅读次数:
83
F - F HDU - 2647 拓扑排序,从上往下回溯,挺好奇差分约束为啥就不对。拓扑排序有明显的优先级。 #include<bits/stdc++.h> using namespace std; #define pb push_back typedef long long ll; const i ...
分类:
其他好文 时间:
2020-04-22 00:02:10
阅读次数:
67
D D HDU 3282 思路 题意:给我一个奇数长度为n的序列,从左到右依次输出 1~当前技术位置的 这个子区间内的中位数。 思路 1 .法一: 维护一个最小根堆、最大根堆(注意less 在priority_queue 中的数字排列的顺序是按从头部top 按数字大小逐渐递减,而gerater 在p ...
分类:
其他好文 时间:
2020-04-21 12:54:09
阅读次数:
59
I I HDU 3466Proud Merchants(贪心+01背包) Recently, iSea went to an ancient country. For such a long time, it was the most wealthy and powerful kingdom in ...
分类:
其他好文 时间:
2020-04-20 14:04:37
阅读次数:
77
Paths on the treeProblem Descriptionbobo has a tree, whose vertices are conveniently labeled by 1,2,…,n.** There are m paths on the tree. bobo would l ...
分类:
其他好文 时间:
2020-04-19 18:07:45
阅读次数:
62
https://www.cnblogs.com/DjangoBlog/p/9575360.html 总结: sse、mse、rmse越接近于0,说明模型选择和拟合更好,数据预测也越成功 r-square“确定系数”的正常取值范围为[0 1],越接近1,表明方程的变量对y的解释能力越强,这个模型对数据 ...
分类:
其他好文 时间:
2020-04-19 17:46:58
阅读次数:
62
[root@Private python script] cat square.py ...
分类:
编程语言 时间:
2020-04-19 12:32:24
阅读次数:
65