码迷,mamicode.com
首页 >  
搜索关键字:upper    ( 2194个结果)
Codeforces1111D Destroy the Colony 退背包+组合数
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
Python练手例子(16)
91、时间函数举例1。 92、时间函数举例2。 93、时间函数举例3。 94、时间函数举例4:一个猜数游戏,判断一个人的反应快慢。 95、字符串日期转换为易读的日期格式。 96、计算字符串中子串出现的次数。 97、从键盘输入一些字符,逐个把它们写到磁盘文件上,直到输入一个“#”为止。 98、从键盘输 ...
分类:编程语言   时间:2019-02-26 19:31:58    阅读次数:247
Python3 循环
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
FreeCodeCamp初级算法部分学习
Reverse a String 翻转字符串 先把字符串转化成数组,再借助数组的reverse方法翻转数组顺序,最后把数组转化成字符串。 你的结果必须得是一个字符串 当你完成不了挑战的时候,记得开大招'Read-Search-Ask'。 这是一些对你有帮助的资源: Global String Obj ...
分类:编程语言   时间:2019-02-25 11:52:39    阅读次数:220
Java8-Map
1、Staff实体 2、将字符串列表转换为大写 3、获取List对象列表中某个属性的集合(Developer在博客-Java8比较器) 4、将一个List对象列表转换为另一个List对象列表 ...
分类:编程语言   时间:2019-02-25 00:59:06    阅读次数:175
PAT 甲级 A1044 (2019/02/20)
```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
python字符串操作简单方法
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
(C++練習) 58. Length of Last Word
題目 : 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
CF 166E Tetrahedron
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
pat乙级 1030-1035
//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
共2194条   上一页 1 ... 48 49 50 51 52 ... 220 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!