码迷,mamicode.com
首页 >  
搜索关键字:__int64    ( 879个结果
Codeforces Round #272 (Div. 2) C. Dreamoon and Sums (数学 思维)
题目链接这个题取模的时候挺坑的!!!题意:div(x , b) / mod(x , b) = k( 1 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #define LL __int64 9 co...
分类:其他好文   时间:2014-10-23 20:33:28    阅读次数:234
hdu 5017
好恶心的题#include #include #include #include #include using namespace std;typedef __int64 ll;struct point{ ll word,priori;}P[50005];char T[8][100]={ {"A.....
分类:其他好文   时间:2014-10-22 21:47:55    阅读次数:249
HDU5072 Coprime (乱搞?)
题目链接 :http://acm.hdu.edu.cn/showproblem.php?pid=5072求n个不同的数( 2 #include 3 #include 4 #include 5 6 using namespace std; 7 typedef __int64 lld; 8 co...
分类:其他好文   时间:2014-10-22 20:10:36    阅读次数:246
hdu 3555 Bomb
http://acm.hdu.edu.cn/showproblem.php?pid=3555 1 #include 2 #include 3 #include 4 #define ll __int64 5 using namespace std; 6 7 ll dp[30][3]; 8 in...
分类:其他好文   时间:2014-10-21 11:44:16    阅读次数:135
HDU 4442 贪心
给出N个数,和每个数的a,b值 贪心思想,按a/b排序放置即可; #include "stdio.h" #include "string.h" #include "algorithm" using namespace std; struct node { int a,b; double c; }data[100010]; __int64 inf=999999999...
分类:其他好文   时间:2014-10-20 17:19:22    阅读次数:202
HDU 4451 水
题目给出 上衣,裤子,鞋子的各种类数,然后给出了不能匹配的关系,求解能匹配的种数。 因为只给出cp组合和ps组合,所有对于每个p,开两个数组标记不能与之匹配的c和s #include "stdio.h" #include "string.h" int main() { __int64 ans,x,y,n,m,k; int p,i,p1[1010],p2[1010]; ...
分类:其他好文   时间:2014-10-20 17:18:01    阅读次数:159
SQLite问题笔记
1.在SQLIte数据库中,Interger返回的数据类型是Int64位的。如果想转换为C#的int类型,必须先转换为Int64,再转换为int类型。如: int id = (int)(Int64)dt.rows[0]["ID"]; int 类型转换成c#int可直接转换,如: int is...
分类:数据库   时间:2014-10-20 00:39:01    阅读次数:323
泊松表面重建中主函数中部分代码分析-关于内存设置
1 //总体来看是和内存设置有关的 2 #if defined(WIN32) && defined(MAX_MEMORY_GB) 3 if( MAX_MEMORY_GB>0 ) 4 { 5 //SIZE_T是ULONG_PTR类型又是unsigned __int64...
分类:其他好文   时间:2014-10-17 13:23:01    阅读次数:244
POJ 3067 Japan 树状数组求逆序对
题目大意:有两排城市,这两排城市之间有一些路相互连接着,求有多少条路相互交叉。 思路:把所有的路先按照x值从小到大排序,x值相同的按照y值从小到大排序,然后插入边的时候,先找有多少比自己y值小的,这些边的x值一定比自己大,也就是一个逆序对,然后统计起来。记得答案要用long long (__int64) CODE: #include #include #inclu...
分类:编程语言   时间:2014-10-16 11:30:12    阅读次数:218
tc srm 636 div2 500
100的数据直接暴力就行,想多了。。。ac的代码: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #define LL __int64 9 const int maxn = ...
分类:其他好文   时间:2014-10-15 00:07:19    阅读次数:264
879条   上一页 1 ... 65 66 67 68 69 ... 88 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!