码迷,mamicode.com
首页 >  
搜索关键字:all    ( 23290个结果
LeetCode: Combinations [077]
【题目】 Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). For example, S = "ADOBECODEBANC" T = "ABC" Minimum window is "BANC". Note: If there is no such window in S that covers ...
分类:其他好文   时间:2014-06-05 11:14:26    阅读次数:255
centos为用户添加sudo功能
suchmod a+w /etc/sudoersvim /etc/sudoers[找到root ALL=(ALL) ALL这行]复制出新的一行,并且将root改为daniel(当前用户名)chmod 0440 /etc/sudoersexit
分类:其他好文   时间:2014-06-03 08:50:33    阅读次数:220
OpenGLES渲染
OpenGLES渲染OpenGLES使用GPU渲染图片,不占用CPU,但其使用还是挺复杂的.先用OpenGLES显示一张图片://// ShowViewController.m// OpenGLES//// Copyright (c) 2014年 Y.X. All rights reserve...
分类:其他好文   时间:2014-06-03 07:59:32    阅读次数:387
android 添加手机短信,获取手机短信,删除手机短信和修改手机短信
注意添加权限: 代码如下://更新短信private void UpdateSMS(){/*update支持的协议有很多:SMS_RAW_MESSAGE SMS_STATUS_PENDING SMS_ALL SMS_FAILED SMS_QUEUED SM...
分类:移动开发   时间:2014-06-03 07:26:15    阅读次数:371
Terrible Sets
Terrible SetsTime Limit:1000MSMemory Limit:30000KTotal Submissions:3017Accepted:1561DescriptionLet N be the set of all natural numbers {0 , 1 , 2 , . ...
分类:其他好文   时间:2014-05-31 22:01:28    阅读次数:325
Linux 常用命令
Linux打包命令tar -zcvf /home/xahot.tar.gz /xahottar -zcvf 打包后生成的文件名全路径 要打包的目录例子:把/xahot文件夹打包后生成一个/home/xahot.tar.gz的文件。# tar -xf all.tar这条命令是解出all.tar包中所有...
分类:系统相关   时间:2014-05-31 15:50:58    阅读次数:439
CentOs 中显示乱码问题
vi /etc/sysconfig/i18n LANG="en_US.UTF-8"SUPPORTED="en_US.UTF-8:en_US:en"SYSFONT="latarcyrheb-sun16"source /etc/sysconfig/i18n以及export LC_ALL=zh_CN.UT...
分类:其他好文   时间:2014-05-31 14:02:03    阅读次数:266
js二级下拉菜单
看似简单的一个菜单,确需要不少的知识点1. getByClassgetElementsByClassName 已经有大部分现代浏览器支持了,只有ie6,ie7,ie8是不支持的。所以对ie6,7,8做特别的处理就行,而ie里边有个内置的属性一直被我们所忽略,document.all,这个比一般的do...
分类:Web程序   时间:2014-05-31 08:20:41    阅读次数:340
Aizu 1335 Equal Sum Sets
DescriptionLet us consider sets of positive integers less than or equal ton. Note that all elements of a set are different. Also note that the order o...
分类:其他好文   时间:2014-05-31 05:12:49    阅读次数:246
poj 1094 Sorting It All Out
DescriptionAn ascending sorted sequence of distinct values is one in which some form of a less-than operator is used to order the elements from smalle...
分类:其他好文   时间:2014-05-30 14:31:10    阅读次数:297
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!