This file came from Planet-Source-Code.com...the home millions of Lines of source code
You can view comments on this code/and or vote on it at: http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=58860&lngWId=1
The author may have retained certain copyrights to this code...please observe their request and the law by reviewing all copyright conditions at the above URL.
可在系統(tǒng)引導(dǎo)時(shí)工作的RootKit,較簡(jiǎn)單
1) It s very small.The basic framework is just about 100 Lines of assembly code.It supports 2000,XP,2003
2) It patches the kernel at runtime(no files are patched on disk).(basic version has this code removed , so as others could understand it easily).
3) BOOT KIT is PXE-compatible.
4) It can even lead to first ever PXE virus
5)It also enables you to load other root kits if you have physical access(Normally root kits can only be loaded by the administrator)
This a simple hardware UART test program. It receives text Lines over
the serial port and writes back a status msg with length and contents of
the buffer.
Input
The input contains blocks of 2 Lines. The first line contains the number of sticks parts after cutting, there are at most 64 sticks. The second line contains the lengths of those parts separated by the space. The last line of the file contains zero.
Output
The output should contains the smallest possible length of original sticks, one per line.
Sample Input
9
5 2 1 5 2 1 5 2 1
4
1 2 3 4
0
Sample Output
6
5
Input
The input consists of two Lines. The first line contains two integers n and k which are the lengths of the array and the sliding window. There are n integers in the second line.
Output
There are two Lines in the output. The first line gives the minimum values in the window at each position, from left to right, respectively. The second line gives the maximum values.
Sample Input
8 3
1 3 -1 -3 5 3 6 7
Sample Output
-1 -3 -3 -3 3 3
3 3 5 5 6 7
TFIND
searches for one or more strings (boolean AND) in a text file.
TFIND reports all Lines where the string(s) were found (or NOT found
by option).
The search can be limited to a field in a fixed field (i.e. column
oriented) list.
An extended search mode is available, where only letters and digits
are relevant.
Other options:
case sensitive search,
alternative errorlevel with number of hits,
header line with file name, LFN, custom prefix
KML 2 SHP Converter for points, Lines and polygons
Extension for ArcView 3.x will convert KML files from Google Earth to ShapeFiles, adding a new field called “Name” in the shapefile attribute table, automatically storing the name entered on the “Google Earth – New” window.
北京大學(xué)ACM比賽題目
Write a program to read four Lines of upper case (i.e., all CAPITAL LETTERS) text input (no more than 72 characters per line) from the input file and print a vertical histogram that shows how many times each letter (but not blanks, digits, or punctuation) appears in the all-upper-case input. Format your output exactly as shown.