码迷,mamicode.com
首页 >  
搜索关键字:space    ( 18273个结果
中文输入法安装
平台:Ubuntu12.10在Ubuntu的中文系统中自带了中文输入法,通过Ctrl+Space可切换中英文输入法。这里我们主要说下Ubuntu英文系统中,中文输入法的安装。第一步,安装语言包。我们选择System Settings-->Language Support-->Install/Remo...
分类:其他好文   时间:2014-08-01 18:56:42    阅读次数:263
Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindromes? (i...
分类:其他好文   时间:2014-08-01 12:49:41    阅读次数:186
poj 1696 Space Ant (极角排序)
链接:http://poj.org/problem?id=1696Space AntTime Limit:1000MSMemory Limit:10000KTotal Submissions:3077Accepted:1965DescriptionThe most exciting space di...
分类:其他好文   时间:2014-08-01 10:39:13    阅读次数:247
Leetcode--Remove Duplicates from Sorted Array
Problem Description: Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space for another array, you ...
分类:其他好文   时间:2014-08-01 00:08:50    阅读次数:274
Oracle内置函数
1.ASCII 返回与指定的字符对应的十进制数;SQL>select ascii('A') A,ascii('a') a,ascii('0') zero,ascii(' ') space from dual;2.chr 给出整数,返回对应的字符;SQL>select chr(55203) zhu,c...
分类:数据库   时间:2014-07-31 20:11:57    阅读次数:306
java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space这个错误是指内存的永久保存区域,它主要存放的是Class和Meta信息,在Class被loader(加载时)就会放到PermGen space中,这块区域不会被GC定时清理,这个错误经常发生在web服务器在对JSP进行...
分类:编程语言   时间:2014-07-31 19:59:07    阅读次数:252
POJ 2031 Building a Space Station(最小生成树)
题目链接:Building a Space Station 最小生成树的模板题,prim和kuruskal都可以,但是要注意精度损失。 题意:给定一个三维坐标系,给定一些圆的圆心坐标,和半径,求出所有圆心构成的最小生成树; 特别注意:两个圆如果相交在一起,算做联通,距离为0; C++提交 #include #include #include #include #include ...
分类:其他好文   时间:2014-07-31 17:06:56    阅读次数:215
POJ 2031 prim
Building a Space Station Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 4400 Accepted: 2255 Description You are a member of the space station engineering team, and are assigned a tas...
分类:其他好文   时间:2014-07-31 13:18:36    阅读次数:280
poj2031(Building a Space Station)
题目地址:Building a Space Station题目大意: 在一个三维的空间里有若干个球体,求从走过所有球花费最少,题目要求两个球体接触就不需要建桥意为花费为0,实力给吃的n行, 其中包括 球的X,Y,Z的坐标,r为球的半径。这里就清晰了,意思就是求无向图最小生成树,val就为两个求圆心....
分类:其他好文   时间:2014-07-30 23:40:45    阅读次数:299
Recover Binary Search Tree
Two elements of a binary search tree (BST) are swapped by mistake. Recover the tree without changing its structure. Note: A solution using O(n) space is pretty straight...
分类:其他好文   时间:2014-07-30 17:46:04    阅读次数:244
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!