Additive number is a string whose digits can form additive sequence. A valid additive sequence should contain at least three numbers. Except for the f ...
分类:
其他好文 时间:
2018-11-05 16:18:38
阅读次数:
112
mmp我搞了半天发现是在做字符串的装换,这个是必然报错的,但是我们用连接操作就可以了#encoding=utf8from fengzhaung import *ih=input("输入编号")print(id(ih))sql="select * from stu where stu_id="+ihh... ...
分类:
数据库 时间:
2018-11-03 19:11:51
阅读次数:
186
https://www.sitepoint.com/how-to-create-mysql-triggers/ I created two tables: I created three triggers: first, I insert some records: second, I update ...
分类:
数据库 时间:
2018-11-03 12:40:47
阅读次数:
178
1.1 避免使用 GroupByKey 让我们看一下使用两种不同的方式去计算单词的个数,第一种方式使用 reduceByKey, 另外一种方式使用 groupByKey: val words = Array("one", "two", "two", "three", "three", "three" ...
分类:
其他好文 时间:
2018-11-02 23:37:10
阅读次数:
172
这道题我Wa了。。。 调不过来。。。 思路很暴力 但我就是写不出来 比较好些的方法是状态间建边最短路(bfs) 我用的是记忆化搜索,但代码能力极弱未能实现 卡在了CF34点 我太蒻了。。。 希望路过的大佬指出错误! ...
分类:
其他好文 时间:
2018-11-02 20:29:25
阅读次数:
176
E - Three strings 将三个串加进去,看每个节点在三个串中分别出现了多少次。 ...
分类:
数据库 时间:
2018-11-02 20:28:27
阅读次数:
186
Problem Description Chiaki has 3n points p1,p2,…,p3n. It is guaranteed that no three points are collinear.Chiaki would like to construct n disjoint tr ...
分类:
其他好文 时间:
2018-10-31 20:10:34
阅读次数:
162
Problem Description Given an integer n, Chiaki would like to find three positive integers x, y and z such that: n=x+y+z, x∣n, y∣n, z∣n and xyz is maxi ...
分类:
其他好文 时间:
2018-10-31 20:08:28
阅读次数:
158