Consider two natural numbers A and B. Let S be the sum of all natural divisors of A^B. Determine S modulo 9901 (the rest of the division of S by 9901) ...
分类:
其他好文 时间:
2019-09-22 14:31:20
阅读次数:
121
问题: 说是create_all()的地方有问题,莫名其妙。 后来经过查资料,找出解决方法。附上代码如下: ...
分类:
移动开发 时间:
2019-09-22 12:50:59
阅读次数:
156
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: ...
分类:
其他好文 时间:
2019-09-22 12:49:54
阅读次数:
71
近期公司准备启动新项目,经过技术团队一番调研,决定采用 Flutter 来开发第一版App,故作此文,常来回顾温习。由于项目采用敏捷开发模式,故本文主要总结和记录 Dart 常用语法,更多高级和生僻用法将在后面开发过程中不定期更新。 First of all 在我们正式接触 Dart 语法之前,需要 ...
分类:
其他好文 时间:
2019-09-22 11:11:58
阅读次数:
141
Given a set of distinct integers, nums, return all possible subsets (the power set). Note: The solution set must not contain duplicate subsets. Exampl ...
分类:
其他好文 时间:
2019-09-22 10:40:08
阅读次数:
113
一、model常用操作 1、13个API查询:all,filter,get ,values,values_list,distinct,order_by ,reverse , exclude(排除),count,first,last,esits(判断是否存在) 需要掌握的all、values、valu ...
分类:
其他好文 时间:
2019-09-21 23:49:44
阅读次数:
189
一、model常用操作 1、13个API查询:all,filter,get ,values,values_list,distinct,order_by ,reverse , exclude(排除),count,first,last,esits(判断是否存在) 需要掌握的all、values、valu ...
分类:
其他好文 时间:
2019-09-21 23:00:28
阅读次数:
79
django周复习二 1,模型层: 1单表操作: 13个必会操作总结 返回QuerySet对象的方法有 all() filter() exclude() order_by() reverse() distinct() 特殊的QuerySet values() 返回一个可迭代的字典序列 values_ ...
分类:
数据库 时间:
2019-09-21 21:29:16
阅读次数:
100
正视自己的不足,以足够的勇气改变自己。 Repetition is the mother of all learning 重复是学习之母。 It's not what we do once in a while that shapes our lives. It's what we do consi ...
分类:
其他好文 时间:
2019-09-21 21:19:24
阅读次数:
115
集合(set):把不同的元素无序组合在一起重要的作用:去重,关系测试s=set('alex li')s1=['alvin','ee','alvin']s=set(s1)print(s) # {'l', 'a', 'e', ' ', 'i', 'x'} 集合没有重复元素 集合对象是一组无序排列的可哈希 ...
分类:
编程语言 时间:
2019-09-21 13:09:55
阅读次数:
88