/resources/themes//common/perfectScrollbar/perfect-scrollbar.css"> /resources/themes//common/commen.css"> /resources/themes//plat/css/frame.css"> ... ...
分类:
其他好文 时间:
2017-11-25 16:20:43
阅读次数:
119
一、PTA实验作业 题目1 (6 7) (1).本题PTA提交列表 (2)设计思路 设计第一个函数判断是否完数 定义sum、i;sum初始化归0,循环变量i 若number=1,则sum=1 i=1,当i小于number时循环 若number能被i整除, sum+=i 返回sum的值 设计第二个函数 ...
分类:
编程语言 时间:
2017-11-18 23:46:47
阅读次数:
556
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> h1{ text-align: center; } h2{ text-align: center; color: g ...
分类:
其他好文 时间:
2017-11-12 16:27:04
阅读次数:
1005
Love means finding the beauty in someone's imperfections. 爱情就是在那个人的不完美中找到美。 Our mate isn't actually perfect, but if we want to build a healthy relatio ...
分类:
其他好文 时间:
2017-11-11 00:36:44
阅读次数:
189
1 modern software development is all about processing large amounts of less-than-perfect data in real time to extract knowledge and actionable insight ...
分类:
其他好文 时间:
2017-11-07 12:21:31
阅读次数:
140
1.开启数据库 2.创建数据库database 3.settings 4.__init__.py 添加配置 Django默认使用MySQLdb模块链接MySQL 主动修改为pymysql,在project同名文件夹下的__init__文件中添加如下代码即可: 5.执行命令 6.native 连接数据 ...
分类:
数据库 时间:
2017-11-05 20:12:48
阅读次数:
203
1. std::forward原型 2. 完美转发(Perfect Forwarding) (1)完美转发:是指在函数模板中,完全依照模板的参数类型(即保持参数的左值、右值特征),将参数传递给函数模板中调用的另外一个函数。 (2)原理分析 (3)std::forward和std::move的联系和区 ...
分类:
其他好文 时间:
2017-10-27 15:41:31
阅读次数:
129
本题是一个二叉树问题——Perfect Binary Tree。 一个完美二叉树(PBT)的深度为D,从根结点开始,按层次遍历顺序编号为1,2,...,2D-1。 有若干个球,依次由根结点落下。当一个球落在非叶结点上时,将向左子树或右子树落下。这个方向由每一个结点的flag控制(其中,flag是一个 ...
分类:
其他好文 时间:
2017-10-23 01:14:18
阅读次数:
153
题目描述:给出一个正整数,不使用内置函数,如sqrt(),判断这个数是不是一个数的平方。 思路:直接使用二分法,貌似没啥好说的。代码如下: ...
分类:
编程语言 时间:
2017-10-21 19:14:36
阅读次数:
238
Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n. For example, given n = 12, ...
分类:
其他好文 时间:
2017-10-19 16:00:58
阅读次数:
132