码迷,mamicode.com
首页 >  
搜索关键字:tom    ( 8124个结果
HDU5224 Tom and paper(BestCoder Round #40)
Tom and paper    Accepts: 464    Submissions: 955  Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) 问题描述 Tom面前有一张纸,它的长和宽都是整数。Tom知道这张纸的面积n,他想知道这张纸的周长...
分类:其他好文   时间:2015-05-10 09:52:58    阅读次数:124
hdu5225---Tom and permutation(规律,枚举+乱搞)
Problem Description Tom has learned how to calculate the number of inversions in a permutation of n distinct objects by coding, his teacher gives him a problem: Give you a permutation of n distinct i...
分类:其他好文   时间:2015-05-10 09:50:12    阅读次数:211
HDU_1507_Uncle Tom's Inherited Land*(二分图匹配)
Uncle Tom's Inherited Land* Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 2208    Accepted Submission(s): 913 Special Judge Problem D...
分类:其他好文   时间:2015-05-10 09:49:54    阅读次数:147
HDU5225 Tom and permutation(排列组合)
题意: Tom学会了通过写程序求出一个1-n的排列的逆序对数,但他的老师给了他一个难题: 给出一个1-n的排列,求所有字典序比它小的1-n的排列的逆序对数之和。 Tom一时不知道该怎么做,所以他来找你帮他解决这个问题。 因为数可能很大,答案对109+7取模。 从前往后推,先计算1-k的所有排列可以产生逆序总数, 先假设db[2]为1-2的结果,那么我们来看3的排列,他是由1[2,3]...
分类:其他好文   时间:2015-05-10 09:46:21    阅读次数:125
XML的应用
1.XML的定义:XML 于 1998 年 2 月 10 日成为W3C的推荐标准。xml一般指可扩展标记语言,可扩展标记语言是一种很像超文本标记语言的标记语言。它的设计宗旨是传输数据,而不是显示数据。2.通过XML我们可以自定义自己的标签,如: tom lily I will go...
分类:其他好文   时间:2015-05-10 00:48:59    阅读次数:146
BestCoder Round #40 1001——精度——Tom and paper
Problem DescriptionThere is a piece of paper in front of Tom, its length and width are integer. Tom knows the area of this paper, he wants to know the...
分类:其他好文   时间:2015-05-09 23:17:31    阅读次数:193
CentOS 7安装配置FTP服务器
CentOS7下FTP服务器的安装配置。假设我们有以下要求路径权限备注/ftp/open公司所有人员包括来宾均可以访问只读/ftp/private仅允许Alice、Jack、Tom三个人访问Alice、Jack只允许下载,Tom可以上传 均使用虚拟账户安装FTP//使用yum安装# yum -yin...
分类:其他好文   时间:2015-05-09 16:24:56    阅读次数:112
HDU ACM 5090 Game with Pearls->二分图最大匹配或?
题意:Jerry、Tom玩游戏,给你出n个盒子,a[ i ]表示初始时,第i个中小球个数。之后Jerry可在每个盒子中加入0或k倍的小球,完成后,Jerry可以重排盒子的顺序,若能使第i个盒子中有i个小球,则Jerry获胜,输出“Jerry”,否则输出“Tom” 。 分析:首先统计每种数量的球有多少个盒子,然后从小到大分过去,剩下的盒子放到i+k的位置,这样扫描一遍数组,若有超过一个及一个以上数...
分类:其他好文   时间:2015-05-09 15:00:46    阅读次数:99
YTUOJ-Beautiful Meadow
Description  Tom's Meadow Tom has a meadow in his garden. He divides it into N * M squares. Initially all the squares were covered with grass. He mowed down the grass on some of the squares and t...
分类:其他好文   时间:2015-05-09 11:50:34    阅读次数:318
南阳oj(nyoj) 791 Color the fence
Color the fence 时间限制:1000 ms  |  内存限制:65535 KB 难度:2 描述 Tom has fallen in love with Mary. Now Tom wants to show his love and write a number on the fence opposite to  Mary’s house. Tom t...
分类:其他好文   时间:2015-05-08 22:13:29    阅读次数:185
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!