码迷,mamicode.com
首页 >  
搜索关键字:long position    ( 28572个结果
POJ 3070 Fibonacci
Sol:就是求第N项的斐波那契数。矩阵乘法+快速幂 #include #include #include #include using namespace std; #define LL long long struct Mat{ LL f[2][2]; }; LL MOD = 10000; Mat mul(Mat a,Mat b) { LL i,j,k...
分类:其他好文   时间:2014-05-22 10:46:35    阅读次数:191
概念了解:CGI,FastCGI,PHP-CGI与PHP-FPM
CGI CGI全称是“公共网关接口”(Common Gateway Interface),HTTP服务器与你的或其它机器上的程序进行“交谈”的一种工具,其程序须运行在网络服务器上。 CGI可以用任何一种语言编写,只要这种语言具有标准输入、输出和环境变量。如php,perl,tcl等。 FastCGI FastCGI像是一个常驻(long-live)型的CGI,它可以一直执行着,只要激活后,不会每次都要花费时间去fork一次(这是CGI最为人诟病的fork-and-execute 模式)。它还支持分布...
分类:Web程序   时间:2014-05-22 09:31:44    阅读次数:340
poj 2411 Mondriaan's Dream(转态压缩)
题目链接:poj 2411 Mondriaan's Dream 题目大意:用1?2的木块填满n?m的矩阵有多少种方法。 解题思路:插头dp裸题。uva11270 #include #include typedef long long ll; const int N = 13; int n, m; ll set, dp[N+5][(15]; void solve (int d,...
分类:其他好文   时间:2014-05-22 08:06:07    阅读次数:177
transient 做个标记
import java.io.*;import java.util.*;public class Logon implements Serializable { /** * */ private static final long serialVersionUID = ...
分类:其他好文   时间:2014-05-22 03:28:21    阅读次数:215
杭电1085(多重背包求解)
题目:We all know that Bin-Laden is a notorious terrorist, and he has disappeared for a long time. But recently, it is reported that he hides in Hang Zho...
分类:其他好文   时间:2014-05-22 01:09:55    阅读次数:328
CSS从大图片上截取小图标的操作_CSS精灵
1.编程思想在于: 使用background-position属性(设置背景图像的起始位置)。这个属性设置背景原图像(由 background-image 定义)的位置,背景图像如果要重复,将从这一点开始。 2.CSS基础介绍: 1.如何定位背景图像:body{ background-image:u...
分类:Web程序   时间:2014-05-21 23:59:18    阅读次数:573
java基本类型
这近碰到很问题,问题的根本就是自己的基础不太好,虽然已经干了很久了,还是感觉得要修修内功,内功心法是学习其他功夫的基础,基础一定要打好。java的基本数据分为四组八种:布尔型:boolean(1/8字节)1位字符型:char(1字节)整数型:byte(2字节)short(2字节)int(4字节)long(8字节..
分类:编程语言   时间:2014-05-21 02:35:14    阅读次数:248
java基本类型
这近碰到很问题,问题的根本就是自己的基础不太好,虽然已经干了很久了,还是感觉得要修修内功,内功心法是学习其他功夫的基础,基础一定要打好。java的基本数据分为四组八种:布尔型:boolean(1/8字节)1位字节型:char(1字节)整数型:byte(2字节)short(2字节)int(4字节)long(8字节..
分类:编程语言   时间:2014-05-20 20:59:45    阅读次数:480
功能:类型修饰符long和unsigned的使用
功能:类型修饰符long和unsigned的使用#include<stdio.h>main(){chara1,b1;unsignedchara2,b2;intx1,y1;longx2,y2;a1=127;b1=129;a2=127;b2=129;x1=32767;y1=32769;x2=32767;y2=32769;printf("a1=%d,a2=%u,b1=%d,b2=%u\n",a1,a2,b1,b2);printf("x1=%d,x2=%u,y1=%d,y2=%u\..
分类:其他好文   时间:2014-05-20 19:47:36    阅读次数:276
求职信
DearsirorMadam:ThislettercomesforyoufromastudentnameLiming.Iamwritingtoyoutoapplyforadmissionintoyourrecentlyadvertisedpositionforastaffmember.IamsurethatIamqualifiedforit.First,enclosewiththisletterismyresume,whichfurtherdetailsmypreviousacademicqualificat..
分类:其他好文   时间:2014-05-20 19:08:26    阅读次数:269
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!