码迷,mamicode.com
首页 >  
搜索关键字:characters    ( 2378个结果
待解:Array; Queue
1 package com.java7; 2 /* 3 * Try This 5-2 4 * A queue class for characters. 5 */ 6 class Queue { 7 char q[]; // this array holds the queue 8 ...
分类:其他好文   时间:2014-12-16 20:56:43    阅读次数:331
458 - The Decoder & C语言gets函数,字符输出输出 & toascii()
Write a complete program that will correctly decode a set of characters into a valid message. Your program should read a given file of a simple coded ...
分类:编程语言   时间:2014-12-15 16:46:15    阅读次数:225
LeetCode Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:其他好文   时间:2014-12-15 00:00:53    阅读次数:329
poj1961 Period
DescriptionFor each prefix of a given string S with N characters (each character has an ASCII code between 97 and 126, inclusive), we want to know whe...
分类:其他好文   时间:2014-12-14 21:15:07    阅读次数:164
'ascii' codec can't encode characters in position 0-8: ordinal not in range(128)的解决办法
使用的python2.7,运行的时候出现了'ascii' codec can't encode characters in position 0-8: ordinal not in range(128)错误,通过搜索一些文章了解到是因为python系统使用的默认编码为ascii编码,但是代码运行中的...
分类:Web程序   时间:2014-12-13 23:17:49    阅读次数:197
Linux 命令之head, tail, tr, sort, uniq, grep
head [filename]head -n 11 [filename] -> First 11 lines head -c 20 [filename] -> First 20 characters head默认为显示前10行。tail [filename]tail -n 11 [filena...
分类:系统相关   时间:2014-12-13 13:21:23    阅读次数:250
Leetcode-Read N Characters Given Read4 II
The API: int read4(char *buf) reads 4 characters at a time from a file.The return value is the actual number of characters read. For example, it retur...
分类:其他好文   时间:2014-12-13 06:13:49    阅读次数:133
Leetcode-Read N Characters Given Read4
The API: int read4(char *buf) reads 4 characters at a time from a file.The return value is the actual number of characters read. For example, it retur...
分类:其他好文   时间:2014-12-13 06:07:23    阅读次数:209
Leetcode-Longest Substring with At Most Two Distinct Characters.
Given a string, find the length of the longest substring T that contains at most 2 distinct characters.For example, Given s = “eceba”,T is "ece" which...
分类:其他好文   时间:2014-12-13 06:07:09    阅读次数:137
Longest Substring Without Repeating Characters -- leetcode
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3. Fo...
分类:其他好文   时间:2014-12-12 11:49:07    阅读次数:132
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!