码迷,mamicode.com
首页 >  
搜索关键字:firefox os    ( 145269个结果
Timus 1161. Stripies
Our chemical biologists have invented a new very useful form of life called stripies (in fact, they were first called in Russian - polosatiki, but the scientists had to invent an English name to app...
分类:其他好文   时间:2014-04-29 13:45:22    阅读次数:309
php---下载功能
<?php $filename="胡主席好.pdf"; if(!file_exists($filename)) { echo "不存在此文件"; return; } $fp=fopen($filename,"r"); $file_size=filesize($filename); //配置头文件 /...
分类:Web程序   时间:2014-04-29 13:42:20    阅读次数:356
【数据挖掘】分类之Naïve Bayes
1.算法简介 朴素贝叶斯(Naive Bayes)是无监督学习的一种常用算法,易于实现,没有迭代,并有坚实的数学理论(即贝叶斯定理)作为支撑。 本文以拼写检查作为例子,讲解Naive Bayes分类器是如何实现的。对于用户输入的一个单词(words),拼写检查试图推断出最有可能的那个正确单词(correct)。当然,输入的单词有可能本身就是正确的。比如,输入的单词thew,用户...
分类:其他好文   时间:2014-04-29 13:38:20    阅读次数:476
HDU-3068-最长回文 (Manacher算法)
Problem Description 给出一个只由小写英文字符a,b,c...y,z组成的字符串S,求S中最长回文串的长度. 回文就是正反读都是一样的字符串,如aba, abba等   Input 输入有多组case,不超过120组,每组输入为一行小写英文字符a,b,c...y,z组成的字符串S 两组case之间由空行隔开(该空行不用处理) 字符串长度len   Ou...
分类:其他好文   时间:2014-04-29 13:37:21    阅读次数:311
android 中实现图片倒影效果
1、效果图: 2、核心代码: package com.example.pic_reflection; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.Bitmap.Config; import android.graphics.Canvas; import and...
分类:移动开发   时间:2014-04-29 13:35:22    阅读次数:520
MiinCMP1.0 SAE 新浪云版发布, 开源企业网站系统
MiinCMP是一款开源企业网站系统,除可运行于256M左右100元的国内IDC外,JUULUU聚龙软件团队近期开发了面向新浪云的版本,该版本可将网站免费布署到新浪云SAE上。MiinCMP采用java开发,兼容jetty,tomcat等servlet容器。...
分类:Web程序   时间:2014-04-29 13:34:22    阅读次数:413
jQuery 滑动改变价格
jQuery 滑动改变价格演示 XML/HTML Codesection id="content" >  div class="cube">  div class="a">div>  div class="b">div>  div class="c">div>  div class="d">div>  div id="slider-range-min">div>  div>  input type...
分类:Web程序   时间:2014-04-29 13:27:21    阅读次数:595
POJ2481 Cows 树状数组的简单应用
题意给了你N头牛,每头牛的强壮值是一个区间[s,e],如果第 i 头牛比第 j 头牛强壮那么必须满足 Si Ej - Sj; 为了满足这三个条件我们进行排序,先以e降序排为先决条件,若e相等则让s升序排列,如此即可满足三个条件,这道题目任意两头牛的强壮值区间有可能完全一样,这样就不需要重新用树状数组求一次和了,直接赋值即可,这样可以省很多时间,因为已经排序处理了,所以即便区间相等的  肯定就是...
分类:其他好文   时间:2014-04-29 13:26:21    阅读次数:323
ZOJ 2588 Burning Bridges 求无向图桥 边双连通裸题
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=1588 #include #include #include #include #include using namespace std; #define N 10050 #define M 200005 int n,m;//n个点 m条边 struct Edge{...
分类:其他好文   时间:2014-04-29 13:25:21    阅读次数:383
fzu1977之插头DP
Problem 1977 Pandora adventure Accept: 354    Submit: 1177 Time Limit: 1000 mSec    Memory Limit : 32768 KB  Problem Description The pollution of the earth is so serious that people can no...
分类:其他好文   时间:2014-04-29 13:13:22    阅读次数:369
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!