码迷,mamicode.com
首页 > 2015年06月09日 > 全部分享
POJ 1051
#include #include #include #define MAXN 27using namespace std;struct node{ int len; string s;};char fun(string s);node _node[MAXN];int n[100];in...
分类:其他好文   时间:2015-06-09 15:38:58    阅读次数:133
POJ 1183
#include#includeusing namespace std;int main(){ //freopen("acm.acm","r",stdin); unsigned long a; unsigned long m; unsigned long n; unsi...
分类:其他好文   时间:2015-06-09 15:37:54    阅读次数:120
POJ 1338
1 #include 2 #include 3 #include 4 #define MAXN 100000 5 using namespace std; 6 7 double a[MAXN]; 8 double x1 = 0; 9 double x2 = 0;10 double x3 = 0;.....
分类:其他好文   时间:2015-06-09 15:37:26    阅读次数:75
iOS第三方支付-微信支付
微信支付用到的文件1.首先支持非arc 2.设置URL types3.AppDelegate-(BOOL)application:(UIApplication*)applicationdidFinishLaunchingWithOptions:(NSDictionary*)launchOptio.....
分类:微信   时间:2015-06-09 15:39:33    阅读次数:409
POJ 1149
#include#include#define MAXN 105#include"queue"#define inf 10000000#includeusing namespace std;int max_flow_ljz(int n,int * * mat,int source,int sink,...
分类:其他好文   时间:2015-06-09 15:36:43    阅读次数:82
【转】内核编译时, 到底用make clean, make mrproper还是make distclean(转载)
原文网址:http://dongyulong.blog.51cto.com/1451604/449470内核编译时, 到底用make clean, make mrproper还是make distclean在编译内核时, 被make clean, make mrproer 和 make distcl...
分类:其他好文   时间:2015-06-09 15:38:40    阅读次数:195
JQuery POST请求乱码...
引言: 在JQuery的Ajax POST请求中,进行请求,其中的中文在后台,显示为乱码,该如何解决呢?问题的引入: var regid = $('#oregion').combobox('getValue'); //var sname = $('#sname').val(); var sname ...
分类:Web程序   时间:2015-06-09 15:37:39    阅读次数:105
小公司怎么做一个属于自己的核心框架?
这些年,我们一直在规划做公司的核心框架,因为大家都知道一个核心框架对一个软件公司是很重要的。年复一年我们的谈了很多,总是想等研发人员空闲的时候开始做,总是想等成立一个专门的项目团队来实施,总是说的多而没去落实。
分类:其他好文   时间:2015-06-09 15:36:41    阅读次数:119
防止三星手机数据丢失的三大技巧
上段时间由于自己失误造成自己的三星手机数据丢失了很多,在这里为大家推荐防止手机数据丢失的技巧。防止三星手机数据丢失的三大技巧一本地备份数据在日常生活中,如果你还没有定期备份重要文件的习惯,那么小编建议你一定不要偷懒,要养成及时备份数据的好习惯。现在很多软件的PC端是支持备份三星手机数据的,小编建议所...
分类:移动开发   时间:2015-06-09 15:38:19    阅读次数:136
POJ 1008
using namespace std;int main(){int N;cin>>N;double *days=(double *)new double[N];char amonth[7];int year_day;char month[19][20]={"pop", "no", "zip", "...
分类:其他好文   时间:2015-06-09 15:37:18    阅读次数:86
POJ 1469
1 #include 2 #include 3 #include 4 #include 5 #define MAXN 300 6 #define _clr(x) memset(x,0xff,sizeof(int)*MAXN) 7 using namespace std; 8 9 int hu...
分类:其他好文   时间:2015-06-09 15:36:57    阅读次数:85
iOS开发——Metal教程
Metal Swift教程学习使用苹果GPU加速3D绘图的新API:Metal!在iOS 8里,苹果发布了一个新的接口叫做Metal,它是一个支持GPU加速3D绘图的API。Metal和OpenGL ES相似,它也是一个底层API,负责和3D绘图硬件交互。它们之间的不同在于,Metal不是跨平台的。...
分类:移动开发   时间:2015-06-09 15:37:08    阅读次数:341
POJ 1401
#includeusing namespace std;int main(){ int num; int i; int sum; cin>>num; int * noname=new int[num]; for(i=0;i>noname[i]; for(i=0;i=5){ sum+=noname.....
分类:其他好文   时间:2015-06-09 15:35:29    阅读次数:122
POJ 1015
#include#include#define MAXN 201#define count C_ountusing namespace std;int _m[20][801];int count[20][801];int a[20];struct _node{ int first; int seco...
分类:其他好文   时间:2015-06-09 15:36:14    阅读次数:96
android 内存优化一
常见内存泄露原因Context对象泄漏1、如果一个类持有Context对象的强引用,就需要检查其生存周期是否比Context对象更长。否则就可能发生Context泄漏。2、View持有其创建所在Context对象的引用,如果将View对象传递给其它生存周期比View所在Context更长的强引用,就...
分类:移动开发   时间:2015-06-09 15:35:47    阅读次数:149
Monthly Expense
Problem DescriptionFarmer John is an astounding accounting wizard and has realized he might run out of money to run the farm. He has already calculate...
分类:其他好文   时间:2015-06-09 15:36:36    阅读次数:106
Mysql字符串中有数字的排序问题
此方法是我见过最聪明的写法,不过不知道有没有隐含的bug:参考地址select id, col from tableName order by length(col) asc, col asc这种方法只针对文本统一的情况,如:abc1,abc2,abc3,abc10,abc11如果文本长度不统一如:...
分类:数据库   时间:2015-06-09 15:35:53    阅读次数:168
2541条   上一页 1 ... 83 84 85 86 87 88 89 ... 150 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!