码迷,mamicode.com
首页 >  
搜索关键字:sonic pi    ( 3495个结果
codeforces A. Slightly Decreasing Permutations 题解
Permutation p is an ordered set of integers p1,??p2,??...,??pn, consisting of n distinct positive integers, each of them doesn't exceed n. We'll denote the i-th element of permutation p as pi. ...
分类:其他好文   时间:2014-07-22 23:00:15    阅读次数:312
[复变函数]第22堂课 6.2 用留数定理计算实积分
3. 函数在 $\infty$ 的留数(1) 定义: 设 $\infty$ 为 $f$ 的孤立奇点, 则称 $$\bex \cfrac{1}{2\pi i}\int_{\vGa^-}f(z)\rd z\quad (\vGa:\ |z|=\rho) \eex$$ 为 $f$ 在 $\infty$ 的留...
分类:其他好文   时间:2014-05-08 19:54:02    阅读次数:277
UPC 2224 Boring Counting (离线线段树,统计区间[l,r]之间大小在[A,B]中的数的个数)
题目链接:http://acm.upc.edu.cn/problem.php?id=2224题意:给出n个数pi,和m个查询,每个查询给出l,r,a,b,让你求在区间l~r之间的pi的个数(A#include #include #include #include #define lson rt>1;...
分类:其他好文   时间:2014-05-06 08:53:03    阅读次数:248
LINQ获取树形分类的层数
数据库中的数据格式:字段数据类型idintdepartment_pidintdepartment_namenvarchar(20)CREATETABLE[dbo].[T_user_department]( [id] [int] IDENTITY(1,1)NOTNULL, [department_pi...
分类:其他好文   时间:2014-05-05 23:21:06    阅读次数:366
Hello Raspberry Pi
Raspberry Pi 入手好一段时间了,原意是想撸 linux,但是后来一整年都在忙孩子房子户口本子的事,这玩意也就搁了一年尘。最近终于被生活折腾到了尾声,开始找一些东西来折腾折腾。一、什么是 Rsapbbery PiRaspberry Pi 是一款信用卡大小,基于 Linux 的卡片电脑,70...
分类:Web程序   时间:2014-05-04 12:12:10    阅读次数:771
概率法计算PI
#include using namespace std;//概率计算PIint main(){ int inside=0; double val; int i; for ( i=0; i<100000000; i++) { double x = (dou...
分类:其他好文   时间:2014-05-04 11:47:49    阅读次数:262
SPFA(模板)
转载请注明出处: #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define pi acos(-1....
分类:其他好文   时间:2014-05-04 09:25:24    阅读次数:303
HDU 3032 Nim or not Nim? (博弈之求SG函数)
HDU 3032 Nim or not Nim? (博弈之求SG函数) 题意:经典Nim博弈游戏变换,给你n堆石子pi,每堆有pi个石子, Alice和Bob轮流取石子,每次可以从任意一堆中拿走任意个石子,也可以将某一堆石子分成两个小堆 (每堆石子个数必须不能为0),先拿完者获胜 思路:求SG函数后找规律;...
分类:其他好文   时间:2014-05-04 09:14:21    阅读次数:255
【级数】 求和
证明 \[\sum_{n=0}^{\infty}\frac{(n!)^{2}2^{n+1}}{(2n+1)!}=\pi\]分析:这道题初看具有难度运用幂级数恐难解决,由分子分母的特性易想到 $\Gamma$函数然后利用$\Gamma$函数与$\beta$函数的关系即可。Proof:\begin{al...
分类:其他好文   时间:2014-05-03 22:29:12    阅读次数:296
安装树莓派 Raspberry PI
安装树莓派 树莓派终于到货了,是这个样子的 上面有一行日期是 Raspberry PI (c) 2011.12 下载镜像,写入SD卡 http://www.raspberrypi.org/downloads/ 选择这个镜像: RASPBIAN Debian 2014-01-07 780M的压缩包,很大的样子 似乎还有个NOOBS的安装方式,完全无感 顺便展示一下SD卡,通过...
分类:Web程序   时间:2014-05-02 06:37:02    阅读次数:472
3495条   上一页 1 ... 346 347 348 349 350 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!