码迷,mamicode.com
首页 >  
搜索关键字:isomorphic strings    ( 3304个结果)
18 使用模板引擎
1 使用模板引擎 模板存放的只是文本。模板能包括引用变量和groovy代码。groovy的模板引擎提供了createTemplate 方法来实现Strings, Files, Readers or URL,返回的是Template 对象。 Template 对象通常用来创建最终的文本。Templat ...
分类:其他好文   时间:2016-07-29 18:31:11    阅读次数:215
Java String
to convert a string, or a portion of a string, into an array of characters palindrome.getChars(0, len, tempCharArray, 0); Creating Format Strings You ...
分类:编程语言   时间:2016-07-24 14:45:14    阅读次数:192
周期串(Periodic Strings,UVa455)
解题思路: 对一个字符串求其最小周期长度,那么,最小周期长度必定是字符串长度的约数,即最小周期长度必定能被字符串长度整除 其次,对于最小周期字符串,每位都能对应其后周期字串的每一位, 即 ABC ABCABC (345678)->%其字串长度3 012 3%3 4%3 5%3 6%3 7%3 8%3 ...
分类:其他好文   时间:2016-07-21 23:33:31    阅读次数:221
Chapter 4 Character Strings and Formatted Input/Output
Null Character:\0 # define TAXRATE 0.015 //when your program is compiled,the value 0.015 will be substituted everywhere you have used TAXRATE.this is ...
分类:其他好文   时间:2016-07-21 14:47:00    阅读次数:207
使用strings查看二进制文件中的字符串
使用strings查看二进制文件中的字符串 今天介绍的这个小工具叫做strings,它实现功能很简单,就是找出文件内容中的可打印字符串。所谓可打印字符串的涵义是,它的组成部分都是可打印字符,并且以null或者newline结尾。 对于普通文本文件来说,strings没有任何意义,因为文本文件中的任何 ...
分类:其他好文   时间:2016-07-21 09:51:59    阅读次数:174
codeforces水题100道 第二十六题 Codeforces Beta Round #95 (Div. 2) A. cAPS lOCK (strings)
题目链接:http://www.codeforces.com/problemset/problem/131/A题意:字符串大小写转换。C++代码: #include <cstdio> #include <cstring> char s[110]; bool islow(char c) { retur ...
分类:其他好文   时间:2016-07-21 00:26:56    阅读次数:187
codeforces水题100道 第二十五题 Codeforces Round #197 A. Helpful Maths (Div. 2) (strings)
题目链接:http://www.codeforces.com/problemset/problem/339/A题意:重新组合加法字符串,使得按照1,2,3的顺序进行排列。C++代码: #include <iostream> #include <string> using namespace std; ...
分类:其他好文   时间:2016-07-20 22:59:07    阅读次数:158
codeforces水题100道 第二十四题 Codeforces Beta Round #85 (Div. 2 Only) A. Petya and Strings (strings)
题目链接:http://www.codeforces.com/problemset/problem/112/A题意:忽略大小写,比较两个字符串字典序大小。C++代码: #include <cstdio> #include <cstring> int cmp(char *s, char *t) { w ...
分类:其他好文   时间:2016-07-20 22:43:37    阅读次数:147
codeforces水题100道 第二十一题 Codeforces Beta Round #65 (Div. 2) A. Way Too Long Words (strings)
题目链接:http://www.codeforces.com/problemset/problem/71/A题意:将长字符串改成简写格式。C++代码: #include <string> #include <iostream> using namespace std; int n; string s ...
分类:其他好文   时间:2016-07-20 19:40:50    阅读次数:110
Redis各类型应用场景
Redis的六种特性 l Strings l Hashs l Lists l Sets l Sorted Sets l Pub/Sub Redis各特性的应用场景 Strings Strings 数据结构是简单的key-value类型,value其实不仅是String,也可以是数字。 常用方法 方法 ...
分类:其他好文   时间:2016-07-20 19:29:54    阅读次数:219
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!