Given a digit string, return all possible letter combinations that the number could represent.
A mapping of digit to letters (just like on the telephone buttons) is given below.
Input:Digit st...
分类:
其他好文 时间:
2015-07-04 14:02:10
阅读次数:
282
1. Question给一个数字字符串,按照电话上各个数字对应的字母,返回该字符串代表的所有可能的字母组合。Given a digit string, return all possible letter combinations that the number could represent.A ...
分类:
其他好文 时间:
2015-07-03 23:23:10
阅读次数:
121
//从终端获取一个字符串,分别统计其中大写字母、小写字母、数字及其它字符的个数。
#include
#include
int main(int argc,const char *argv[])
{
char str[100];
char ch;
int len,i;
int letter = 0, number = 0, space = 0, other = 0;
get...
分类:
其他好文 时间:
2015-07-03 17:27:59
阅读次数:
116
first-line 设置首行样式first-letter 设置首字母样式before 在某元素前插入内容并设置内容样式after 在某元素后插入内容并设置内容样式 实例:第一行 第二行
分类:
Web程序 时间:
2015-06-30 23:24:15
阅读次数:
288
Description
John never knew he had a grand-uncle, until he received the notary's letter. He learned that his late grand-uncle had gathered a lot of money, somewhere in South-America, and that John ...
分类:
其他好文 时间:
2015-06-30 22:04:06
阅读次数:
131
#include
#include
int main()
{
int line;//代表行数
int i;
char letter,ch;
printf("请输入一个大写字母:");
scanf("%c",&letter);
for(line=0;line
{
for(i=0;i
p...
分类:
编程语言 时间:
2015-06-27 19:55:53
阅读次数:
543
原文 I have just received a letter from my brother, Tim. He is in Australia. He has been there for six months. Tim is an engineer. He is working for a big firm and he has already visited a great nu...
分类:
其他好文 时间:
2015-06-26 15:11:52
阅读次数:
137
C. Mail StampsTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/problemset/problem/29/CDescriptionOne day Bob got a letter in an envelop...
分类:
编程语言 时间:
2015-06-26 10:40:43
阅读次数:
258
题目:给你一句话,统计里面出现最多的字母,有多个按字典序输出。
分析:简单题。直接统计即可。
说明:注意输入格式。
#include
#include
#include
#include
#include
#include
using namespace std;
int main()
{
int n,count[27];
char buf[202];
while (...
分类:
其他好文 时间:
2015-06-24 16:27:47
阅读次数:
123
1404. Easy to Hack!
Time limit: 1.0 second
Memory limit: 64 MB
When Vito Maretti writes an important letter he encrypts it. His method is not very reliable but it’s enough to make any detecti...
分类:
其他好文 时间:
2015-06-23 11:55:40
阅读次数:
119