金币系统Time Limit:1000msMemory Limit:65535KB64-bit integer IO format:%lld Java class name:MainYC大牛自从杭州归来,喜欢没事儿摆个地摊儿什么的的赚点零钱买装备。经过一个星期的苦苦支撑,终于裸奔了一把鹰角弓出来。-...
分类:
其他好文 时间:
2014-07-09 00:12:42
阅读次数:
211
Max SumTime Limit:1000msMemory Limit:32768KBThis problem will be judged on HDU. Original ID:100364-bit integer IO format:%I64d Java class name:MainGiv...
分类:
其他好文 时间:
2014-07-08 23:42:52
阅读次数:
273
创建表 列名 类型,
1...create table Student (id integer , name text, sex text, age integer)
2…create table if not exists Student (id integer , name text default '张三' , sex text n...
分类:
数据库 时间:
2014-07-08 18:47:19
阅读次数:
213
The digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then that digit is the digital root. If the resulting value contains two or more digits, those digits are summed and the process ...
分类:
其他好文 时间:
2014-07-08 14:12:32
阅读次数:
226
自J2SE 5.0开始提供的基本数据类型的自动装箱(autoboxing)、拆箱(unboxing)功能。
何为自动装箱:
当我们创建一个Integer对象时,却可以这样:
Integer
i = 100; (注意:不是 int i = 100; )
实际上,执行上面那句代码的时候,系统为我们执行了:Integer i = new Integer(100); 此即基本数据类型的自...
分类:
编程语言 时间:
2014-07-08 13:26:20
阅读次数:
185
第一次见到这个题目,我觉得自己没学到java,太浅了,其实这个问题没有考synchronized关键字,只是考什么是对象?1.在java编程思想的第二章有一句话;一切都是对象,很可惜int,char 等不是的,虽然他们有他们的包装类,但是java还是保留了int 这些好用的原子类型,对于synchr...
分类:
编程语言 时间:
2014-07-06 17:04:51
阅读次数:
409
作者:iamlaosong
1、问题提出
编程中发现一个问题,系统总是提示编译错误,ByRef 参数类型不符,
可实际上参数定义没问题,原因在哪儿呢?
2、问题环境
假定函数定义如下:
Function get_kind(addr As String) As Integer
......
End Function
调用过程:
Sub check_addres...
分类:
其他好文 时间:
2014-07-06 10:45:44
阅读次数:
399
;; Fermat's Little Theorem:
;; If N is a prime number and A is any positive integer less
;; than N, then A raised to the N-th power is congruent to A modulo N
;; Two numbers are said to be congruent...
分类:
其他好文 时间:
2014-07-06 09:05:22
阅读次数:
158
va_list 属于变量 而 va_start & va_arg & va_end C语言中解决变参问题的一组宏。头文件来自stdarg.h。
查看linux系统源码方式我一般用locate stdarg.h,然后找到提示目录vi进去。源文件定义是:
在Mac 下追踪头文件也会发现如下宏定义:
typedef __darwin_va_list va_list;
typedef __b...
分类:
其他好文 时间:
2014-07-05 22:56:50
阅读次数:
453
Nginx服务器nginx.conf的配置文件说明, 部分注释收集与网络.#运行用户user www-data;#启动进程,通常设置成和cpu的数量相等worker_processes 1;#全局错误日志及PID文件error_log /var/log/nginx/error.log;pid /va...
分类:
其他好文 时间:
2014-07-05 21:31:22
阅读次数:
183