感觉是大数相乘算法里面最能够描述、模拟演算过程的思路 ...
分类:
其他好文 时间:
2018-03-23 01:02:34
阅读次数:
105
题目链接:http://poj.org/problem?id=2406 Time Limit: 3000MS Memory Limit: 65536K Description Given two strings a and b we define a*b to be their concatenat ...
分类:
其他好文 时间:
2018-03-22 22:37:47
阅读次数:
183
```go package main import ( "fmt" "strings" "unicode"
) const email = "ExamPle@domain.com"
const name = "isaac newton"
const upc = "upc"
const i = "i"... ...
分类:
其他好文 时间:
2018-03-22 00:30:31
阅读次数:
231
cat /Users/zrd/Downloads/gostandardlib/Chapter02/Strings\ and\ Things/recipe08/win1250.txt Gda?sk% decode ...
分类:
Web程序 时间:
2018-03-22 00:27:46
阅读次数:
212
```go package main import ( "fmt" "strconv" "strings" "unicode"
) func main() { text := "Hi! Go is awesome." text = Indent(text, 6) fmt.Println(text) ... ...
分类:
其他好文 时间:
2018-03-22 00:25:54
阅读次数:
185
```go package main import ( "fmt" "math" "regexp" "strconv" "strings"
) func main() { stringToTrim := "\t\t\n Go \tis\t Awesome \t\t" trimResult := st... ...
分类:
其他好文 时间:
2018-03-22 00:24:57
阅读次数:
176
```go
package main import ( "fmt" "strings"
) const refString = "Mary had a little lamb" func main() { lookFor := "lamb" contain := strings.Contains(r... ...
分类:
其他好文 时间:
2018-03-21 23:16:32
阅读次数:
203
Power Strings poj-2406 题目大意:询问一个字符串最多几个相同且连续的字符串构成(Eg:abababab由4个构成,abcd由1个构成)。 注释:字符串长度为n,$1\le n\le 10^6$. 想法:hash裸题,通过Hash求出单个字符串的hash前缀,然后用n的约数以及h ...
分类:
其他好文 时间:
2018-03-19 20:53:58
阅读次数:
193
POJ 3096 -- Surprising Strings Error 42 error C2784: 'bool std::operator <(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)' : could not deduc ...
分类:
其他好文 时间:
2018-03-18 12:01:46
阅读次数:
171
The Little Elephant loves strings very much. He has an array a from n strings, consisting of lowercase English letters. Let's number the elements of t ...
分类:
其他好文 时间:
2018-03-17 23:25:03
阅读次数:
283