Codeforces1111D 退背包+组合数 D. Destroy the Colony Description: There is a colony of villains with several holes aligned in a row, where each hole contains ...
分类:
其他好文 时间:
2019-02-26 22:25:49
阅读次数:
270
91、时间函数举例1。 92、时间函数举例2。 93、时间函数举例3。 94、时间函数举例4:一个猜数游戏,判断一个人的反应快慢。 95、字符串日期转换为易读的日期格式。 96、计算字符串中子串出现的次数。 97、从键盘输入一些字符,逐个把它们写到磁盘文件上,直到输入一个“#”为止。 98、从键盘输 ...
分类:
编程语言 时间:
2019-02-26 19:31:58
阅读次数:
247
L = ['Bart', 'Lisa', 'Adam'] for i in L: print("这是for循环的" + "输出 hello:" + i.upper()) i = 0 while i < len(L): print("这是while 循环的输出 hello:" + L[i]) i = ... ...
分类:
编程语言 时间:
2019-02-25 18:30:29
阅读次数:
165
Reverse a String 翻转字符串 先把字符串转化成数组,再借助数组的reverse方法翻转数组顺序,最后把数组转化成字符串。 你的结果必须得是一个字符串 当你完成不了挑战的时候,记得开大招'Read-Search-Ask'。 这是一些对你有帮助的资源: Global String Obj ...
分类:
编程语言 时间:
2019-02-25 11:52:39
阅读次数:
220
1、Staff实体 2、将字符串列表转换为大写 3、获取List对象列表中某个属性的集合(Developer在博客-Java8比较器) 4、将一个List对象列表转换为另一个List对象列表 ...
分类:
编程语言 时间:
2019-02-25 00:59:06
阅读次数:
175
```C++ include const int MAXN = 100010; int sum[MAXN]; int n, S, nearS = 100000010; int upper_bound(int L, int R, int x) { int left = L, right = R, mi ...
分类:
其他好文 时间:
2019-02-24 10:39:32
阅读次数:
145
1.join 2.split 3.find 4.strip 5.upper 6.lower 7.索引 8.切片 9.len 10.for循环 11.range ...
分类:
编程语言 时间:
2019-02-23 10:52:19
阅读次数:
181
題目 : Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last ...
分类:
编程语言 时间:
2019-02-23 01:01:37
阅读次数:
171
E. Tetrahedron time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output E. Tetrahedron time limit ...
分类:
其他好文 时间:
2019-02-21 21:45:38
阅读次数:
197
//1////字符中可能有0-9以外的字符,这时就直接打印输出并输入下一个!!!! #include<bits/stdc++.h>using namespace std;int s[18]={7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2}; char z[12]={'1', ...
分类:
其他好文 时间:
2019-02-20 21:40:02
阅读次数:
183