码迷,mamicode.com
首页 >  
搜索关键字:long    ( 19145个结果
【足迹C++primer】56、文本查询程序
/** * 功能:文本查询程序 * 时间:2014年7月23日10:26:09 * 作者:cutter_point */ #include #include #include #include #include #include #include using namespace std; /* Alice Emma has long flowing red hair. Her Daddy s...
分类:编程语言   时间:2014-07-28 16:15:33    阅读次数:387
iOS设备定位
一、iOS自带定位 1、SignInSignOutViewController.h @interface SignInSignOutViewController : UIViewController{ CLLocationManager *_locationManager; // 纬度 float _latitude; // 经度 float _long...
分类:移动开发   时间:2014-07-28 16:14:46    阅读次数:254
hdu1150Machine Schedule (二分匹配,最小顶点覆盖)
Problem Description As we all know, machine scheduling is a very classical problem in computer science and has been studied for a very long history. Scheduling problems differ widely in the nature of...
分类:其他好文   时间:2014-07-28 15:47:03    阅读次数:308
Bags Are Available In Different Sizes
European and American breeds rare black color and distinct facial features, pale pinkish purple color of this long dress with matching holes for a fre...
分类:其他好文   时间:2014-07-28 14:56:43    阅读次数:377
java里,当long与上了int
long switchState = 0xf0000000000L;int result = (switchState & 0xff00000000L) > 0 ? 0x01 : 0x00;你认为result是多少?1result = (switchState & 0xff000000) > 0 ?...
分类:编程语言   时间:2014-07-28 14:45:13    阅读次数:202
java基础知识《JAVA 核心技术》学习笔记(一)
一:数据类型 (1)java整形: 类型 存储要求 int 4字节 short 2字节 long 8字节 byte 1字节 (2)浮点类型 类型 ...
分类:编程语言   时间:2014-07-28 11:23:00    阅读次数:225
Codeforces 50C Happy Farm 5 凸包
题目链接:点击打开链接 == 难得的y出了一道计算几何 #include #include #include #include #include using namespace std; #define INF 999999999.9 #define PI acos(-1.0) #define ll long long struct Point { ll x, y,...
分类:移动开发   时间:2014-07-28 00:15:29    阅读次数:326
uva 10458 - Cricket Ranking(容斥+高精度)
题目连接:uva 10458 - Cricket Ranking 题目大意:给定k和n,表示有k个比赛,总共要的n分,每个比赛可以得l~r的分数,问说可以有多少种得分方式。 解题思路:容斥,可以参考Codeforces 451E. #include #include #include using namespace std; typedef long long ll; con...
分类:其他好文   时间:2014-07-28 00:06:29    阅读次数:476
华为2014字符串笔试 1
通过键盘输入一串小写字母(a~z)组成的字符串。请编写一个字符串过滤程序,若字符串中出现多个相同的字符,将非首次出现的字符过滤掉。比如字符串“abacacde”过滤结果为“abcde”。要求实现函数:void stringFilter(const char *pInputStr, long lInp...
分类:其他好文   时间:2014-07-27 22:30:39    阅读次数:175
【CDOJ931】Car race game(树状数组求逆序)
题目连接:http://acm.uestc.edu.cn/#/problem/show/931OJ评判系统有些坑,不支持__int64以及输出的%I64d大家注意。全开long long也会TLE,比较坑。逆序的基础操作题,不错。 1 #include 2 #define MAX 100010 3....
分类:其他好文   时间:2014-07-27 21:36:45    阅读次数:207
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!