Palindromes
Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld
& %llu
Submit Status
Description
A regular palindrome is a string of numbers or letters that is the same for...
分类:
其他好文 时间:
2014-12-08 09:21:11
阅读次数:
187
Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where "adjace...
分类:
其他好文 时间:
2014-12-07 01:17:40
阅读次数:
121
Number letter counts
Problem 17
If the numbers 1 to 5 are written out in words: one, two, three, four, five, then there are 3 + 3 + 5 + 4 + 4 = 19 letters used in total.
If all the numbers fr...
分类:
其他好文 时间:
2014-12-05 19:27:00
阅读次数:
177
Given a 2D board and a word, find if the word exists in the grid.
The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or vertically...
分类:
其他好文 时间:
2014-12-04 08:48:28
阅读次数:
204
Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where "adjace...
分类:
其他好文 时间:
2014-12-03 22:47:05
阅读次数:
127
正在Codecademy学习Python,在Battleship中的Printing Preety提到:print " ".join(letters)这个就将list中string的引号和逗号去掉,打印出来print "---".join(letters)这样就将元素用---连接起来例如这个代码: ...
分类:
编程语言 时间:
2014-12-03 21:11:18
阅读次数:
202
题目:输入一行字符,分别统计出其中数字、英文字母、数字和其他字符的个数packageTest;
importjava.io.*;
//需求:输入一行字符,分别统计出其中数字、英文字母、数字和其他字符的个数
publicclassCountTest{
publicstaticvoidmain(String[]args)throwsException{
System...
分类:
其他好文 时间:
2014-12-03 02:01:20
阅读次数:
158
A message containing letters fromA-Zis being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an encoded message conta...
分类:
其他好文 时间:
2014-12-02 22:05:36
阅读次数:
153
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2014-11-30 07:04:09
阅读次数:
163
Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where "adjace...
分类:
其他好文 时间:
2014-11-28 21:26:23
阅读次数:
222