一、这里用到了:String模块ascii_letters和digits ...
分类:
编程语言 时间:
2019-09-03 14:49:49
阅读次数:
144
Given a string s that consists of only uppercase English letters, you can perform at most k operations on that string. In one operation, you can choos ...
分类:
其他好文 时间:
2019-08-21 13:39:34
阅读次数:
95
Description Given an array A of strings made only from lowercase letters, return a list of all characters that show up in all strings within the list ...
分类:
其他好文 时间:
2019-08-21 11:32:56
阅读次数:
57
Rikka with Game Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 524288/524288 K (Java/Others)Total Submission(s): 0 Accepted Submission(s): 0 Pro ...
分类:
其他好文 时间:
2019-08-19 18:47:13
阅读次数:
76
Problem Description Some of the secret doors contain a very interesting word puzzle. The team of archaeologists has to solve it to open that doors. Be ...
分类:
其他好文 时间:
2019-08-18 21:28:28
阅读次数:
102
codeforces 1187 B "Letters Shop" 题意 有一个长度为n(0 include int cnt[300], cntt[300];//记录字符出现的次数 int l[30][200010];//记录位置 int main() { int n, t, ans; char s[ ...
分类:
其他好文 时间:
2019-08-15 11:13:51
阅读次数:
71
import string string.punctuation 会返回所有常用的标点符号 string.ascii_letters 会返回 a-zA-Z string.ascii_lowercase 小写a-z string.ascii_uppercase 大写A-Z string.digits ...
分类:
其他好文 时间:
2019-08-13 15:05:58
阅读次数:
98
$11\ Other\ Styles\ (math\ mode\ only)$ $Caligraphic\ letters:$ \mathcal{A}$etc.:\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$ $Mathbb\ letters:$ \mathbb{A}$e ...
分类:
其他好文 时间:
2019-08-11 15:32:47
阅读次数:
117
题目链接:http://icpc.upc.edu.cn/problem.php?cid=1828&pid=7 题目描述 Now you have a string consists of uppercase letters, two integers A and B. We call a subst ...
分类:
其他好文 时间:
2019-08-10 14:03:38
阅读次数:
103
Given an array A of strings made only from lowercase letters, return a list of all characters that show up in all strings within the list (including d ...
分类:
其他好文 时间:
2019-08-10 09:38:16
阅读次数:
85