码迷,mamicode.com
首页 >  
搜索关键字:find    ( 24186个结果
hdu 2852 KiKi's K-Number (线段树)
hdu 2852 题意: 一个容器,三种操作: (1) 加入一个数 e (2) 删除一个数 e,如果不存在则输出 No Elment! (3) 查询比a大的数中的第k小数,不存在就输出 Not Find! 解法: 关于第三点,可以先查询小于等于a的数的个数cnt,然后直接查询第cnt+k小数就行了 ...
分类:其他好文   时间:2016-10-07 01:10:20    阅读次数:146
Linux 学习题目
在文件有很多的时候,rm-f*删不掉,则用#find./-typef|xargsrm-f#ls|xargsrm-f1、删除一个目录下的所有文件,但保留一个指定文件#mkdirdata#toucha.txtb.txtoldboy.txtoldgirl.txt方法一:#find/data/-typef!-name="oldboy.txt"|xargsrm-f方法二:#find/data/-typef!-name="old..
分类:系统相关   时间:2016-10-06 23:11:21    阅读次数:436
Unit 4
管理系统输入输出在Linux系统中,正确输出的编号为1,错误输出编号为2在系统中普通用户执行"student"find/etc-namepasswd因为student用户权限问题会有以下输出:find:‘/etc/pki/CA/private’:Permissiondenied##没有进入权力,报错find:‘/etc/pki/rsyslog’:Permissiondenied..
分类:其他好文   时间:2016-10-06 23:06:37    阅读次数:169
JasperReport html 导出
In my last blog post I discussed about Generating jasper reports in different formats using json file as a data source.You can find my last post here. ...
分类:Web程序   时间:2016-10-06 22:20:58    阅读次数:390
杭电2266 How Many Equations Can You Find【DFS】
How Many Equations Can You Find Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 892 Accepted Subm ...
分类:其他好文   时间:2016-10-06 19:28:06    阅读次数:110
Median of Two Sorted Arrays问题
问题描述: There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complex ...
分类:其他好文   时间:2016-10-06 17:34:45    阅读次数:268
leetcode 136
136. Single Number Given an array of integers, every element appears twice except for one. Find that single one. Note:Your algorithm should have a lin ...
分类:其他好文   时间:2016-10-05 19:42:24    阅读次数:115
LeetCode 3.Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng ...
分类:其他好文   时间:2016-10-05 17:30:33    阅读次数:114
Longest Substring Without Repeating Characters问题
问题描述: Given a string, find the length of the longest substring without repeating characters. 样例: Given "abcabcbb", the answer is "abc", which the leng ...
分类:其他好文   时间:2016-10-05 17:30:25    阅读次数:99
[LeetCode] Longest Palindrome 最长回文串
Given a string which consists of lowercase or uppercase letters, find the length of the longest palindromes that can be built with those letters. This ...
分类:其他好文   时间:2016-10-05 12:39:27    阅读次数:133
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!