Constructing Roads
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 18744
Accepted: 7755
Description
There are N villages, which are numbered from 1 to N, and...
分类:
其他好文 时间:
2014-07-22 23:02:33
阅读次数:
221
linux文件属性可以使用ls-l命令查看。文件属性为以下1.文件类型:-,d,l,b,c,s等2.文件链接数#创建文件链接命令
ln[-s创建软连接]targetlink_name
#默认创建硬链接3.文件读写执行属性4.文件属主和群5.文件大小ls-h
#以友好方式显示文件大小6.文件时间属性#mtime(modificati..
分类:
系统相关 时间:
2014-05-03 01:55:59
阅读次数:
504
sed‘s/^/\//g‘4行首增加指定字符提取网页中的播放地址:#!/bin/bash
printf"enteryourdir:"
readdir
echo"$dirisxx"
cd$dir
echo`pwd`
forfilein`ls.`
do
if[-d$file];then
echo$file
cd$file
echo`pwd`
tree`pwd`|grepplay|sed‘s/.*//g‘>11
tree`pwd`|grepplay|sed‘s/.*//g..
分类:
其他好文 时间:
2014-05-03 00:53:15
阅读次数:
336
Factorial Problem in Base K
Time Limit: 2 Seconds Memory Limit: 65536 KB
How many zeros are there in the end of s! if both s and s! are written in base k which is not necessarily to be 10...
分类:
其他好文 时间:
2014-05-02 20:11:29
阅读次数:
376
Okay for centos 6.4 also On apu.0xdata.loc,
after this install was done$ which python /usr/local/bin/python$ python -VPython
2.7.3$ ls -ltr /usr/local...
分类:
编程语言 时间:
2014-05-02 12:53:59
阅读次数:
609
Given a binary tree, determine if it is
height-balanced.For this problem, a height-balanced binary tree is defined as a
binary tree in which the depth...
分类:
其他好文 时间:
2014-05-02 07:05:08
阅读次数:
311
linux基础笔记ls查看目录下所有文件-rwxr--r---表示是一个文件d表示是一个目录c表示字符设备文件b表示快设备l表示是链接文件
分类:
系统相关 时间:
2014-05-02 03:35:01
阅读次数:
295
Say you have an array for which theithelement
is the price of a given stock on dayi.If you were only permitted to complete at
most one transaction (ie...
分类:
其他好文 时间:
2014-05-02 00:37:20
阅读次数:
349
Problem Description
In the Wide Web World, Which web server was popular in web site? Apache, nginx, lighttpd? Baidu.com use Apache, and many web sites like 163.com use nginx. Why? Its configuration i...
分类:
其他好文 时间:
2014-04-29 13:24:20
阅读次数:
355
Pick apples
Time Limit: 1000MS Memory limit: 165536K
题目描述
Once ago, there is a mystery yard which only produces three kinds of apples. The number of each kind is infinite. A girl carrying a...
分类:
移动开发 时间:
2014-04-29 13:18:22
阅读次数:
489