码迷,mamicode.com
首页 >  
搜索关键字:内存    ( 80321个结果
1072. Gas Station (30)
dij适合计算单源最短路径,计算一个源到各个点的距离比较快dfs不适合算每个点到每个点的距离,迭代次数太多、时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA gas station has to be built at such ...
分类:其他好文   时间:2015-12-06 12:51:33    阅读次数:172
1054. The Dominant Color (20)
挺简单的,多占内存,少用循环Behind the scenes in the computer's memory, color is always talked about as a series of 24 bits of information for each pixel. In an ima...
分类:其他好文   时间:2015-12-06 12:49:00    阅读次数:126
1066. Root of AVL Tree (25)
时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueAn AVL tree is a self-balancing binary search tree. In an AVL tree, the heights of the two c...
分类:其他好文   时间:2015-12-06 12:48:00    阅读次数:135
1090. Highest Price in Supply Chain (25)
时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)-- every...
分类:其他好文   时间:2015-12-06 12:47:35    阅读次数:124
1064. Complete Binary Search Tree (30)
根据中序遍历建立完全二叉树。时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA Binary Search Tree (BST) is recursively defined as a binary tree which has t...
分类:其他好文   时间:2015-12-06 12:47:14    阅读次数:124
1031. Hello World for U (20)
时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven any string of N (>=5) characters, you are asked to form the characters into the shape ...
分类:其他好文   时间:2015-12-06 11:33:14    阅读次数:137
1041. Be Unique (20)
注意n的值很大的时候不能使用两层嵌套算法,这样执行时间将会很长时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueBeing unique is so important to people on Mars that even thei...
分类:其他好文   时间:2015-12-06 11:30:59    阅读次数:150
1026. Table Tennis (30)
注意数据合法性的检测。26分的时候 有人打了两个多小时,只能打两个小时,有人9点之后来的,要排除。时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA table tennis club has N tables available ...
分类:其他好文   时间:2015-12-06 11:30:17    阅读次数:279
1039. Course List for Student (25)
1039. Course List for Student (25)时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueZhejiang University has 40000 students and provides 2500 c...
分类:其他好文   时间:2015-12-06 11:30:02    阅读次数:164
1019. General Palindromic Number (20)
时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA number that will be the same when it is written forwards or backwards is known as a Palind...
分类:其他好文   时间:2015-12-06 11:29:44    阅读次数:167
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!