码迷,mamicode.com
首页 >  
搜索关键字:many people like to    ( 13781个结果
[2013山东ACM省赛] Alice and Bob
Alice and Bob Time Limit: 1000MS Memory limit: 65536K 题目描述     Alice and Bob like playing games very much.Today, they introduce a new game.     There is a polynomial like this: (a0*x^(2^0)...
分类:其他好文   时间:2014-05-10 08:44:35    阅读次数:363
HDU 3038 How Many Answers Are Wrong(种类并查集)
题目链接食物链类似的题,主要是在于转化,a-b的和为s,转换为b比a-1大s。然后并查集存 此节点到根的差。假如x的根为a,y的根为b:b - y = rank[y]a - x = rank[x]y - x = s可以推出b - a = rank[y] - rank[x] + s;并查集 延迟更新什...
分类:其他好文   时间:2014-05-09 18:38:05    阅读次数:213
Alice and Bob(2013年山东省第四届ACM大学生程序设计竞赛)
Alice and BobTime Limit: 1000ms Memory limit: 65536K题目描述 Alice and Bob like playing games very much.Today, they introduce a new game. There is a polyn...
分类:其他好文   时间:2014-05-05 10:22:11    阅读次数:354
codechef Ciel and Receipt题解
Tomya is a girl. She loves Chef Ciel very much. Tomya like a positive integer p, and now she wants to get a receipt of Ciel's restaurant whose total price is exactly p. The current menus of Ciel's...
分类:其他好文   时间:2014-05-04 18:53:40    阅读次数:317
codechef Cutting Recipes题解
Cutting Recipes The chef has a recipe he wishes to use for his guests, but the recipe will make far more food than he can serve to the guests. The chef therefore would like to make a reduced ve...
分类:其他好文   时间:2014-05-04 17:54:01    阅读次数:387
there be 句型
there be意思:表示存在或者发生。英文释义:used to show that sth exists or happens如果现在进行时,单数时用is,复数时用are。现在我问你一个问题.How many students in the class room?你怎么回答呢?使用there be...
分类:其他好文   时间:2014-05-04 12:30:46    阅读次数:304
Effective Java 69 Prefer concurrency utilities to wait and notify
using wait and notify directly is like programming in "concurrency assembly language," as compared to the higher-level language provided by java.util....
分类:编程语言   时间:2014-05-04 11:04:34    阅读次数:401
HDU 3038 How Many Answers Are Wrong (带权并查集+区间判断)
HDU 3038 How Many Answers Are Wrong (带权并查集+区间判断)...
分类:其他好文   时间:2014-05-04 09:11:59    阅读次数:301
《modern operating system》 chapter 3 MEMORY MANAGEMENT 笔记
Over the years, people discovered the concept of a memory hierarchy,...
分类:其他好文   时间:2014-05-04 09:03:17    阅读次数:247
Let us learn C in Code <11> flowchart while
So many days passed since the last C tutorial about the flowchart, this chapter we will go on  the flowchart and while loops...
分类:其他好文   时间:2014-05-04 09:01:20    阅读次数:307
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!