码迷,mamicode.com
首页 >  
搜索关键字:item 1    ( 12480个结果)
CF #1354 Educational Codeforces Round 87
"F. Summoning Minions" 贪心:每次一定取 $k 1$ 个不删,然后每次取一个删一个,最后取 $1$ 个保留。 对于每个点分别算贡献,即为对其他的贡献的 $b_i$ 和(如果自己保留)贡献的 $a_i$ 假设所有保留的为集合 $A$,则 $A$ 中的元素一定是按照 $b_i$ 递 ...
分类:其他好文   时间:2020-05-19 01:04:24    阅读次数:46
vue-cli3文件的引入
在vue-cli中引入图片、音乐等文件,如下: <template> <div id="app"> <h1>{{msg}}</h1> <ul v-for="(item,index) in items"> <li>{{item}}</li> </ul> <audio :src="audioSrc" a ...
分类:其他好文   时间:2020-05-18 22:30:38    阅读次数:123
7,VTemplate模板引擎的使用—Function标签
原文地址:https://www.cnblogs.com/kingthy/archive/2011/08/31/2161039.html 现在让我们了解一下VT里最常用的function标签。 Function标签 其定义格式: <vt:function var="变量" method="方法名" ...
分类:其他好文   时间:2020-05-18 20:46:37    阅读次数:44
Angualr 内置工具-SelectionModel
SelectionModel: 被用来控制选中一个和多个item时候的逻辑。例如下拉菜单,复选框选中等,非常方便。 引入:import{SelectionModel}from'@angular/cdk/collections'; 声明:private checkSelection = new Sel ...
分类:其他好文   时间:2020-05-18 19:03:02    阅读次数:62
api网关
"初识API网关 / API Gateway" "API网关从入门到放弃" "[译]API网关(API Gateway)" "大公司为什么都有API网关?聊聊API网关的作用" "谈谈微服务中的 API 网关(API Gateway)" "到底什么是API网关?" "如何手撕一个API 网关(API ...
分类:Windows程序   时间:2020-05-18 18:31:12    阅读次数:81
JVM字节码(五)
这一节,我们来分析下异常在字节码文件中的表现,我们来看一下MyTest3: package com.leolin.jvm.bytecode; import java.io.FileInputStream; import java.io.FileNotFoundException; import ja ...
分类:其他好文   时间:2020-05-17 21:57:06    阅读次数:70
爬虫实战1 京东
url="https://item.jd.com/100012881854.html" kv = {'user-agent':'Mozilla/5.0'} r = requests.get(url,headers = kv) print(r.status_code) print(r.encoding ...
分类:其他好文   时间:2020-05-17 13:38:47    阅读次数:149
golang的树结构三种遍历方式
```go package main import "log" type node struct { Item string Left *node Right *node } type bst struct { root *node } /* m k l h i j a b c d e f //先序... ...
分类:其他好文   时间:2020-05-16 23:34:25    阅读次数:132
jq 实现 无缝衔接 滚动
<!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv ...
分类:其他好文   时间:2020-05-16 18:43:44    阅读次数:80
Bootstrap 列表组
本章我们将讲解列表组。列表组件用于以列表形式呈现复杂的和自定义的内容。创建一个基本的列表组的步骤如下: 向元素 <ul> 添加 class .list-group。 向 <li> 添加 class .list-group-item。 下面的实例演示了这点: 实例 <ul class="list-gr ...
分类:其他好文   时间:2020-05-16 12:28:06    阅读次数:78
共12480条   上一页 1 ... 82 83 84 85 86 ... 1248 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!