码迷,mamicode.com
首页 >  
搜索关键字:characters    ( 2378个结果
爬虫学习之-python插入mysql报错
异常:'latin-1' codec can't encode characters in position 62-66: ordinal not in range(256) 用Python通过pymysql往MySQL数据库中插入数据时,插入的字段含有中文,出现异常: 'latin-1' code ...
分类:数据库   时间:2018-09-20 21:25:43    阅读次数:192
[c++]用字符串实现二进制的加法
题目描述: Given two binary strings, return their sum (also a binary string). The input strings are both non-empty and contains only characters 1 or 0. 题目来 ...
分类:编程语言   时间:2018-09-15 18:21:43    阅读次数:213
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 word ...
分类:其他好文   时间:2018-09-13 01:21:39    阅读次数:162
安装JDK时提示 IllegalArgumentException:Invalid characters in hostname的解决方法
今天在windows7_x64上安装JDK的时候提示IllegalArgumentException:Invalid characters in hostname, 解决方法: 1.打开【控制面板\系统和安全\系统】,点击【更改设置】 2.修改计算机名 3.重启计算机后再安装JDK(安装之前最好删除 ...
分类:其他好文   时间:2018-09-10 22:26:38    阅读次数:433
【ACM-ICPC 2018 徐州赛区网络预赛】E. End Fantasy VIX 血辣 (矩阵运算的推广)
Morgana is playing a game called End Fantasy VIX. In this game, characters have nn skills, every skill has its damage. And using skill has special con ...
分类:其他好文   时间:2018-09-10 00:53:52    阅读次数:466
leetcode395 Longest Substring with At Least K Repeating Characters
思路: 尺取法。 循环i:1~26,分别计算恰好包含i种字母并且每种字母出现的次数大于等于k个的最长子串长度。 没法直接使用尺取法,因为不满足区间单调性,但是使用如上的方法却是可以的,因为子串中包含的字母种类数是满足区间单调性的。 实现: ...
分类:其他好文   时间:2018-09-09 21:05:54    阅读次数:185
ACM-ICPC 2018 I. Characters with Hash
I. Characters with Hash Mur loves hash algorithm, and he sometimes encrypt another one's name, and call him with that encrypted value. For instance, h ...
分类:其他好文   时间:2018-09-09 18:14:52    阅读次数:293
149.Valid Parentheses(有效的括号)
题目: Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. 给定一个只包含字符'(',')','{','}','[ ...
分类:其他好文   时间:2018-09-09 15:15:15    阅读次数:161
145.Isomorphic Strings(同构串)
题目: Given two strings s and t, determine if they are isomorphic. 给定两个字符串s和t,确定它们是否是同构的。 Two strings are isomorphic if the characters in s can be repla ...
分类:其他好文   时间:2018-09-08 11:42:27    阅读次数:158
[LeetCode] 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 word ...
分类:其他好文   时间:2018-09-07 10:57:51    阅读次数:162
2378条   上一页 1 ... 37 38 39 40 41 ... 238 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!