码迷,mamicode.com
首页 >  
搜索关键字:long integer adder-大整数相加    ( 33461个结果
Chap4: question: 19 - 28
19. 二叉树的镜像(递归)即:交换所有节点的左右子树。从下往上 或 从上往下 都可以。#include #include using namespace std;struct BTNode{ int v; // default positive Integer. BTNode *pLeft; B....
分类:其他好文   时间:2014-05-01 12:41:11    阅读次数:416
包装类的介绍和String类型的学习
包装类 为8种基本类型各自提供对象形式 int ---- Integer char ---- Character short ---- Short double ---- Double ...自动封箱: JDK5.0 由编译器自动完成基...
分类:其他好文   时间:2014-05-01 12:19:12    阅读次数:299
POJ 1503 Integer Inquiry(大数相加,java)
题目我要开始练习一些java的简单编程了^v^import java.io.*;import java.util.*;import java.math.*;public class Main { /** * @param args */ public static voi...
分类:编程语言   时间:2014-05-01 10:03:42    阅读次数:411
ctime 时间
1. 类型clock_t: 是个long型,用来记录一段时间内的时钟计时单元数,即CPU的运行单元时间。size_t: 标准C库中定义的,应为unsigned int,在64位系统中为long unsigned int。time_t: 从1970年1月1日0时0分0秒到该时间点所经过的秒数。stru...
分类:其他好文   时间:2014-05-01 06:03:10    阅读次数:289
2014第18周三
今天没有加班,将近六点到家,然后尝试了新买的路由,发现有一点新功能,就是在连接网络时可以手动按下路由的点来连接,省掉了输入用户名和密码的过程,这点真的不错。今天开放方面还是做一些表单方面的修改完善工作,在一开始select的value传值到后台Long型变量的时候总是报错,各种郁闷尝试了很久才发现,...
分类:其他好文   时间:2014-05-01 05:06:45    阅读次数:260
wait(...) notify() notifyAll()
简介wait、notify、notifyAll是Java中3个与线程有关的方法,它们都是Object类中的方法。其中,wait方法有3个重载形式:1、wait()2、wait(long timeout)3、wait(long timeout, int nanos) 这5个方法都是final方法。其中...
分类:其他好文   时间:2014-05-01 02:58:23    阅读次数:376
《linux 内核完全剖析》 笔记 由逻辑地址转换成线性地址代码分析
一开始由这段代码引发的纠结 get_base(current->ldt[1]) 下面是各个相关的代码,摘自不同的header files。。。 current是指向当前task的指针 struct desc_struct ldt[3]; struct desc_struct { unsigned long a,b; } ; #define _get_...
分类:系统相关   时间:2014-04-29 13:42:20    阅读次数:546
SQLite3基本使用从shell到python
SQLite是一个轻量级的关系型数据库,在访问量不超过10万PV的中小网站中使用绰绰有余。而且使用方便,接口简单,下面从命令行和python接口两方面介绍SQLite3的基本操作。         在linux终端中,通过 sqlite3 a.db 打开a.db数据库,如果不存在会自动创建,创建一个表格: create table users(id integer primary key,na...
分类:数据库   时间:2014-04-29 13:33:21    阅读次数:489
Hdu 1042 N! (高精度数)
Problem Description Given an integer N(0 ≤ N ≤ 10000), your task is to calculate N!   Input One N in one line, process to the end of file.   Output For each N, output N! i...
分类:其他好文   时间:2014-04-28 10:36:41    阅读次数:341
hdu1211
RSA is one of the most powerful methods to encrypt data. The RSA algorithm is described as follow: > choose two large prime integer p, q > calculate n = p × q, calculate F(n) = (p - 1) × (q - 1) ...
分类:其他好文   时间:2014-04-27 21:37:59    阅读次数:315
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!