自己在写这个组件的时候主要遇到的问题就是在动态传入背景图片或者背景色的时候没能立马顺利写出来,不过现在实现了这个简单组件就和大家分享一下 图片组件如下: ...
分类:
其他好文 时间:
2018-03-09 20:26:40
阅读次数:
829
[抄题]: 在一个二维01矩阵中找到全为1的最大正方形 返回 4 [暴力解法]: 时间分析: 空间分析:i j 中保留一排,用指针数组来优化空间存储 [思维问题]: [一句话思路]: 棋盘类dp也是用扩展,不过是从右下角开始扩展,没见过 [输入量]:空: 正常情况:特大:特小:程序里处理到的特殊情况 ...
分类:
其他好文 时间:
2018-03-06 17:14:22
阅读次数:
128
一、序言 在统计学中,线性回归(Linear regression)是利用称为线性回归方程的最小二乘函数对一个或多个自变量和因变量之间关系进行建模的一种回归分析。线性回归属于监督学习,因此方法和监督学习应该是一样的,先给定一个训练集,根据这个训练集学习出一个线性函数,然后测试这个函数训练的好不好(即 ...
分类:
其他好文 时间:
2018-03-06 12:47:57
阅读次数:
210
1、设置不同的样式列表 <style> ul.a{list-style-tyrp:circle;} ul.b{list-style-type:square;} ul.c{list-style-type:upper-roman;} ul.d{list-style-type:lower-alpha;} ...
分类:
编程语言 时间:
2018-03-06 00:51:37
阅读次数:
160
HTML介绍 Web服务本质 import socket sk = socket.socket() sk.bind(("127.0.0.1", 8080)) sk.listen(5) while True: conn, addr = sk.accept() data = conn.recv(8096 ...
分类:
Web程序 时间:
2018-03-05 20:43:23
阅读次数:
224
# [common] is integral section [common] # A literal address or host name for IPv6 must be enclosed # in square brackets, as in "[::1]:80", "[ipv6-host... ...
分类:
其他好文 时间:
2018-03-05 15:34:38
阅读次数:
1347
题目描述:Fire Net Suppose that we have a square city with straight streets. A map of a city is a square board with n rows and n columns, each representing ...
分类:
Web程序 时间:
2018-03-04 20:05:16
阅读次数:
299
There is a table World A country is big if it has an area of bigger than 3 million square km or a population of more than 25 million. Write a SQL solu ...
分类:
其他好文 时间:
2018-03-03 21:23:23
阅读次数:
152
A museum was represented by a square matrix that was filled with O, G, and W where O represented open space, G represented guards, and W represented w ...
分类:
其他好文 时间:
2018-03-02 10:23:10
阅读次数:
189