码迷,mamicode.com
首页 >  
搜索关键字:long    ( 19145个结果
Linux网络编程(二)
服务套和客户机的信息函数1、字节转换函数 在网络上面有着许多类型的机器,这些机器在表示数据的字节顺序是不同的, 比如i386芯片是低字节在内存地址的低端,高字节在高端,而alpha芯片却相反. 为了统一起来,在Linux下面,有专门的字节转换函数. unsigned long int htonl(u...
分类:系统相关   时间:2014-07-18 17:31:10    阅读次数:294
poj1011
DescriptionGeorge took sticks of the same length and cut them randomly until all parts became at most 50 units long. Now he wants to return sticks to ...
分类:其他好文   时间:2014-07-18 15:28:57    阅读次数:234
GB2312介绍及字库使用
#include #include #include #include #include #include #include #include #include #include #include #include #include "hkk24.h" typedef unsigned long U32; typedef unsigned short U16; type...
分类:其他好文   时间:2014-07-18 15:14:56    阅读次数:398
Codeforces Round #256 (Div. 2) Multiplication Table
刚刚开始想到一种很暴力但还行的方法,不过在和TK讨论的过程中引出了一个更好的算法#include#include#include#includeusing namespace std;long long n,m,k;long long check(long long x){ long long...
分类:其他好文   时间:2014-07-18 12:17:25    阅读次数:221
JAVA把毫秒数转换成日期
long sd=1345185923140L; Date dat=new Date(sd); GregorianCalendar gc = new GregorianCalendar(); gc.setTime(dat); java.text.SimpleDateFormat format =...
分类:编程语言   时间:2014-07-18 11:29:20    阅读次数:188
7.16_B题
题目链接:http://code.bupt.edu.cn/problem/p/417/ 裸的01背包,不懂的同学可以看下本博客转载的《背包九讲》 代码: #include #include #include #include #define N 11111 using namespace std; int a[N]; long long b[N]; long long dp[N]; ...
分类:其他好文   时间:2014-07-18 11:13:19    阅读次数:137
[MySQL 5.6] MySQL 5.6 group commit 性能测试及内部实现流程
[MySQL 5.6] MySQL 5.6 group commit 性能测试及内部实现流程http://mysqllover.com/?p=581尽管Mariadb以及Facebook在long long time ago就fix掉了这个臭名昭著的问题,但官方直到 MySQL5.6 版本才Fix掉...
分类:数据库   时间:2014-07-18 10:36:59    阅读次数:380
常用linux 命令和.bashrc
alias ll='ls -alF'一:ls -a --all : do not ignore entries starting with . -A , --almost-all : do not list implied . and .. -l : use a long listing f...
分类:系统相关   时间:2014-07-18 10:36:44    阅读次数:314
文件大小单位换算
1 long g = 1024 * 1024 * 1024; 2 long m = 1024 * 1024; 3 long k = 1024; 4 if (size = 1) 5 ...
分类:其他好文   时间:2014-07-17 22:39:31    阅读次数:272
C/C++时间函数的使用
来源:http://blog.csdn.net/apull/article/details/5379819一、获取日历时间time_t是定义在time.h中的一个类型,表示一个日历时间,也就是从1970年1月1日0时0分0秒到此时的秒数,原型是:typedef long time_t; /* tim...
分类:编程语言   时间:2014-07-17 22:07:15    阅读次数:507
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!