JSTL(JavaServer Page Standard Tag Library):JSP标准标签库。它封装了JSP应用的通用核心功能。 1.准备工作 使用JSTL前需要下载所需文件,下载地址及安装教材可参阅:http://www.runoob.com/jsp/jsp-jstl.html 测试类 ...
分类:
Web程序 时间:
2019-02-03 16:44:06
阅读次数:
205
题目要求 Given an array A of integers, for each integer A[i] we may choose any x with -K <= x <= K, and add x to A[i]. After this process, we have some ar ...
分类:
其他好文 时间:
2019-02-03 10:42:23
阅读次数:
195
https://leetcode.com/problems/minimum-index-sum-of-two-lists/ Suppose Andy and Doris want to choose a restaurant for dinner, and they both have a list ...
分类:
其他好文 时间:
2019-01-31 01:28:37
阅读次数:
169
题目大意: 求n个点的带标号简单无向联通图的数目。 思路: 嗯多项式求逆还不会,到时候会了应该会补吧。 这种和图计数有关的题目一般都是考虑反面计数或者是容斥什么的。 考虑枚举一号点的连通块的大小,然后用总方案数减去这些方案数。 可以得到递推式: $$ f_{i}=2^{i\choose 2} \su ...
分类:
其他好文 时间:
2019-01-30 00:24:13
阅读次数:
111
ribbon的负载均衡策略有很多 IRule 这是所有负载均衡策略的父接口,里边的核心方法就是choose方法,用来选择一个服务实例。 AbstractLoadBalancerRule AbstractLoadBalancerRule是一个抽象类,里边主要定义了一个ILoadBalancer,就是我 ...
分类:
其他好文 时间:
2019-01-28 20:18:28
阅读次数:
136
第一遍用dijkstra写完 发现超时 然后 反过来写的话只要一次dijkstra 要点:此题为有向图 反着dijkstra的话要反着存路径 #include<bits/stdc++.h> using namespace std; int m1[1005][1005]; int vis[1005]; ...
分类:
其他好文 时间:
2019-01-27 18:56:15
阅读次数:
188
Xiao Ming and Xiao Bao are playing a simple Numbers game. In a round Xiao Ming can choose to write down a number, or ask Xiao Bao what the kth great n ...
分类:
其他好文 时间:
2019-01-27 13:03:02
阅读次数:
179
点击右下角的电池 power and sleep setting choose what the power buttons do change settings that are currently unavailable Turn on fast startup ...
Two people are playing a game with a string ss, consisting of lowercase latin letters. On a player's turn, he should choose two consecutive equal lett ...
分类:
其他好文 时间:
2019-01-23 10:39:52
阅读次数:
195
"link" 输入$n,k$,求$\sum_{i=0}^k{n\choose i}$对2333取模,10万组询问,n,k using namespace std; const int p = 2333; int fac[3000], inv[3000]; int f[3000][3000]; int ...
分类:
其他好文 时间:
2019-01-22 10:54:28
阅读次数:
143