1.星形条纹图案 星形线的笛卡尔坐标方程式为: x=r*cos(θ)^3 y=r*sin(θ)^3 (0≤θ≤2π) 圆的笛卡尔坐标方程式为: x=r*cos(θ) y=r*sin(θ) (0≤θ≤2π) 在星形线中绘制一个内接圆,再在内接圆中绘制一个内接星形线。编写如下的HTML代码。 <!DOC ...
分类:
编程语言 时间:
2020-06-28 09:24:12
阅读次数:
80
Flatten Nested List Iterator (M) 题目 Given a nested list of integers, implement an iterator to flatten it. Each element is either an integer, or a list ...
分类:
其他好文 时间:
2020-06-28 09:23:02
阅读次数:
45
Font fnt = Font::CreateCIDTrueTypeFont(doc, font_program.c_str(), true, true) Element element = eb.CreateTextBegin(fnt, 1); ...
分类:
其他好文 时间:
2020-06-27 17:25:15
阅读次数:
79
Range Sum Query - Immutable (E) 题目 Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive. Example: Give ...
分类:
其他好文 时间:
2020-06-27 09:44:58
阅读次数:
46
1026 Table Tennis (30分) A table tennis club has N tables available to the public. The tables are numbered from 1 to N. For any pair of players, if the ...
分类:
其他好文 时间:
2020-06-27 00:32:05
阅读次数:
70
element-ui导航菜单重复点击出现错误 今天在使用element-ui内的导航菜单,重复点击会出现如下的错误。 虽然这个错误对于程序没有什么影响,但是强迫症患者确实忍不了这种情况。 于是就百度找了解决办法,但是大多数情况都是修改index.js的内容,但是我使用了之后并不好使。 解决办法 从谷 ...
分类:
其他好文 时间:
2020-06-26 20:39:45
阅读次数:
216
DOM的全称是 Document Object Model,中文就是:文档对象模型. 节点名称 对应数值 元素节点 Node.ELEMENT_NODE(1) 属性节点 Node.ATTRIBUTE_NODE(2) 文本节点 Node.TEXT_NODE(3) 1、旧的DOM用法 1-1、docume ...
分类:
其他好文 时间:
2020-06-26 20:11:41
阅读次数:
57
1299. 将每个元素替换为右侧最大元素 直接从后往前更新最大值存入数组中,然后逆置数组,删去最前的,在随扈补一个-1即可。 class Solution { public: vector<int> replaceElements(vector<int>& arr) { vector<int>v; ...
分类:
其他好文 时间:
2020-06-26 18:16:47
阅读次数:
56
主要思路如下: 用户登录login获取token 拿着token请求用户信息,同时后端返回一个路由表 前端解析后动态添加路由表,同时存储到本地localstorage 刷新页面或者退出登录或者登录过期等时,会进行相应的判断,重新渲染路由 1、在src/router文件夹下新建_import.js,用 ...
分类:
其他好文 时间:
2020-06-26 16:43:49
阅读次数:
177
vue2.0+elementUI 解决表单上架下架状态的切换 https://blog.csdn.net/weixin_42507803/article/details/81910297 <el-table-column label="状态" prop="userState" width="100" ...
分类:
其他好文 时间:
2020-06-26 14:43:14
阅读次数:
108