题目链接:https://leetcode cn.com/problems/ju zhen zhong de lu jing lcof/ dfs ...
分类:
其他好文 时间:
2020-05-04 15:50:48
阅读次数:
47
P1640 [SCOI2010]连续攻击游戏 题目描述 lxhgww最近迷上了一款游戏,在游戏里,他拥有很多的装备,每种装备都有2个属性,这些属性的值用[1,10000]之间的数表示。当他使用某种装备时,他只能使用该装备的某一个属性。并且每种装备最多只能使用一次。游戏进行到最后,lxhgww遇到了终 ...
分类:
其他好文 时间:
2020-05-04 13:34:48
阅读次数:
65
一、环境 1)Linux系统:CentOS 7.7.1908 2)owncloud-8.0.16.tar.bz2下载地址:https://owncloud.org/download/older-versions/ 3)VMware11 安装 Linux 虚拟机、Windows7 环境 二、安装LAM... ...
分类:
其他好文 时间:
2020-05-04 13:08:01
阅读次数:
54
异常: 严重: Context initialization failed org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: No Authenticati ...
分类:
编程语言 时间:
2020-05-04 11:48:52
阅读次数:
105
$$\large 正体不明$$ $$Link:https://www.luogu.org/problem/U92010$$ 题目背景 : \[? \] 题目描述: 对于一个 由"\((\)" , "\(\mathsf X\)" , "\()\)"三种字符 组成的字符串 \(\mathsf S\) 定 ...
分类:
其他好文 时间:
2020-05-03 20:54:25
阅读次数:
82
95. 费解的开关 题目链接: https://www.acwing.com/problem/content/97/ 题解: 前一行的状态可以决定后一行的按法,因为一个开关按两次等于没按,所以第一行的状态确定了,第二行就必须那么按,我们可以枚举第一行的按法,然后进行模拟,因为一行有5个框框,就有32 ...
link class Solution { public: struct Comp{ bool operator()(vector<int>& v1, vector<int>& v2){ return v1[0]+v1[1]>v2[0]+v2[1]; } }; int kthSmallest(vec ...
分类:
其他好文 时间:
2020-05-03 20:13:29
阅读次数:
92
题意:http://acm.hdu.edu.cn/showproblem.php?pid=6513 你最多选两个矩阵反转,问你最后的情况数。 思路:https://www.cnblogs.com/asdfsag/p/10753244.html 很到位了。 const int N=(int)1e2+1 ...
分类:
其他好文 时间:
2020-05-03 18:48:10
阅读次数:
71
You are given an m * n matrix, mat, and an integer k, which has its rows sorted in non-decreasing order. You are allowed to choose exactly 1 element f ...
分类:
其他好文 时间:
2020-05-03 18:14:33
阅读次数:
59
$给出a,b,l,r,求在区间[l,r]内有多少x满足x%a%b!=x%b%a$ $ 分割!!~ $ $打个表很快发现规律,以a b为循环节,每个循环节内满足条件的数都相同,那直接前缀和查询$ $算出[1,r]满足条件的数,算出[1,l 1]满足条件的数,相减即可$ ...
分类:
其他好文 时间:
2020-05-03 16:44:15
阅读次数:
83