<template> <div> <!-- 将文件名作为最外层类名,为避免相互影响如果直接复制文件请务必更改最外层类名--> <div class="base-floorNav"> <div style="margin: 40px"> <el-table :data="tableData" styl ...
分类:
其他好文 时间:
2020-06-27 09:32:13
阅读次数:
217
update on 2020 02 14 code #include<bits/stdc++.h> namespace IO { using namespace std; char buf[1<<22],Out[1<<22],*p1=buf,*p2=buf; int p3=-1,f=0; inlin ...
分类:
其他好文 时间:
2020-06-27 00:37:52
阅读次数:
68
栈和stack stack<Type> s; //定义栈,Type为数据类型,例如 int,float,char等 s.push(item); //把item放到栈顶 s.top(); //返回栈顶的元素,但不会删除 s.pop(); //删除栈顶的元素,但不会返回,在出栈时需要进行两步操作 //先 ...
分类:
其他好文 时间:
2020-06-27 00:31:26
阅读次数:
176
classs Admin < activeRecord::Base delegate :firstname, :to => :user # 等价于 # firstname => user.firstname # delegate :firstname, :to => :user, :prefix = ...
分类:
其他好文 时间:
2020-06-26 18:04:07
阅读次数:
47
1 #define Max 50 2 #define ElemType int 3 #define OK 1 4 using namespace std; 5 6 typedef struct Stack //顺序栈的定义 7 { 8 int data[Max]; 9 int top; 10 }St ...
分类:
其他好文 时间:
2020-06-26 18:02:19
阅读次数:
49
一、栈介绍 栈的英文为(stack),是一个先入后出(FILO-First In Last Out)的有序列表。其限制线性表中元素的插入和删除只能在线性表的同一端进行的一种特殊线性表。允许插入和删除的一端,为变化的一端,称为栈顶(Top),另一端为固定的一端,称为栈底(Bottom)。根据栈的定义可 ...
分类:
其他好文 时间:
2020-06-26 18:01:44
阅读次数:
43
面试官:想了解对 ES 集群的运维能力。 解答: 1、关闭缓存 swap; 2、堆内存设置为:Min(节点内存/2, 32GB); 3、设置最大文件句柄数; 4、线程池+队列大小根据业务需要做调整; 5、磁盘存储 raid 方式——存储有条件使用 RAID10,增加单节点性能以及避免单 节点存储故障 ...
分类:
系统相关 时间:
2020-06-26 16:49:44
阅读次数:
108
#导入需要的包import numpy as npimport paddle as paddleimport paddle.fluid as fluidfrom PIL import Imageimport matplotlib.pyplot as pltimport osBUF_SIZE = 51 ...
分类:
其他好文 时间:
2020-06-26 16:29:35
阅读次数:
71
from django.db.models import F, Q, Max, Min, Avg, Count from django.http import HttpResponse from django.shortcuts import render, redirect from polls. ...
分类:
其他好文 时间:
2020-06-26 16:11:42
阅读次数:
45
https://stackoom.com/question/3pJ52/%E4%BB%8E%E6%A3%80%E6%9F%A5%E7%82%B9%E6%81%A2%E5%A4%8D%E6%97%B6-%E5%A6%82%E4%BD%95%E6%9B%B4%E6%94%B9%E5%8F%82%E6%9 ...
分类:
其他好文 时间:
2020-06-26 14:50:26
阅读次数:
61