1: package compiler; 2: 3: import
java.io.BufferedReader; 4: import java.io.BufferedWriter; 5: import
java.io.IOException; 6: import java.util.Arrays;...
分类:
其他 时间:
2014-02-23 03:40:07
收藏:
0 评论:
0 赞:
0 阅读:
386
1 /*描述 2 求A+B是否与C相等。 3 输入 4 T组测试数据。 5
每组数据中有三个实数A,B,C(-10000.021 int main()22 {23 int T;24 scanf("%d",&T);25 float
a,b,c;26 while(T--)27 { 28 scanf("%...
分类:
其他 时间:
2014-02-23 03:38:51
收藏:
0 评论:
0 赞:
0 阅读:
411
新浪微博分享代码样例1, 分享到微博,简单分享(无需申请)2,
分享到微博,带有AppKey(Appkey需要前往 open.t.sina.com.cn 申请)字段需要经过encodeURIComponent,例子:你好
http://t.sina.com.cn/ ->
分类:
其他 时间:
2014-02-23 03:25:33
收藏:
0 评论:
0 赞:
0 阅读:
273
好久没写文章了,还记得年前面试了一家公司,为了检测一下我的学习能力,给了我一个任务,做一个自动登录并自动操作菜单的程序。花了几天的时间研究了Hook以及使用WindowsAPI操作程序的知识,现在记录一下,也算是一次温习。一丶Hook
在我看来Hook就是监测用户操作键盘(或虚拟键盘)以及鼠标的行为...
分类:
其他 时间:
2014-02-23 03:24:25
收藏:
0 评论:
0 赞:
0 阅读:
523
DescriptionA supermarket has a set Prod of
products on sale. It earns a profit px for each product x∈Prod sold by a
deadline dx that is measured as an...
分类:
其他 时间:
2014-02-23 03:17:10
收藏:
0 评论:
0 赞:
0 阅读:
324
题目分析:该题比较简单,对输入的整数各位数相加,对应的和的每一位以英文形式输出,注意10100该数值较大,超出int型和long
long型的表示范围,考虑用字符串接收后在转换为int型,不要遗漏掉特殊情况,比如和为0的时候。源代码如下: #include #include using
namesp...
分类:
其他 时间:
2014-02-23 03:04:46
收藏:
0 评论:
0 赞:
0 阅读:
259
1 public class LRUCache { 2 entry first,last; 3
Map map; 4 int curSize = 0; 5 int cap; 6 7 public LRUCache(int capacity) { 8
this.cap = capacity; 9 ma...
分类:
其他 时间:
2014-02-23 02:58:37
收藏:
0 评论:
0 赞:
0 阅读:
298
1: /* 2: * To change this license header,
choose License Headers in Project Properties. 3: * To change this template file,
choose Tools | Templates 4:...
分类:
其他 时间:
2014-02-23 02:55:09
收藏:
0 评论:
0 赞:
0 阅读:
644
1: package compiler; 2: 3: import
java.io.BufferedWriter; 4: 5: public class Err { 6: 7: public int errCount = 0;
8: public static final String[] errI...
分类:
其他 时间:
2014-02-23 02:16:58
收藏:
0 评论:
0 赞:
0 阅读:
343
转自:http://blog.csdn.net/hguisu/article/details/8930668Nginx由内核和模块组成,其中,内核的设计非常微小和简洁,完成的工作也非常简单,仅仅通过查找配置文件将客户端请求映射到一个location
block(location是Nginx配置中的一...
分类:
其他 时间:
2014-02-23 02:08:44
收藏:
0 评论:
0 赞:
0 阅读:
508
1: package compiler; 2: 3: import
java.io.BufferedReader; 4: import java.io.FileNotFoundException; 5: import
java.io.FileReader; 6: import java.util.A...
分类:
其他 时间:
2014-02-23 02:05:11
收藏:
0 评论:
0 赞:
0 阅读:
427
Visual Studio 中 Tab 转换为空格的设置在 Visual Studio 中写代码时,按
Tab 键,会自动进行缩进。有时希望实现按 Tab 键,出现多个空格的效果。Visual Studio 提供了这样的功能,具体设置方法为:打开“Tools
--> Options --> Text...
分类:
其他 时间:
2014-02-23 02:02:51
收藏:
0 评论:
0 赞:
0 阅读:
499
1: package compiler; 2: //竟然没有对符号表检查大小,会溢出的。 3:
4: import java.io.IOException; 5: 6: public class SymbolTable { 7: 8: /** 9: *
当前名字表项指针(有效的符号表大小)table...
分类:
其他 时间:
2014-02-23 01:55:34
收藏:
0 评论:
0 赞:
0 阅读:
382
1: package compiler; 2: 3: import
java.io.BufferedWriter; 4: import java.io.FileWriter; 5: 6: /** 7: * 组织输入输出接口 8:
* 9: * @author jiangnan 10: */ 11: ...
分类:
其他 时间:
2014-02-23 01:49:33
收藏:
0 评论:
0 赞:
0 阅读:
521
今天在CentOS 6.5
x64系统上装了个Virtualbox,这里记录下整个安装过程。1、去官网下载Virtualbox及其扩展包,同时还要下载dkms,具体如下:Virtualbox:https://www.virtualbox.org/wiki/Downloadsdkms:http://l...
分类:
其他 时间:
2014-02-23 01:48:25
收藏:
0 评论:
0 赞:
0 阅读:
398
java的白皮书为我们提出了Java语言的9个关键特性。http://wangsyulc56.comhttp://hnsanya89.comhttp://weinsjb89.com
(1)Easy:Java的语法比C++的相对简单,另一个方面就是Java能使软件在很小的机器上运行,基础解释其和类库的...
分类:
其他 时间:
2014-02-23 01:47:16
收藏:
0 评论:
0 赞:
0 阅读:
323
1: package compiler; 2: 3: /** 4: *
采用全局变量sym来存储符号码,并用全局变量id和num来传递语义值 5: * 6: * @author jiangnan 7: * 8: */ 9:
public class Symbol { 10: 11: //各类符号码 ...
分类:
其他 时间:
2014-02-23 01:29:23
收藏:
0 评论:
0 赞:
0 阅读:
278
简单的小工具,可将二进制文件以文本形式存储。下载地址:http://files.cnblogs.com/nicebear/b2t.zip
分类:
其他 时间:
2014-02-23 01:28:07
收藏:
0 评论:
0 赞:
0 阅读:
298
1: 首先我们要定义 配置成切面的类package cn.gbx.example;import
org.aspectj.lang.ProceedingJoinPoint;import
org.aspectj.lang.annotation.After;import org.aspectj.lang....
分类:
其他 时间:
2014-02-23 01:05:26
收藏:
0 评论:
0 赞:
0 阅读:
330
首先就你本身写的这个东西,应该是没法匹配到正确的结果的。理由:#id
已经是唯一指定了。怎么还会有eq(0)其次eq(n)是指匹配到的同类之后的滴n-1个元素比如abcd$(".bb:eq")匹配的结果就是上面所有的DIV。而$(".bb:eq(1)")表示第二个DIV(数组的下标是从0开始的)
分类:
其他 时间:
2014-02-23 01:01:57
收藏:
0 评论:
0 赞:
0 阅读:
339