今天心血来潮,决定更新博客。新的背景,新的域名,新的昵称,新的自己。 预祝NOIP2017++RP。 ...
分类:
其他好文 时间:
2017-08-13 20:13:10
阅读次数:
81
Journey 题意:给一颗树,边权都为1,从1出发,求走到叶子节点的边权和的期望(每次往孩子遍历的等概率的) 思路:从1出发dfs,每个点到下一个点的概率是当前节点的概率乘孩子节点的个数,也就是当前点的边数-1,到叶子节点后计算概率乘边权和然后相加就是了,1节点需要特殊处理一下 AC代码: ...
分类:
其他好文 时间:
2017-08-13 18:37:58
阅读次数:
109
There are n cities and n?-?1 roads in the Seven Kingdoms, each road connects two cities and we can reach any city from any other by the roads. Theon a ...
分类:
其他好文 时间:
2017-08-13 12:21:13
阅读次数:
200
Background The knight is getting bored of seeing the same black and white squares again and again and has decided to make a journey around the world. ...
分类:
其他好文 时间:
2017-08-02 11:08:47
阅读次数:
211
Background The knight is getting bored of seeing the same black and white squares again and again and has decided to make a journey around the world. ...
分类:
其他好文 时间:
2017-07-27 21:27:00
阅读次数:
190
题目: Background The knight is getting bored of seeing the same black and white squares again and again and has decided to make a journey around the wor ...
分类:
其他好文 时间:
2017-07-27 15:43:40
阅读次数:
157
可以直接绘图: https://www.kaggle.com/bonelee/a-journey-through-titanic/editnb ...
分类:
编程语言 时间:
2017-07-17 20:07:50
阅读次数:
201
题面: 3887: [Usaco2015 Jan]Grass Cownoisseur Description In an effort to better manage the grazing patterns of his cows, Farmer John has installed one-w ...
分类:
其他好文 时间:
2017-07-13 22:41:51
阅读次数:
169
The beauty of the journey is found in the scenery along the way. 旅行之美在于沿途所见的风景。 Several years ago, I climbed the Mt. Huashan with my classmates, one o ...
分类:
其他好文 时间:
2017-07-11 09:35:42
阅读次数:
181
The next few days, I'll get some simple JavaEE skill.This is a new period which will help me start a new journey. After scanning the study plan , I've ...
分类:
其他好文 时间:
2017-06-25 00:19:07
阅读次数:
135