码迷,mamicode.com
首页 >  
搜索关键字:free square    ( 7430个结果
ios开发中的toll-free bridged
所谓的Toll-free bridging是说您可以在某个框架的方法或函数同时使用Core Foundatio和Foundation 框架中的某些类型。很多数据类型支持这一特性,其中包括群体和字符串数据类型。每个框架的类和类型描述都会对某个对象是否为 toll-free bridged,应和什么对象...
分类:移动开发   时间:2014-05-20 00:06:00    阅读次数:488
openDrive has Free Direct Linking !
Enjoy Free Direct Linking to Your Files!Enable direct linking to your files byupgrading your accountor earn free direct linking by leaving a review fo...
分类:其他好文   时间:2014-05-19 21:16:34    阅读次数:278
Mac 下安装PHP遇到的问题
checking for CRYPTO_free in -lcrypto... noconfigure: error: libcrypto not found!http://www.openssl.org/source/ openssl-0.9.8y.tar.gz cd openssl-0.9.8y...
分类:Web程序   时间:2014-05-18 19:11:48    阅读次数:376
linux内核-红黑树
//rbtree.h /* Red Black Trees (C) 1999 Andrea Arcangeli This program is free software; you can redistribute it and/or modify it under the terms of the...
分类:系统相关   时间:2014-05-18 01:05:37    阅读次数:489
lightoj1022Circle in Square
题意:求一个正方形中不被其内接圆覆盖的面积。已知其内接圆半径。 1 //Accepted 1088 KB 0 ms 2 #include 3 #include 4 #include 5 const double Pi=2*acos(0.0); 6 double ans,r; 7 d...
分类:其他好文   时间:2014-05-17 22:49:17    阅读次数:244
链表的整表的创建
/这里是链表的创建其包含的是头指针phead,头节点,以及尾节点p->next = NULL 为链表创建结束标志。/判断指针为空十分重要,当然也不能忘了释放,代码是:if(head !=NULL){free(head);head = NULL;}head = (SLNode*)malloc(size...
分类:其他好文   时间:2014-05-17 19:40:54    阅读次数:255
【USACO】Transformations
A square pattern of size N x N (1 20 #include 21 #include 22 using namespace std; 23 24 //旋转90度的操作 25 int **transiformation_one(int before[][11],i...
分类:其他好文   时间:2014-05-16 03:10:30    阅读次数:361
扩充swap分区大小
#1.建议在opt下面操作,我的opt是一个单独分区,创建一个swap的文件夹 cd/opt mkdirswap #2.创建一个2GB大小的文件 ddif=/dev/zeroof=swapfilebs=1024count=2048000 #3.转换激活swap分区 mkswapswapfile swaponswapfile #4.查看扩充后的大小 free-m #5.写入/etc/fstab文件,在..
分类:其他好文   时间:2014-05-15 18:46:17    阅读次数:256
无锁编程实战演练
前段时间研究过一阵子无锁化编程。刚写了几个简单的程序,来验证了下自己学到的一些概念。 测试场景:假设有一个应用:现在有一个全局变量,用来计数,再创建10个线程并发执行,每个线程中循环对这个全局变量进行++操作(i++),循环加2000000次。 所以很容易知道,这必然会涉及到并发互斥操作。下面通过三种方式来实现这种并发操作。并对比出其在效率上的不同之处。 ...... 通过编程测试及测试得出结论: 1、如果是想用全局变量来做统计操作。而又不得不考虑多线程间的互斥访问的话,最好使用编译器支持的原子操作函...
分类:其他好文   时间:2014-05-15 00:17:24    阅读次数:390
hdu 1224 Free DIY Tour(最长路/dp)
http://acm.hdu.edu.cn/showproblem.php?pid=1224 基础的求最长路以及记录路径。感觉dijstra不及spfa好用,wa了两次。 #include #include #include #include #include #include #include #include #define LL long long #define...
分类:其他好文   时间:2014-05-14 20:59:54    阅读次数:295
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!