码迷,mamicode.com
首页 > 2016年05月24日 > 全部分享
xtu 1242 Yada Number 容斥原理
Yada Number Problem Description: Every positive integer can be expressed by multiplication of prime integers. Duoxida says an integer is a yada number ...
分类:其他好文   时间:2016-05-24 16:44:33    阅读次数:175
ThinkPHP中Session用法详解
在ThinkPHP封装了Session类,用户可以直接使用,常用的方法有: Session::set(name, value):注册 session 。 Session::is_set(name):检查Session的值是否设置。 Session::get(name):读取 session 。 Se ...
分类:Web程序   时间:2016-05-24 16:43:33    阅读次数:144
Java_通过反射调用类中的方法
先上一个基本的封装: 进一步封装,通过实现接口的形式调用,这样就省略了每次反射方法时还要写上参数类型数组: 路漫漫其修远兮!!! 缺点:构造器的创建还得传递参数类型数组 ...
分类:编程语言   时间:2016-05-24 16:44:23    阅读次数:189
三个方法教会你win7中IIS7配置php环境
三个方法教会你win7中IIS7配置php环境。今天静下心来研究了下在win7中使用IIS7配置php环境,其实很简单!跟下面方法做之前,请先确定你的电脑中未安装其它相关环境程序及服务,之前安装过apache或wamp集成包的请卸载。 方法一、安装使用phpmanager1.下载安装phpmanag ...
分类:Windows程序   时间:2016-05-24 16:44:12    阅读次数:184
199. Binary Tree Right Side View
Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom. For exa ...
分类:其他好文   时间:2016-05-24 16:44:01    阅读次数:113
(Jquery)避免数据相加小数点后产生多位数和计算精度损失
...
分类:Web程序   时间:2016-05-24 16:43:22    阅读次数:208
小程序总结
package com.dao; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.u ...
分类:其他好文   时间:2016-05-24 16:42:33    阅读次数:162
java文件复制
1. public static long forJava(File f1,File f2) throws Exception{ long time=new Date().getTime(); int length=2097152; FileInputStream in=new FileInputS ...
分类:编程语言   时间:2016-05-24 16:44:33    阅读次数:224
LDO应用的考量因素
http://wenku.baidu.com/view/3cd9b7bd960590c69ec376f1.html1、选择 LDO的基本要素 包括输入电压范围、预期输出电压、负载电流范围以及其封装的功耗能力。此外,地脚电流 Ignd 或静态电流 Iq、电源波纹抑制比 PSRR、噪声及封装等也是 LD ...
分类:其他好文   时间:2016-05-24 16:44:40    阅读次数:150
矩阵乘法
矩阵乘法的通俗的我自己用的理解方式 C=AB. 则Cij=∑aikbkj (k属于那个范围),所以首先矩阵相乘的必须是A矩阵的列数等于b矩阵的行数。 第二就是C的意义了,cij表示A的第i行与B的第j列每个数对应相乘,因为上面的条件,所以A的第i行的数的数目恰好等于B的第j列数的数目。 c也正好是i... ...
分类:其他好文   时间:2016-05-24 16:42:57    阅读次数:123
java命令行编译和运行引用jar包的文件
经常遇到需要添加第三方jar文件的情况。在命令行状态下要加载外部的jar文件非常麻烦,很不好搞,在网上折腾了很久终于搞定了,在这里做个笔记: 1.编译:javac -Djava.ext.dirs=./lib Test.java 1.编译:javac -Djava.ext.dirs=./lib Tes ...
分类:编程语言   时间:2016-05-24 16:42:04    阅读次数:144
ACM学习历程—51NOD 1412 AVL树的种类(递推)
http://www.51nod.com/onlineJudge/questionCode.html#!problemId=1770 这是这次BSG白山极客挑战赛的B题。设p(i, j)表示节点个数为i,高度为j的AVL树的个数。 那么,对于1 <= k <= i-1 p[i][j] += p[k] ...
分类:其他好文   时间:2016-05-24 16:43:19    阅读次数:509
MongoDB 学习笔记一: 配置
下载MongoDB 下载地址:https://www.mongodb.com/download-center?jmp=nav#community 这里是在windows平台下安装MongoDB, 下载后,在本机,按提示进行安装。 注: 这个安装只是为了得到MongoDB的文件,安装的机器并不是服务器... ...
分类:数据库   时间:2016-05-24 16:41:54    阅读次数:166
C 高级编程4 makefile 与 IO
...
分类:其他好文   时间:2016-05-24 16:42:54    阅读次数:212
LeetCode OJ 39. Combination Sum
Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. The same repeat ...
分类:其他好文   时间:2016-05-24 16:42:50    阅读次数:149
BroadCast,BroadCastReceiver
效果是:一个MainActivity动态注册一个BroadcastReceiver,BActivity发送一个标准广播,MainActivity接收到广播后,将广播中的消息显示在MainActivity的TextView上。 ...
分类:其他好文   时间:2016-05-24 16:42:22    阅读次数:126
修改项目工程名 iOS
结合这两篇原文: http://www.cocoachina.com/ios/20150104/10824.html http://jingyan.baidu.com/article/0964eca21126a98285f53625.html 个人经验,在修改文件夹名运行报错的时候,全局搜索原先的项 ...
分类:移动开发   时间:2016-05-24 16:42:01    阅读次数:202
1737条   上一页 1 ... 47 48 49 50 51 52 53 ... 103 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!