Prime Permutation codeforces 123A You are given a string s, consisting of small Latin letters. Let's denote the length of the string as |s|. The chara ...
分类:
其他好文 时间:
2018-10-08 00:46:31
阅读次数:
213
Romaji CF 1008A Vitya has just started learning Berlanese language. It is known that Berlanese uses the Latin alphabet. Vowel letters are "a", "o", "u ...
分类:
其他好文 时间:
2018-10-06 12:06:43
阅读次数:
196
There is a new alien language which uses the latin alphabet. However, the order among letters are unknown to you. You receive a list of non-empty word ...
分类:
其他好文 时间:
2018-10-05 18:56:52
阅读次数:
183
Vitya has just started learning Berlanese language. It is known that Berlanese uses the Latin alphabet. Vowel letters are "a", "o", "u", "i", and "e". ...
分类:
其他好文 时间:
2018-10-01 17:11:16
阅读次数:
200
You are given two strings ss and tt, both consisting only of lowercase Latin letters. The substring s[l..r]s[l..r] is the string which is obtained by ...
分类:
其他好文 时间:
2018-09-24 11:23:55
阅读次数:
202
异常:'latin-1' codec can't encode characters in position 62-66: ordinal not in range(256) 用Python通过pymysql往MySQL数据库中插入数据时,插入的字段含有中文,出现异常: 'latin-1' code ...
分类:
数据库 时间:
2018-09-20 21:25:43
阅读次数:
192
There is a new alien language which uses the latin alphabet. However, the order among letters are unknown to you. You receive a list of non-empty word ...
分类:
其他好文 时间:
2018-09-15 14:30:50
阅读次数:
223
1.全局函数 (1). 计算表达式的结果函数: eval(字符串表达式) 返回值:表达式的值或“undefined”。 (2).编码函数:escape():escape(字符串) escape() 函数将参数字符串中的特定字符(ISO-Latin-1 字符集)进行编码,并返回一个编码后的字符串。它可 ...
分类:
编程语言 时间:
2018-09-04 22:09:03
阅读次数:
293
A - Arranging tiles 留坑。 B - Buggy ICPC 题意:给出一个字符串,然后有两条规则,如果打出一个辅音字母,直接接在原字符串后面,如果打出一个元音字母,那么接在原来的字符串后面之后再翻转整个字符串,在这两条规则之下,求有多少种打印给定字符串的方法 思路:如果第一个字符是 ...
分类:
其他好文 时间:
2018-09-02 20:28:52
阅读次数:
634
eclipse中默认的编码格式为字符编码是ISO-8859-1,每次新建jsp页面都需要手动改写,特别麻烦,怎么设置在新建JSP文件的编码为UTF-8? Preference-->找到Web->JSP Files,我们可以看到默认的jsp文件的字符编码是ISO-8859-1(ISO Latin-1) ...
分类:
Web程序 时间:
2018-08-23 20:56:38
阅读次数:
178