码迷,mamicode.com
首页 >  
搜索关键字:chinese remainder th    ( 6034个结果
反向投影的意义
http://en.wikipedia.org/wiki/Histogram_equalization#Back_projection Backprojection The back projection (or" project") of a histogrammed image is the re-application of themodified histogram to th...
分类:其他好文   时间:2014-08-26 11:37:15    阅读次数:270
CF-85D-Sum of Medians(线段树)
In one well-known algorithm of finding the k-th order statistics we should divide all elements into groups of five consecutive elements and find the median of each five. A median is called the middl...
分类:其他好文   时间:2014-08-25 22:50:55    阅读次数:297
poj 3083 Children of th
#include #include#includeusing namespace std;int n,m;int r[4][2]= {{0,-1},{1,0},{0,1},{-1,0}};int l[4][2]= {{0,1},{1,0},{0,-1},{-1,0}};int vis[50][50]...
分类:其他好文   时间:2014-08-25 20:48:44    阅读次数:200
iTextSharp导出Pdf报错 Element not allowed
iTextSharp导出Pdf报错 Element not allowed 。iTextSharp不支持TH标签...
分类:其他好文   时间:2014-08-25 17:02:12    阅读次数:184
HDU-4973-A simple simulation problem.(二分+树状数组)
Problem Description There are n types of cells in the lab, numbered from 1 to n. These cells are put in a queue, the i-th cell belongs to type i. Each time I can use mitogen to double the cells in ...
分类:其他好文   时间:2014-08-25 01:13:03    阅读次数:321
HDU-4937-A simple simulation problem.(线段树)
Problem Description There are n types of cells in the lab, numbered from 1 to n. These cells are put in a queue, the i-th cell belongs to type i. Each time I can use mitogen to double the cells in ...
分类:其他好文   时间:2014-08-25 01:12:13    阅读次数:273
xmpp的python客户端
看了很多,不是很早不更新了,就是不支持gevent 最终选用了sleekxmpp #!/usr/bin/env?python #?-*-?coding:?utf-8?-*- #?https://github.com/fritzy/SleekXMPP/tree/develop/examples import?sys if?"th...
分类:编程语言   时间:2014-08-24 22:23:38    阅读次数:682
UVA - 1485 Permutation Counting
Description Given a permutation a1, a2,...aN of {1, 2,..., N}, we define its E-value as the amount of elements where ai > i. For example, the E-value of permutation {1, 3, 2, 4} is 1, while th...
分类:其他好文   时间:2014-08-23 16:54:31    阅读次数:232
LeetCode: Candy
LeetCode: CandyThere are N children standing in a line. Each child is assigned a rating value.You are giving candies to these children subjected to th...
分类:其他好文   时间:2014-08-23 15:09:00    阅读次数:157
HDU 3584 Cube (三维树状数组)
Problem Description Given an N*N*N cube A, whose elements are either 0 or 1. A[i, j, k] means the number in the i-th row , j-th column and k-th layer. Initially we have A[i, j, k] = 0 (1 <= i, j, k <...
分类:其他好文   时间:2014-08-23 01:09:39    阅读次数:274
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!