HDU 4588 Count The Carries(数学 二进制 找规律啊)...
分类:
其他 时间:
2015-05-11 21:52:51
收藏:
0 评论:
0 赞:
0 阅读:
180
ZOJ 3768 Continuous Login(迭代搜索||夹逼)...
分类:
其他 时间:
2015-05-11 21:52:31
收藏:
0 评论:
0 赞:
0 阅读:
231
资料摘自
选择排序
选择排序所遵循的过程来自于我们的经验。幼儿园老师通常用选择法将孩子们按身高排队。对以随机顺序排列的一组学生,老师反复从组中挑选出最矮的学生并将他或她移到正在形成的按高矮个排列的队列中。这一过程一直持续到所有学生都被移动到有序队列中,如下所示:
//用选择排序算法对类型为T的n元数组进行排序
template
void SelectionSort(T A[]...
分类:
编程语言 时间:
2015-05-11 21:52:21
收藏:
0 评论:
0 赞:
0 阅读:
328
Android lint 工具优化代码,给apk瘦身...
分类:
移动平台 时间:
2015-05-11 21:51:31
收藏:
0 评论:
0 赞:
0 阅读:
192
va_list arg;声明一个va_list 类型的变量arg,它用于访问参数列表的未确定部分;
va_start(arg,val);第一个参数是va_list的变量名,第二个参数是不确定参数的前一个参 数;
a_arg(arg,int);返回这个参数的值,并使用var_arg指向下一个可变参数,第一个参数是
...
分类:
其他 时间:
2015-05-11 21:51:20
收藏:
0 评论:
0 赞:
0 阅读:
85
1.输入的时候数据的时候要注意
2.1506的二维推广
代码:#include
#include
#include
using namespace std;
const int INF=1<<30;
int a[1005][1005];
int L[1005];
int R[1005];
int main()
{
int t;
int m,n;
int ans;
...
分类:
其他 时间:
2015-05-11 21:51:17
收藏:
0 评论:
0 赞:
0 阅读:
91
floyd...
分类:
其他 时间:
2015-05-11 21:50:31
收藏:
0 评论:
0 赞:
0 阅读:
247
整理...
分类:
系统服务 时间:
2015-05-11 21:50:21
收藏:
0 评论:
0 赞:
0 阅读:
316
#include
#include
int main()
{
char a[1000],b[1000],c[1001];
int i,j=0,p=0,n,n1,n2;
scanf("%d",&n);
while(n--)
{
scanf("%s %s",a,b);
printf("Case %d:\n",++j);
...
分类:
其他 时间:
2015-05-11 21:50:11
收藏:
0 评论:
0 赞:
0 阅读:
104
#include
#include
#include
#include
using namespace std;
const int Max = 40;
bool prime[Max];
bool vis[Max];
int A[Max];
int n;
void IsPrime() {
prime[0] = prime[1] = 0; prime[2] = 1;
for(i...
分类:
其他 时间:
2015-05-11 21:50:01
收藏:
0 评论:
0 赞:
0 阅读:
82
#include
#include
#include
using namespace std;
const int maxn = 20005;
int N[maxn], M[maxn];
int buffer[10];
int n, m;
void scan_d(int &x) {
char ch = getchar();
while(!isdigit(ch)) ch = ge...
分类:
其他 时间:
2015-05-11 21:49:51
收藏:
0 评论:
0 赞:
0 阅读:
160
#include
#include
using namespace std;
const int maxn = 100 + 5;
char pic[maxn][maxn];
int m, n, idx[maxn][maxn];
void dfs(int r, int c, int id) {
if(r = m || c = n) return;
if(idx[r][c] > 0...
分类:
其他 时间:
2015-05-11 21:49:41
收藏:
0 评论:
0 赞:
0 阅读:
77
图像的平滑处理平滑,也称 模糊, 平滑处理时需要用到一个滤波器 。滤波器想象成一个包含加权系数的窗口,这个加权系数也叫做核或者模版。
// 图像平滑处理分而学之.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include
#include ...
分类:
其他 时间:
2015-05-11 21:49:31
收藏:
0 评论:
0 赞:
0 阅读:
140
《炼股成金:从散户到操盘手的修炼法则》作 者:股峰求道译 者:系 列:出 版:广东人民出版社字 数:183千字阅读完成:2015年5月11日
分类:
其他 时间:
2015-05-11 21:48:10
收藏:
0 评论:
0 赞:
0 阅读:
210
findAll(); $Admin->findAll("id = 22"); $Admin->findAll(array("select"=>"id,name,password","condition"=>"id>2")); $Admin->findAllB...
分类:
其他 时间:
2015-05-11 21:47:30
收藏:
0 评论:
0 赞:
0 阅读:
195
在 ASP.NET MVC 应用程序中,它是更常见的做法在作为路由数据 (像我们一样与身份证上面) 比将它们作为查询字符串传递的参数中传递。public string Welcome(string name, int ID = 1){ return HttpUtility.HtmlEncode...
分类:
Web开发 时间:
2015-05-11 21:47:20
收藏:
0 评论:
0 赞:
0 阅读:
258
数据库分类: Sql数据库: Oracle,Mysql。。。 NoSql数据库:Redis,MongoDBMongoDB 无表结构限制:没有表的概念限制。 完全的索引支持 方便的冗余与扩展。复制集保证数据安全,分片扩展数据规模。 良好的支持。1,官网下载MongBD-windows 64-...
分类:
Windows开发 时间:
2015-05-11 21:46:51
收藏:
0 评论:
0 赞:
0 阅读:
563
select(); $result = M("admin")->where("id>2")->select(); $result = M("admin")->where("id>2")->order("id desc")->limit("0,5")->field("id,username...
分类:
Web开发 时间:
2015-05-11 21:46:40
收藏:
0 评论:
0 赞:
0 阅读:
245
分布式系统含义分布是指功能分布支持分布式处理的软件系统通俗点说分布式系统就是能把服务器端程序分开部署到多台机器上。可以分开部署的系统。软件系统运行的环境分布在多台服务器上它包括分布式操作系统、分布式程序设计语言及其编译(解释)系统、分布式文件系统和分布式数据库系统等。故名思义,分布式系统就是将系统的...
分类:
其他 时间:
2015-05-11 21:46:20
收藏:
0 评论:
0 赞:
0 阅读:
211
来自:http://blog.sina.com.cn/s/blog_688077cf01013qrk.htmllinux下查看和添加PATH环境变量来自:http://apps.hi.baidu.com/share/detail/32942984$PATH:决定了shell将到哪些目录中寻找命令或程...
分类:
系统服务 时间:
2015-05-11 21:46:10
收藏:
0 评论:
0 赞:
0 阅读:
277