L_Y_T
L_Y_T
全部文章
分类
...(2)
data(1)
DP(8)
L_Y_T水题录(11)
NOIP(1)
RMQ(2)
spfa(3)
不过的代码(1)
分块(2)
初赛(5)
单调队列(1)
双指针(1)
图论(4)
复习(1)
字符串(8)
懒(1)
数论(7)
暴力(12)
最短路(5)
未归档(41)
树(8)
概率期望(2)
模拟(2)
模拟赛(3)
模板(2)
练习(2)
贪心(1)
题库(1)
归档
标签
去牛客网
登录
/
注册
Cocoa的菜园
全部文章
(共138篇)
[黑科技]造一组树的数据
<mstyle mathcolor="red"> 思 路 就 是 ...
2019-04-06
0
470
luoguP1186 玛丽卡
最近看了看最短路树,于是就来做这道题了qwq(我才不会告诉你是因为看了这道题才去看的最短路树) <mstyle mathcolor="red"> 所 ...
2019-04-04
0
363
洛谷P5015 标题统计
#include <iostream> #include <stdio.h> #include <string.h> #include <algorithm> using namespace std ; string s ; int ans ; in...
water
2019-03-24
0
359
CF839C Journy
蒟蒻用了一个十分麻烦的方法… 思路:设f[i]代表从1号节点走到i号节点的概率,deep代表i号节点的深度(设1好节点深度为0). 那么,由于这是一颗树,所以 只要统计每个叶节点到根节点的距离(也就是叶节点的深度)与从根节点走到i号节点的概率 求和就可以了 从u节点走到下一个节点的概率是 ...
2019-03-21
0
351
UVA11021 Trbles题解
题意翻译 题目大意 一开始有k种生物,这种生物只能活1天,死的时候有 p i ...
概率期望
2019-03-21
0
404
洛谷P4408逃学的小孩
<mstyle mathcolor="orange"> c o d ...
懒
2019-03-17
0
382
P3178 [HAOI2015]树上操作
<mstyle mathcolor="red"> <mtext> stO </mtext> <mstyle mathcolor="orange">...
2019-03-03
0
436
洛谷P2590 树的统计
<mstyle mathcolor="green"> <mtext> Orz </mtext> </mstyle> \colo...
2019-02-28
0
354
树链剖分
<mstyle mathcolor="red"> <mtext> stO </mtext> <mstyle mathcolor="orange">...
模板
2019-02-28
0
460
洛谷P2032 扫描
<mstyle mathcolor="red"> 十 分 不 ...
练习
2019-02-12
0
371
首页
上一页
2
3
4
5
6
7
8
9
10
11
下一页
末页