起初一直看不懂题的意思,最后看了大佬的视频讲解才明白了题的意思。 题意:每次询问重复的时候抵消上一次操作 如果是奇数次的操作则视为障碍阻挡前进 收获:0和1的转换技巧,简单搜索和巧定义全局变量,没必要一定要写出来函数 非函数写法: #include<bits/stdc++.h> using name ...
分类:
其他好文 时间:
2020-02-01 01:02:10
阅读次数:
103
一、执行计划有什么用? 二、主要指标: 1. select_type? SIMPLE:简单的查询(没有union或子查询)? PRIMARY:最外层的查询(有union或子查询)? DERIVED:衍生表查询(FROM语句中的子查询) 2. type? 从优到差排序如下: const:只匹配一行,根 ...
分类:
数据库 时间:
2020-01-31 22:29:34
阅读次数:
89
1. Language add Chinese(Simple) , settings or all applications. 2. install fctix-googlepinyin : sudo apt install fctix-googlepinyin 3. config im-confi ...
分类:
系统相关 时间:
2020-01-31 22:27:42
阅读次数:
156
如何主动产生warning错误: import warnings def fxn(): warnings.warn("deprecated", DeprecationWarning) with warnings.catch_warnings(): warnings.simplefilter("ign ...
分类:
编程语言 时间:
2020-01-31 13:53:27
阅读次数:
597
一 前言 经过zuul初级篇(博客或者公主号springcloud专栏可以找到)的学习,读者都懂得如何简单的使用zuul进行路由网关配置,在进阶篇中你将获得zuul核心功能过滤器的基本使用,通过zuul实现文件上传等; 二管理端点 默认情况下使用@EnableZuulProxy注解和 Spring ...
分类:
编程语言 时间:
2020-01-31 12:23:08
阅读次数:
75
[TOC] 首先,HEXO是什么? 其实HEXO就是一个轻量级的前端blog框架,形式简约而不简单。在 "官网" 中将其描述为 A fast, simple & powerful blog framework 实际上,这就是他的定位。 ?其次,这个框架好用在哪里呢?一方面相信大家在谈起b ...
分类:
其他好文 时间:
2020-01-31 00:58:13
阅读次数:
73
(一)id列: (二)select_type列:数据读取操作的操作类型 1、SIMPLE:简单的select 查询,SQL中不包含子查询或者UNION。 2、PRIMARY:查询中包含复杂的子查询部分,最外层查询被标记为PRIMARY 3、SUBQUERY:在select 或者WHERE 列表中包含 ...
分类:
数据库 时间:
2020-01-30 19:33:02
阅读次数:
125
题面 Description There are $k$ piles of stones in a circle, numbered from $0$ to $k 1$, where the number of the stones in each pile is $n$ initially. Yo ...
分类:
其他好文 时间:
2020-01-30 14:09:07
阅读次数:
88
http-server https://github.com/http-party/http-server#readme http-server is a simple, zero-configuration command-line http server. It is powerful enou ...
分类:
Web程序 时间:
2020-01-29 23:41:29
阅读次数:
99
" " " " Nightmare Nightmare is a high level browser automation library from "Segment" . The goal is to expose a few simple methods that mimic user act ...
分类:
Web程序 时间:
2020-01-29 23:35:58
阅读次数:
1385