小团数字转换问题 题目描述 就是将阿拉伯数字转换为中文大写数字 输入 一维字符串数组,每项为阿拉伯数字,数字保留 2 位且最大值不超过一万亿, 输出 转换后的数组 样例输入 ["200.00","201.15","1015","200001010200"] 样例输出 ["贰佰元整","贰佰零壹元壹角 ...
分类:
其他好文 时间:
2019-09-11 18:09:42
阅读次数:
318
phpmyadmin index.php中 checkpagevalidity函数 查看白名单 第一个返回true的地方 page参数需要在白名单中。 第二个返回true的地方 mb_strops函数:stroup(s1,s2) 查找s2在s1中第一次出现的位置 mb_substr(s1,s2,s3 ...
分类:
Web程序 时间:
2019-09-09 22:38:49
阅读次数:
131
一:这种方式是根据身份证的月份和当前月份,日和当前日来对比实现 select case when month(current_date) > substr(sfz,11,2) then year(current_date) - substr(sfz,7,4) when month(current_d ...
分类:
其他好文 时间:
2019-09-09 11:41:40
阅读次数:
101
1.方法定义 2.方法调用 (ushort)con.Hex2Ten(con.headset_vid), (ushort)con.Hex2Ten(con.headset_pid) ...
题目链接 "题目链接 http://poj.org/problem?id=2503" 题意 英文A 方言B 输入B,求A 代码如下(G++) c++ include include include "map" include "string" using namespace std; typedef ...
分类:
其他好文 时间:
2019-09-06 17:26:39
阅读次数:
97
#将员工的姓名按首字母排序,并写出姓名的长度SELECTLENGTH(last_name),SUBSTR(last_name,1,1)AS首字符FROMemployeesORDERBY首字符;可直接字母排序#给job_id分等级SELECTjob_id,CASEjob_idWHEN‘AD_PRES‘THEN‘A‘WHEN‘ST_MAN‘THEN‘B‘WHEN‘IT_PROG‘THEN‘C‘WHEN
分类:
数据库 时间:
2019-09-06 01:01:20
阅读次数:
120
// 获取焦点 let txt = document.getElementById("countRule"); let temp = txt.value; txt.focus(); let pointIndex = txt.selectionStart; let str1 = temp.substr... ...
分类:
其他好文 时间:
2019-09-05 19:00:47
阅读次数:
82
题意: 给一个字符串S,令F(x)表示S的所有长度为x的子串中,出现次数的最大值。 求F(1)..F(Length(S)) Length(S) <= 250000 思路:板子中st[x]定义为root到x的最多步数,可以用来更新所有长度为[1..st[x]]的答案 ...
分类:
其他好文 时间:
2019-09-04 18:53:45
阅读次数:
76
Restore IP Addresses Given a string containing only digits, restore it by returning all possible valid IP address combinations. For example:Given  ...
分类:
其他好文 时间:
2019-09-03 11:55:40
阅读次数:
75
1 //例如 2 var num = "1360654254125"; 3 4 num1 = num.substr(4); //表示从下标4开始(包含)一直到字符串结束 5 6 num1 = "654254125"; 7 8 num2 = num.substr(4,4); //表示从下标4开始一直到... ...
分类:
编程语言 时间:
2019-09-03 11:43:37
阅读次数:
79