码迷,mamicode.com
首页 >  
搜索关键字:long clolumn    ( 19148个结果
HDU2842之斐波那契亚数列变形,动态规划
1.原题展示:一根棒子上有n个环(n 2 #include 3 #include 4 #define size 3 5 #define mod 200907 6 struct Mat 7 { 8 long long num[size][size]; 9 };10 Mat init,r;//定义全局变...
分类:其他好文   时间:2014-07-19 00:19:38    阅读次数:202
递归实现二进制转十进制
题目:应用递归,将输入的二进制数转换为十进制。#include #include void binary_to_decimal(char *s, long dec){ if( *s == '\0' ) printf("Decimal: %ld\n",dec); else ...
分类:其他好文   时间:2014-07-18 18:23:50    阅读次数:217
poj2828 Buy ticket
DescriptionRailway tickets were difficult to buy around the Lunar New Year in China, so we must get up early and join a long queue…The Lunar New Year ...
分类:其他好文   时间:2014-07-18 18:17:12    阅读次数:280
Linux网络编程(二)
服务套和客户机的信息函数1、字节转换函数 在网络上面有着许多类型的机器,这些机器在表示数据的字节顺序是不同的, 比如i386芯片是低字节在内存地址的低端,高字节在高端,而alpha芯片却相反. 为了统一起来,在Linux下面,有专门的字节转换函数. unsigned long int htonl(u...
分类:系统相关   时间:2014-07-18 17:31:10    阅读次数:294
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!