最新 最热

hive | 解决character '​' not supported here

今天在处理数据入库时出现了character '​' not supported here的bug

2020-04-21
1

[Python]Python中使用正则表达式匹配

必须加# encoding: utf-8否则报错SyntaxError: Non-ASCII character 'xe6'# encoding: utf-8import reregex= ur"d{4}" #正则表达式if re.match(regex,"2020-2-02"): print 1......

2020-02-24
1

Python字典get()方法的实际应用

dict1 = {'apple':'1', 'cellphone':'3', 'cucumber':'34'}

2020-01-08
2

R中paste cat和sink的用法

1 paste的用法paste(..., sep=" ", collapse=NULL) 本质是把输入的term转变为string,和as.character意思一样。然后进行连接。每个term之间以sep参数分隔开 collapse是把结果进行处理,也可以认为怎么来对结果进行折叠。...

2019-12-26
3

【Codeforces】1217A - Creating a Character

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。

2019-11-08
1

【leetcode刷题】T24-比较含退格的字符串

Given two strings S and T, return if they are equal when both are typed into empty text editors. # means a backspace character.

2019-07-18
1

【每天一道编程系列-2018.2.10】(Ans)

版权声明:本文为博主原创文章,未经博主允许不得转载。https://blog.csdn.net/Oct31_Dec25/article/details/79307636

2019-03-14
2

python 报错'gbk' codec can't encode character 'ue5d1' in position 0:

在网络怕爬虫过程中遇到,编码错误'gbk' codec can't encode character 'ue5d1' in position 0: illegal multibyte sequenceresponse = requests.get(url)html_uid = response.text# n......

2019-02-14
3

Leetcode 165 Compare Version Numbers

Compare two version numbers version1 and version2. If version1 > version2 return 1, if version1 < version2 return -1, otherwise return 0. You may assume that...

2018-01-12
2

Leetcode 205 Isomorphic Strings

Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if the characters in s can be replaced to get t. All occurrences of a...

2018-01-12
1