#include "stdafx.h"#include #include #include #define TRUE 1#define FALSE 0#define BIG 1#define EQUAL 0#define SMALL -1unsigned int strlenth(ch...
分类:
其他好文 时间:
2014-06-28 20:46:07
阅读次数:
141
private function decode(data:ByteArray):ByteArray{ var dest:ByteArray = new ByteArray(); var index:int; var key:String = "I'm a big big girl ...
分类:
其他好文 时间:
2014-06-27 17:50:20
阅读次数:
185
Impact crusher is a new crushing equipment taking advantages of impact effect to crush materials, which has such features as big reduction ratio, high...
分类:
其他好文 时间:
2014-06-25 23:12:07
阅读次数:
258
http://johndyer.name/native-fullscreen-javascript-api-plus-jquery-plugin/HTML5 is great, but when it was first released, one of the big complaints wa....
分类:
编程语言 时间:
2014-06-25 14:49:46
阅读次数:
229
Problem DescriptionSome days ago, I learned the concept of LCM (least common multiple). I've played with it for several times and I want to make a big...
分类:
其他好文 时间:
2014-06-24 15:01:58
阅读次数:
168
大字节序(Big Endian):低地址存高位小字节序(Little Endian):高地址存地位int main(){ int x=1; char *temp = NULL; temp= (char *)&x; if (*temp =...
分类:
其他好文 时间:
2014-06-22 23:23:02
阅读次数:
202
静态工厂方法与设计模式中的工厂方法模式不同,和设计模式中的工厂方法模式不直接对应。
使用静态工厂方法比构造器的优势:
第一、静态工厂方法是有名称的,而构造器是通过参数判断的。
每个静态工厂方法都有自己的名字,可以根据名称就可以判断它要做什么事情,而构造器是做不到的。
如:构造器BigInteger(int,int),返回BigInteger可以是素数,偶数等,而用名称Big...
分类:
其他好文 时间:
2014-06-22 19:03:32
阅读次数:
213
常见的80x86 CPU是先存放小值,再存放大值。这是小端字节(Little endian)序列。
而数字在互联网上传输的时候,是大端字节序列(Big endian)。所以,网络编程里有一个api是htons(),用来将主机字节顺序转化成为网络字节顺序。
常见的CPU平台如下:
处理器
操作系统
字节顺序
Alpha...
分类:
其他好文 时间:
2014-06-22 16:32:56
阅读次数:
228
3000: Big Number
Time Limit: 2 Sec Memory Limit: 128 MB
Submit: 220 Solved: 62
[Submit][Status]
Description
给你两个整数N和K,要求你输出N!的K进制的位数。
Input
有多组输入数据,每组输入数据各一行,每行两个数——N,K
Output
...
分类:
其他好文 时间:
2014-06-22 11:29:28
阅读次数:
258