linux环境显示所有文件(包括隐藏文件)ll -a有两个文件可以提供这种“进入系统时自动设置”的功能,一个是 /etc/bashrc,另一个是 ~/.bashrc。其中/etc/bashrc是被每个用户执行的,而~/.bashrc只被当前用户执行。所以/etc/bashrc只有root用 户能更改...
分类:
数据库 时间:
2014-06-29 00:20:23
阅读次数:
305
Due to IE10 published, I’ll conclude the methods that how to add trust sites in to IE of the version before IE10. General, there are three methods to ...
分类:
其他好文 时间:
2014-06-28 21:33:51
阅读次数:
1028
1在lvs 服务器上安装nrpe客户端:1.1,rpm方式安装nrpe客户端下载地址:http://download.csdn.net/detail/mchdba/7493875[root@localhost nagios]# ll
总计 768
-rw-r--r-- 1 root root 713389 12-16 12:08 nagios-plugins-1.4.11-1.x86_64.rp...
分类:
移动开发 时间:
2014-06-22 20:19:40
阅读次数:
330
(1)输入任意文法,消除左递归和公共左因子;
(2)打印文法的First和Follow集;
(3)判断是否是LL(1)文法,如果是则打印其分析表;
(4)输入一个句子,如果该句子合法则输出与句子对应的语法树;
能够输出分析过程中每一步符号栈的变化情况。
如果该句子非法则进行相应的报错处理。...
分类:
其他好文 时间:
2014-06-22 19:02:34
阅读次数:
199
C题就是一个简单的模拟,首先给每个人两个。然后把剩下的都给一个人就好了。
给的时候蛇形给。
#include
#include
#include
#include
#include
#include
using namespace std;
#define LL __int64
#define maxn 330000
int main()
{
int n,m,k;
while(...
分类:
其他好文 时间:
2014-06-22 14:11:57
阅读次数:
228
已知 a,b (a>=0,b>=0)
求一组解 (x,y) 使得 (x,y)满足
gcd(a,b) = ax+by
注意求出的 x,y 可能为0或负数
代码中g = gcd(a,b);
LL extend_gcd (LL a , LL b , LL &x , LL &y) {
if (b == 0) {
x = 1LL;
y = 0;...
分类:
其他好文 时间:
2014-06-22 08:38:36
阅读次数:
186
Is it a dream that you can access text files using SQL statements?
But now, it is true that DB Query Analyzer provides you a power tool which can help you realize the dream above. I’ll give you a sample to show its powerful function. What’s more, the p...
分类:
数据库 时间:
2014-06-21 18:41:54
阅读次数:
510
#include#include#include#include#includeusing namespace std;typedef long long ll;const int maxn = 505;const ll one = 1;const ll inf = one l[j-1][x]) l...
分类:
其他好文 时间:
2014-06-21 08:55:01
阅读次数:
207
浏览目录命令:1.cd 打开目录cd ppcd ..cd /cd 切换到用户自家目录cd /usr/bin 切换到/usr/bin 目录cd - 回到最近一个目录2.显示当前目录pwd3.显示当前目录列表ls 目录ls -a 显示隐藏文件ls -l 简写成: ll 显示时间、拥有权等, 其中d .....
分类:
系统相关 时间:
2014-06-20 21:25:13
阅读次数:
335
@Html.DropDownListFor(x => x.WillAttend, new[] { new SelectListItem() {Text = "Yes, I'll be there", Valu...
分类:
Web程序 时间:
2014-06-20 17:48:00
阅读次数:
219