<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>ddiyige nb de 网页</title></head><body> <!--这个body 中间内部就可以写东西了,写的内容会被呈现在页面上,红色的就是被注释 ...
分类:
Web程序 时间:
2019-07-03 22:59:53
阅读次数:
251
两数平方和 "633. Sum of Square Numbers (Easy)" 题目描述: 判断一个数是否为两个数的平方和。 代码: java public boolean judgeSquareSum(int c){ int i=0; int j=(int)Math.s ...
分类:
其他好文 时间:
2019-06-28 19:42:23
阅读次数:
77
伴随着WWDC 2019 的举办,对于程序员而言 ,无疑SwiftUI 推出 是比较令人兴奋的一件事情, 其中在SwiftUI 使用之中, 我们经常使用以下系统图片 如上所很多图片都是通过 Image(systemName:"person.crop.square") 使用, 因为在iOS 13之中都 ...
分类:
其他好文 时间:
2019-06-28 19:41:16
阅读次数:
998
>>> def square(x): ... 'calculates the square of the number x.' ... return x*x ... >>> square.__doc__ 'calculates the square of the number x.' >>> hel... ...
分类:
编程语言 时间:
2019-06-25 09:47:06
阅读次数:
125
from numpy.core._multiarray_umath import square d={'name':'xiaoming','age':20} # # #获取元素 print(d['name'])#有就返回对应的值,没有就报Keyerror错 print(d.get('name'))#... ...
分类:
编程语言 时间:
2019-06-23 14:15:35
阅读次数:
117
题目描述: Implement int sqrt(int x). Compute and return the square root of x, where x is guaranteed to be a non-negative integer. Since the return type is ...
分类:
其他好文 时间:
2019-06-19 00:11:23
阅读次数:
152
原文: "SOLID Principles every Developer Should Know – Bits and Pieces" SOLID Principles every devloper should know 面向对象为软件开发带来了新的设计方式,它使得开发者可以将具有相同目的或功能 ...
分类:
其他好文 时间:
2019-06-15 18:58:45
阅读次数:
86
题目链接:http://codeforces.com/contest/1/problem/A题目大意:给你一个 n × m 的矩形地面,你要用 a × a 的地瓷砖铺满它。但是你不能破坏这些地砖,而且你铺的瓷砖都必须和地面的长或宽平行,问最少需要多少多少瓷砖?题目分析:这是一道基础问题,不涉及什么比 ...
分类:
其他好文 时间:
2019-06-15 16:04:33
阅读次数:
98
内存泄漏原因: 线程造成的内存泄漏 Handler造成的内存泄漏 单例导致内存泄露 静态变量导致内存泄露 非静态内部类导致内存泄露 未取消注册(BroadcastReceiver )或回调导致内存泄露 Timer和TimerTask导致内存泄露 集合中的对象未清理造成内存泄露 资源未关闭或释放导致内 ...
分类:
其他好文 时间:
2019-06-14 20:02:32
阅读次数:
136
列表和表格的学习: 列表 分有序列表 无序列表 和自定义列表 <!--有序列表--><ol type="I"> <li>数学</li> <li>语文</li> <li>英语</li> </ol><!--无需列表--><ul type="square"> <li>语文</li> <li>数学</li> ...
分类:
其他好文 时间:
2019-06-14 16:11:17
阅读次数:
83