set的使用和它的迭代器的使用Stack is one of the most fundamental data structures, which is based on the principle of Last In First Out (LIFO). The basic operations...
分类:
其他好文 时间:
2015-12-06 13:02:53
阅读次数:
172
题目大意:给一棵带有边权的树,有m条路径,可以使一条边的权值为0,求最远路径的最小值。题解:因为题目的数据点给的很明确 因此可以打n*n的去骗前五十分。另外m=1时可以特判另外打个程序骗60分。60分程序:#include#includeint dep[100001],fa[100001],last...
分类:
其他好文 时间:
2015-12-05 12:48:58
阅读次数:
662
Last name is not required in Liferay 6.2.10, while becomes required in Liferay 7.0. How to make this field required?I search for /liferay-portal/modul...
分类:
其他好文 时间:
2015-12-04 20:51:25
阅读次数:
187
#include //s为初态,z为终态int in(int s,int z){ if(s == z) { printf("3\nlook!the last status belongs to Z"); return 1; } else { ...
分类:
其他好文 时间:
2015-12-03 21:02:50
阅读次数:
138
--取当前日期前一个月的第一天的日期SELECT last_day(add_months(SYSDATE, -2)) + 1 FROM dual;--取当前日期前一个月的最后一天的日期SELECT last_day(add_months(SYSDATE, -1)) FROM dual;--本月的第一...
分类:
数据库 时间:
2015-12-03 14:11:50
阅读次数:
329
Last-Modified: 告诉反向代理页面什么时间被修改Expires: 告诉反向代理页面什么时间应该从缓冲区中删除Cache-Control: 告诉反向代理页面是否应该被缓冲Pragma: 告诉反向代理页面是否应该被缓冲.一、反向代理的概念什么是反向代理呢?其实,反向代理也就是通常所说的WEB...
分类:
其他好文 时间:
2015-12-03 00:15:15
阅读次数:
231
struct spwd { char *sp_namp; /* user login name */ char *sp_pwdp; /* encrypted password */ long int sp_lstchg; /* last passwor...
分类:
系统相关 时间:
2015-12-02 18:01:39
阅读次数:
147
#include #include void merge(int r[],int first,int last,int mid){ int number_temp[10]={0}; int i=first,j=mid+1,k; for(k=0;k<=last-first;k++) { if...
分类:
编程语言 时间:
2015-12-02 17:48:17
阅读次数:
137
C++DFS 1 class Solution { 2 public: 3 void help(vector &a, int now, int sum, int target, vector &path, vector > &ans, bool last) { 4 if (s...
分类:
其他好文 时间:
2015-12-02 14:36:35
阅读次数:
149
1、vi的基本概念 基本上vi可以分为三种状态,分别是: 命令模式(command mode) 插入模式(Insert mode) 底行模式(last line mode) 各模式的功能区分如下: 1) 命令行模式command mode) 控制屏幕光标的移动,字符、字或行的删除...
分类:
系统相关 时间:
2015-12-01 18:15:13
阅读次数:
235