A DZY Loves Hash 水题 B DZY Loves Strings 水题 C DZY Loves Sequences 枚举修改的位置即可 水 D DZY Loves Modification 给定一个矩阵 进行k次操作 每次取一行或一列 累加他们的和 并且将取中的每一个元素减p 每次找最 ...
分类:
其他好文 时间:
2017-06-11 15:45:04
阅读次数:
256
数学问题 欧拉函数 Miller-Rabin Pollard-rho ...
分类:
其他好文 时间:
2017-06-08 23:38:28
阅读次数:
325
Time Limit: 20 Sec Memory Limit: 512 MBSubmit: 992 Solved: 589 Description 对于正整数n,定义f(n)为n所含质因子的最大幂指数。例如f(1960)=f(2^3 * 5^1 * 7^2)=3, f(10007)=1, f(1) ...
分类:
其他好文 时间:
2017-06-07 16:59:29
阅读次数:
292
传送门:http://www.lydsy.com/JudgeOnline/problem.php?id=4059 【题解】 考虑分治。定义过程solve(l,r)为判断全在[l,r]范围内的所有连续子序列是不是non-boring的 那么我们预处理每个地方的前一个与它相同的数pre[i]和后一个与它 ...
分类:
其他好文 时间:
2017-06-06 18:47:20
阅读次数:
161
http://www.cnblogs.com/louyihang-loves-baiyan/p/4885659.html 按照博客的教程配置,但自己在服务器上配置时,USE_CUDNN = 1会报错,注释掉反而能正常运行。 添加hdf5路径按照教程添加: INCLUDE_DIRS := $(PYTH ...
分类:
其他好文 时间:
2017-06-05 15:47:29
阅读次数:
254
单独的seq。xml文件<?xml version="1.0" encoding="utf-8"?><openerp> <data noupdate="1"><!-- Sequences for demo_contract_lx --> <record id="seq_type_demo_contr ...
分类:
其他好文 时间:
2017-06-04 19:55:27
阅读次数:
257
3232: 圈地游戏 Description DZY家的后院有一块地,由N行M列的方格组成,格子内种的菜有一定的价值,并且每一条单位长度的格线有一定的费用。 DZY喜欢在地里散步。他总是从任意一个格点出发,沿着格线行走直到回到出发点,且在行走途中不允许与已走过的路线有任何相交或触碰(出发点除外)。记 ...
分类:
其他好文 时间:
2017-05-30 20:51:28
阅读次数:
292
传送门 Description Pavel loves grid mazes. A grid maze is an n?×?m rectangle maze where each cell is either empty, or is a wall. You can go from one cell ...
分类:
其他好文 时间:
2017-05-28 20:51:17
阅读次数:
309
Given a sequence, {A1, A2, ..., An} which is guaranteed A1 > A2, ..., An, you are to cut it into three sub-sequences and reverse them separately to fo ...
分类:
编程语言 时间:
2017-05-26 23:33:11
阅读次数:
327
题目链接 Problem Description Given two sequences of numbers : a[1], a[2], ...... , a[N], and b[1], b[2], ...... , b[M] (1 <= M <= 10000, 1 <= N <= 1000000 ...
分类:
其他好文 时间:
2017-05-23 20:35:19
阅读次数:
175