自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(16)
  • 资源 (3)
  • 收藏
  • 关注

原创 hdu3892 Common Roots 最大取模公因式

We have many polynomials modulo p (p is a prime number). An interesting issue would be to determine whether they have some roots in common. Notice roots we mention here are integers in modulo p system

2014-06-30 19:41:58 620

原创 uva11916 - Emoogle Grid 网格涂色

Emoogle Grid You have to color an M x N (1M,N108) two dimensional grid. You will be providedK (2K108) different colors to do so. You will also be provided a list of B (0B500)list

2014-06-29 21:58:45 727

原创 uva11754 - Code Feat 枚举 中国剩余定理

Hooray!  Agent Bauer has shot the terrorists, blown upthe bad guy base, saved the hostages, exposed the moles in the government,prevented an environmental catastrophe, and found homes for three orphan

2014-06-29 19:56:25 477

原创 hdu3466 Proud Merchants 0-1背包变形

Problem DescriptionRecently, iSea went to an ancient country. For such a long time, it was the most wealthy and powerful kingdom in the world. As a result, the people in this country are still very

2014-06-29 18:21:42 377

原创 uva10692 - Huge Mods poj2164: Remainder Calculator 指数循环节

Problem XHuge ModInput: standard inputOutput: standard outputTime Limit: 1 secondThe operator for exponentiation is different from the addition, subtraction, multiplication or division ope

2014-06-27 20:54:10 722

原创 uva1069 - Always an integer

Combinatorics is a branch of mathematics chiefly concerned with counting discrete objects. For instance, how many ways can you pick two people out of a crowd ofn people? Into how many regions can yo

2014-06-26 18:35:14 659

原创 uva10237 - Bishops 互不攻击的象

Problem BBishopsInput: standard inputOutput: standard outputTime Limit: 4 secondsMemory Limit: 32 MB A bishop is a piece used in thegame of chess which is played on a board of squa

2014-06-24 19:47:20 1084

原创 uva11481 - Arrange the Numbers N个数前M个错排

Consider this sequence {1, 2, 3, … , N}, as a initial sequence of firstN natural numbers. You can rearrange this sequence in many ways. Therewill beN! different arrangements. You have to calculate t

2014-06-24 17:04:36 1044

原创 poj1284 Primitive Roots 原根个数

DescriptionWe say that integer x, 0 i mod p) | 1 <= i <= p-1 } is equal to { 1, ..., p-1 }. For example, the consecutive powers of 3 modulo 7 are 3, 2, 6, 4, 5, 1, and thus 3 is a primitive root m

2014-06-22 22:32:42 715

原创 uva1436 - Counting heaps 统计树的个数

We are given a rooted tree of n vertices. The vertices are to be labeled with numbers1, 2,..., n so that each label is unique and the heap condition holds, i.e. the label of any vertex is less than

2014-06-22 16:50:38 569

原创 uva11529 - Strange Tax Calculation 凹四边形个数

The people living in large citieshave to pay more tax than people living in rural areas. That is because incities people have many facilities, which rural people don’t have. Also peoplein large and fa

2014-06-20 22:02:37 532

原创 uva1393 - Highways

Hackerland is a happy democratic country with m×n cities, arranged in a rectangularm by n grid and connected bym roads in the east-west direction and n roads in the north-south direction. By pub

2014-06-20 17:03:24 486

原创 uva10312 - Expression Bracketing 括号划分

Problem AExpression BracketingInput: standard inputOutput: standard outputTime Limit: 1 secondMemory Limit: 32 MB Inthis problem you will have to find in how many waysn letters can be

2014-06-19 17:18:54 664

原创 uva11645 - Bits 统计 巧妙的大数

Problem JBits Input: Standard InputOutput: StandardOutput  A bit is a binary digit,taking a logical value of either "1" or "0" (also referredto as "true" or "false" respectively).  And every

2014-06-18 21:11:26 551

原创 uva1350 - Pinary 第N个满足条件的二进制数

``Pinary" number is a positive number using only two digits ``0" and ``1" with usual rule that it must not begin with a 0, and the additional rule that two successive digits must not be both ``1". Thi

2014-06-18 19:05:40 577

原创 uva10883 - Supermean 杨辉三角

Do you know how to compute the mean (or average) of n numbers?Well, that's not good enough for me. I want the supermean! "What's asupermean," you ask? I'll tell you. List then given numbers innon-

2014-06-17 17:16:11 481

一个自己觉得比较好看vim主题

本来是SolarizedLight,自己编辑了一下,觉得更合适

2015-12-13

表情多v0.2

用QT写的,水群必备。 表情多v0.2测试版 ,有意见欢迎吐槽。 ps: 1.请确保是64位系统 2.请安装在英文路径下 3.左键点击图片可以复制,右键可以收藏保存等 仅供娱乐 请勿用于任何商业用途。 博客地址:http://blog.csdn.net/corncsd 2014.6.20

2015-06-20

C++实现的最简单的倒排索引

绝对是最简单的,仅供参考,希望大家不要吐槽,不足之处希望大家指出=。=

2015-06-06

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除