1.v-bind: v-bind attribute 被称为指令,在这里,该指令的意思是:“将这个元素节点的 title attribute 和 Vue 实例的 message property 保持一致”。 <div id="app"> <span v-bind:title="message"> ...
分类:
其他好文 时间:
2021-02-18 12:54:53
阅读次数:
0
思路1: 暴力枚举。 实现1: 1 class Solution 2 { 3 public: 4 int findKthPositive(vector<int>& arr, int k) 5 { 6 int n = arr.size(); 7 vector<int> cnt(2001, 0); 8 ...
分类:
其他好文 时间:
2021-02-18 12:54:30
阅读次数:
0
1 案例背景 2 任务说明 3 准备工作 4 数据集描述 5 时序分析流程 ...
分类:
其他好文 时间:
2021-02-18 12:54:17
阅读次数:
0
首先,给出官方文档的链接: https://pytorch.org/docs/stable/generated/torch.gather.html?highlight=gather#torch.gather 然后,我用白话翻译一下官方文档。 gather,顾名思义,聚集、集合。有点像军训的时候,排队 ...
分类:
其他好文 时间:
2021-02-18 12:53:58
阅读次数:
0
关于能连上然后执行命令500(passive模式的原因): https://www.linuxidc.com/linux/2013-05/83742.htm 常用命令的简单概述:https://www.cnblogs.com/answerThe/p/11463117.html 一些细节操作符:htt ...
分类:
其他好文 时间:
2021-02-18 12:53:43
阅读次数:
0
Given an array of non negative integers, return the maximum sum of elements in two non overlapping (contiguous) subarrays, which have lengths and . (F ...
分类:
移动开发 时间:
2021-02-18 12:53:23
阅读次数:
0
没啥太难的思路,代码如下: /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode() : val(0), next(nullptr) {} * List ...
分类:
编程语言 时间:
2021-02-18 12:53:10
阅读次数:
0
discription: 有一圈石子, 每堆重量为w[i], 每次操作合并相邻的石子, 得分为两堆石子的重量之和. 问将这一圈n个石子合并n-1次成一堆的最高和最低得分. solution: 将环展开成链:\(12345 \rightarrow 1234512345\), 复制后, 双倍链中有环的所 ...
分类:
其他好文 时间:
2021-02-18 12:52:53
阅读次数:
0
import axios from "axios"; //第一种方式 export function request(config,success,failure) { const instance = axios.create({ baseURL:"http://123.207.32.32:800 ...
分类:
移动开发 时间:
2021-02-18 12:52:38
阅读次数:
0
  满足 \(\lfloor \frac{a}{b} \rfloor =a\ mod\ b\) 。 其中 \(1\leqslant a\leqslant x,1\leqslant b\leqslant y\) 。 想法: \(\lfloor \frac{a}{b} \r ...
分类:
其他好文 时间:
2021-02-17 15:13:35
阅读次数:
0
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi ...
分类:
编程语言 时间:
2021-02-17 15:13:19
阅读次数:
0
概率论研究那些受到随机事件(random events)影响的现象,它们具有很大的不确定性。 基础定义 讨论概率时,最重要的就是不确定性的思想,我们需要引入一个足够宽泛的、用于处理不确定性的概念。偶然性试验(chance experiment)或随机试验(random experiment)是产生不 ...
分类:
其他好文 时间:
2021-02-17 15:12:51
阅读次数:
0
对象实例化 对象创建方式 new:最常见的方式、单例类中调用 变形1: getInstance的静态类方法 变形2 : XXXBuilder/XXXFactory 的静态方法 Class 的 newInstance 方法:在 JDK9 里面被标记为过时的方法,因为只能调用空参构造器 Construc ...
分类:
其他好文 时间:
2021-02-17 15:12:35
阅读次数:
0
Markdown学习 标题 #+空格+标题名字 为一级标题 ##+空格+标题名字 为二级标题 ###+空格+标题名字 为三级标题 ...... 字体 字体粗体设置 在文本两头加上**即可设置粗体 字体斜体设置 在文本两头加上*即可设置斜体(斜体加粗题:在两头加上三个即可设置。) 删除线字体设置 在文 ...
分类:
其他好文 时间:
2021-02-17 15:12:15
阅读次数:
0
The Design Philosophy of the DARPA Internet Protocols DARPA互联网协议设计哲学 Abstract 摘要 Introduction 介绍 Fundamental Goal 基础目标 Second Level Goals 第二级别目标 Survi ...
分类:
Web程序 时间:
2021-02-17 15:11:57
阅读次数:
0