问题描述: Some people will make friend requests. The list of their ages is given and ages[i] is the age of the ith person. Person A will NOT friend reques ...
分类:
移动开发 时间:
2018-07-07 01:10:13
阅读次数:
220
$\mathcal{JuLao \ \& \ \ Dalao}$ "$\_rqy$" "$\_stdcall$" 并肩奋斗的$Oier$ "王旭" "苑骏康" "张梓淳" 好盆友 "角角$qwq$" ...
分类:
其他好文 时间:
2018-07-01 20:27:38
阅读次数:
173
What-The-Fatherland is a strange country! All phone numbers there are strings consisting of lowercase English letters. What is double strange that a p ...
分类:
其他好文 时间:
2018-07-01 14:55:10
阅读次数:
209
haveing groupby WHERE语句在GROUP BY语句之前;SQL会在分组之前计算WHERE语句。 HAVING语句在GROUP BY语句之后;SQL会在分组之后计算HAVING语句。 where 子句的作用是在对查询结果进行分组前,将不符合where条件的行去掉,即在分组之前过滤数据 ...
分类:
数据库 时间:
2018-07-01 13:40:22
阅读次数:
203
Limak is an old brown bear. He often goes bowling with his friends. Today he feels really good and tries to beat his own record! For rolling a ball on ...
分类:
其他好文 时间:
2018-06-30 14:49:48
阅读次数:
198
题目大意:给你两个长度为n的数组a, b,问你有多少个问你有多少个区间满足 a中最大值等于b中最小值。 思路:我本来的想法是用单调栈求出每个点的管辖区间,然后问题就变成了巨麻烦的线段覆盖问题,就爆炸写了 一晚上假算法。正解就是枚举一个端点,然后二分找右端点的区间,因为满足一个很神奇的单调性,然后st ...
分类:
其他好文 时间:
2018-06-27 13:54:57
阅读次数:
160
import wxpy bot = wxpy.Bot(console_qr=-1, cache_path=True) my_friends = bot.friends() male = 0 female = 0 other = 0 for friend in my_friends: if frien ...
分类:
微信 时间:
2018-06-25 13:05:54
阅读次数:
188
Description Emma and Eric are moving to their new house they bought after returning from their honeymoon. Fortunately, they have a few friends helping ...
分类:
其他好文 时间:
2018-06-21 23:39:53
阅读次数:
263
示例:d={‘name‘:‘yy‘}key值判断d.has_key(‘name‘)#如果有key返回Trued.get(‘name‘)#如果没有key返回None添加与更新#赋值可以是字符,数字,列表,元组,字典。d[‘age‘]=28d[‘friends‘]=[‘john‘,‘megan‘,‘alex‘]删除deld[‘name‘]#删除指定keyd.clear()#清空字典取值获取指定key的
分类:
编程语言 时间:
2018-06-20 11:13:55
阅读次数:
248
地址https://www.codechef.com/LTIME58B?order=desc&sortBy=successful_submissions 简单做了一下,前三题比较水,第四题应该算是经典题 AChef and Friends 直接暴力枚举即可 #include<cstdio> #inc ...
分类:
其他好文 时间:
2018-06-14 18:35:59
阅读次数:
204