题目链接:http://acm.fzu.edu.cn/problem.php?pid=2277 Problem Description There is a rooted tree with n nodes, number from 1-n. Root’s number is 1.Each node ...
分类:
编程语言 时间:
2017-08-02 20:02:15
阅读次数:
208
题目分析:http://acm.fzu.edu.cn/problem.php?pid=2278 ...
分类:
其他好文 时间:
2017-08-02 19:51:49
阅读次数:
126
2205 据说题目很水 Accept: 199 Submit: 458Time Limit: 1000 mSec Memory Limit : 32768 KB Accept: 199 Submit: 458Time Limit: 1000 mSec Memory Limit : 32768 KB ...
分类:
其他好文 时间:
2017-07-30 11:36:50
阅读次数:
109
执行脚本案例:如图 通过多次运行测试,案例中JMeter元件之间的执行顺序(优先级)如下: 1)执行配置元件“HTTP Cookie”管理器; 2)执行前置处理器“用户参数”; 3)执行定时器元件“固定定时器”; 4)执行每个取样器,如http:127.0.0.1/XXX; 5)执行后置处理器“正则 ...
分类:
其他好文 时间:
2017-07-29 18:18:30
阅读次数:
186
Problem 2087 统计树边 Accept: 212 Submit: 651 Time Limit: 1000 mSec Memory Limit : 32768 KB Problem Description 在图论中。树:随意两个顶点间有且仅仅有一条路径的图。 生成树:包括了图中全部顶点的一 ...
分类:
其他好文 时间:
2017-07-29 14:06:59
阅读次数:
155
Description Fat brother and Maze are playing a kind of special (hentai) game on an N*M board (N rows, M columns). At the beginning, each grid of this ...
分类:
其他好文 时间:
2017-07-27 14:34:32
阅读次数:
190
Problem Description Therearex frogs and y chicken in a garden. Kim found there are n heads and m legs in the garden. Please tell Kim how many frogs an ...
分类:
其他好文 时间:
2017-07-24 11:43:59
阅读次数:
160
首先把相同的事件点合并,那么每个点有时间$t_i$,位置$x_i$,价值$v_i$。 考虑DP,设$f_i$表示按时间从小到大考虑每个事件,目前位于事件$i$的时间与位置时,最多能让多少个事件发生。在$t_i$秒初对方不能碰到$i$,但在这一秒结束结算时,对方可以碰到$i$。 则$f_i=\max( ...
分类:
其他好文 时间:
2017-07-24 10:00:26
阅读次数:
190
KMP原理 点击FZU 2275 Game乍一看是个博弈的题目,实际上是重现里面比较简单的字符匹配。只要B是0,那么A一定赢。只要A的长度小于B,那么B一定赢。只有当A中可以搜索到B,也就是B或者B的反转是A的子串,那么A就可以赢。#include #include #include #includ... ...
分类:
其他好文 时间:
2017-07-23 22:48:04
阅读次数:
307
Problem 2277 Change Time Limit: 2000 mSec Memory Limit : 262144 KB Time Limit: 2000 mSec Memory Limit : 262144 KB Problem Description There is a roote ...
分类:
编程语言 时间:
2017-07-23 15:29:04
阅读次数:
174