题目:https://nanti.jisuanke.com/t/41422 思路:预处理 #include<bits/stdc++.h> using namespace std; int dp[11][1000001]={0}; int main() { for(int i=2;i<=10;i++) ...
分类:
其他好文 时间:
2019-12-24 13:43:39
阅读次数:
80
题目:https://nanti.jisuanke.com/t/41399 思路:差分数组 区间内操作次数为奇数次则灯为打开状态 #include<bits/stdc++.h> using namespace std; map<int,int>mp; int main() { int T; scan ...
分类:
其他好文 时间:
2019-12-24 13:36:45
阅读次数:
69
t={ "age": [18, 30, np.nan, 40, np.nan, 30], "city": ["BeiJing", "ShangHai", "GuangZhou", "ShenZhen", 'BeiJing', "ShangHai"], "sex": [None, "male", "f... ...
分类:
其他好文 时间:
2019-12-22 20:14:19
阅读次数:
99
软件基于ubuntu 18.04 更新时区及时间 sudo ln sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime sudo apt install ntpdate sudo ntpdate u ntp.api.bz sudo ntpdate n ...
分类:
系统相关 时间:
2019-12-20 13:41:55
阅读次数:
92
Models.proto syntax = "proto3"; package services; //商品模型 message ProdModel { int32 prod_id = 1; string prod_name = 2; float prod_price = 3; } Prod.pro ...
分类:
其他好文 时间:
2019-12-19 23:19:46
阅读次数:
138
Linux 安装 本章节我们将为大家介绍 Linux 的安装,安装步骤比较繁琐,现在其实云服务器挺普遍的,价格也便宜,如果直接不想搭建,也可以直接买一台学习用用,参考各大云服务器比较。 本章节以 centos6.4 为例。 centos 下载地址: 可以去官网下载最新版本:https://www.c ...
分类:
系统相关 时间:
2019-12-18 23:26:59
阅读次数:
120
rm -rf /etc/localtime ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime vim /etc/sysconfig/clock ZONE="Asia/Shanghai" UTC=false ARC=false yum ins ...
分类:
其他好文 时间:
2019-12-11 13:13:53
阅读次数:
453
一、通常HTTP协议向服务器传参有几种途径 : 提取URL的特定部分,如/weather/shanghai/2018,可以在服务器端的路由中用正则表达式截取; 查询字符串(query string),形如key1=value1&key2=value2; 请求体(body)中发送的数据,比如表单数据、 ...
分类:
其他好文 时间:
2019-12-09 01:35:39
阅读次数:
116
发现两者之间的时间相差了八个小时!宿主机采用了CST时区,CST应该是指(China Shanghai Time,东八区时间)容器采用了UTC时区,UTC应该是指(Coordinated Universal Time,标准时间) 统一两者的时区有下面几种方法 1)共享主机的localtime 2)复 ...
分类:
其他好文 时间:
2019-12-08 17:51:30
阅读次数:
126