package main import ( "fmt" "strings" ) func main() { /* 示例 1: 输入: "the sky is blue" 输出: "blue is sky the" */ var s = "the sky is blue" fmt.Println(re ...
分类:
其他好文 时间:
2020-07-22 01:40:25
阅读次数:
66
package main import ( "fmt" "strings" ) func main() { /* 示例1: 输入: pattern = "abba", str = "dog cat cat dog" 输出: true 示例 2: 输入:pattern = "abba", str = ...
分类:
其他好文 时间:
2020-07-20 11:00:18
阅读次数:
73
http://poj.org/problem?id=2406 http://poj.org/problem?id=1961 几乎是一个题 1961是对于第 \(i\) 位,求 \([1,i]\) 能不能由一段字符循环一次以上组成,输出 \(i\) 和这样的长度最小的循环节循环次数 2406是只对第 ...
分类:
其他好文 时间:
2020-07-17 13:49:40
阅读次数:
47
常考 大数乘法 题目链接:https://leetcode-cn.com/problems/multiply-strings/ class Solution { public: string multiply(string num1, string num2) { string res(num1.s ...
分类:
编程语言 时间:
2020-07-16 12:20:14
阅读次数:
64
1:项目,右键-project-info-Localizations,里面选择自己要添加 的语言 2:新建InfoPlist.string文件,名字不能错,strings类型在sources里面 选中InfoPlist文件,右侧菜单栏,Localization里选择语言版本,打勾,最基本的开发语言e ...
分类:
移动开发 时间:
2020-07-14 11:52:02
阅读次数:
82
[C 语言中文开发手册isgraph (Strings) - C 中文开发手册在头文件中定义??int isgraph(int ch);??检查给定字符是否具有图形表示形式,即它是数字(0123456789),大写字母(ABCDEFGHIJKLMNOPQRSTUVWXYZ),小写字母(abcdefg... ...
分类:
其他好文 时间:
2020-07-13 21:54:46
阅读次数:
75
[C 语言中文开发手册wcschr (Strings) - C 中文开发手册在头文件中定义??wchar_t * wcschr(const wchar_t * str,wchar_t ch);?(自C95以来)ch在指向的宽字符串中查找宽字符的第一个匹配项str。参数str-指向要分析的以空字符结尾... ...
分类:
其他好文 时间:
2020-07-12 10:26:21
阅读次数:
91
A substring of a string T is defined as: T(i, k)=TiTi+1...Ti+k-1, 1≤i≤i+k-1≤|T|. Given two strings A, B and one integer K, we define S, a set of tripl ...
分类:
编程语言 时间:
2020-07-11 13:09:02
阅读次数:
71
题目 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. Exampl ...
分类:
其他好文 时间:
2020-07-10 20:58:33
阅读次数:
56
1. 用Stegsolve打开图片,并提取数据。 2. 由上图,我们看到了zip的文件头[1]:504B0304,因此用zip格式SaveBin,如flag.zip 3. 解压得到的压缩包,得到文件1 4. 在kali中,`file 1`有以下信息 5. `strings 1`获取该文件中的字符串, ...
分类:
其他好文 时间:
2020-07-10 15:10:50
阅读次数:
73