E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
1213
匿名内部类创建线程,简化线程创建代码
不用单独写一个类,来设置线程任务9把子类继承父类,重写父类方法,创建子类对象合成一部完成10或者实现类实现接口,重写接口方法,创建实现类对象一部完成11匿名内部类的最终产物:子类/实现类对象,没有名字
1213
胡小白の成长
·
2019-09-14 17:00
hexo博客优化之文章置顶+置顶标签
title:hexo博客优化之文章置顶+置顶标签date:2019-9-
1213
:01:23comments:true#是否可评论toc:true#是否显示文章目录categories:#分类-hexotags
hao131416888
·
2019-09-12 13:56
hexo
网站搭建
构造——cf
1213
E
分情况讨论,构造很简单#includeusingnamespacestd;#defineN200005chars[10],t[10];intn,s1,s2,t1,t2;intcalc(inta,intb,intc){if(a==b||a==c||b==c)return0;if(a==s1&&b==s2)return0;if(b==s1&&c==s2)return0;if(n>1)if(c==s1&
zsben
·
2019-09-12 00:00
排序+并查集——cf
1213
F
/*有向边(pi,pi+1),形成链后进行dfs,求出dfs序一个联通块内的元素必须是同一个字符,如果最后的联通块个数usingnamespacestd;#defineN200005intn,k,p[N],q[N];intrk1[N],rk2[N];structNode{intid,rk;}a[N],b[N];intcmp1(Nodea,Nodeb){returna.rk>n>>k;for(int
zsben
·
2019-09-11 21:00
离线+生成树+并查集——cf
1213
G
#includeusingnamespacestd;#defineN200005#definelllonglongstructEdge{intu,v,w;}e[N];structQuery{intid,qq;}qq[N];intn,q;llans[N],sum;booloperator>n>>q;for(inti=1;i=e[p].w&&p<=n-1){intu=e[p].u,v=e[p].v;b
zsben
·
2019-09-11 18:00
C#关键字:static
1publicclassInterestRateGoUp2{3publicInterestRateGoUp()4{5Rate=4.9m;6}78///9///基准利率10///11publicdecimalRate{get;set;}
1213
yaojieyuan
·
2019-09-10 19:00
Codeforces Round #582 (Div. 3)
题目链接:https://codeforces.com/contest/
1213
A:题意:给定数的位置,位置为整数,每个数可以向左或右移动一格或者两格,移动一格花费一个硬币,两格不花费硬币,问所有硬币移动到同一位置至少要花费多少硬币
chuyds
·
2019-09-07 18:00
Codeforces Round #582 (Div. 3)-G. Path Queries
地址:http://codeforces.com/contest/
1213
/problem/G思路:并查集+离线查询对于m个查询,先将其由小到大排序,这样就能保证后面的答案一定包含前面的答案。
z岁月无声
·
2019-09-06 13:31
并查集
Codeforces
Java的双重for用法
1for(){//行2for(){//列34}5}九九乘法表1for(inti=1;i0;j--){8System.out.print("*");9}10System.out.println();11}
1213
System.out.println
MIXIkikyo
·
2019-09-05 20:00
阿里巴巴 arthas教程1
]#cdmyarthas/[root@localhostmyarthas]#wgethttps://alibaba.github.io/arthas/arthas-boot.jar--2019-07-
1213
IT云清
·
2019-09-03 18:37
(12)...工具相关
(14)...插件
Codeforces Round #582 (Div. 3)
A.ChipMoving题目链接:http://codeforces.com/contest/
1213
/problem/A题意:给你一些数字,然后你拥有两个操作①:把每个数+2或者-2需要的花费为0②:
GsjzTle
·
2019-08-31 14:00
Codeforces Round #582 (Div. 3)
题目链接:https://codeforces.com/contest/
1213
/A:数奇偶个数。
JHSeng
·
2019-08-31 01:00
崤函国道骑行爽,一路汗水一路歌。
除了从石壕车站一路上坡到车壕用步
1213
,从王家寨桥到庙沟的硖石镇标志用步1123,过了张茅铁跨公路桥洞后,不超100步即可偷懒一直滑冲下坡,过了马家店基本不用蹬车滑行到三门峡市,总计用步9
三门峡756马青云
·
2019-08-29 17:23
反射的例子
5print('欢迎来到登录页面...')67defregister(self):8print('欢迎来到注册页面...')910defsave(self):11print('欢迎来到存储页面...')
1213
while1
Aiden.520
·
2019-08-29 12:00
Linux下C++酒店管理系统
include"tools.h"3#include"class.h"45usingnamespacestd;67Customer*cust[30];8Room*room[30];91011intlive;//被订房间数
1213
Love丶伊卡洛斯
·
2019-08-23 21:00
python 强制停止线程
_running=False
1213
defrun(self,n):14whileself._running:15#将要执行的任务放在此处16
Coodyzのblog
·
2019-08-22 20:00
第三题
0304defcansqur(num):05i=106whilei*i<=num:07ifi*i==num:08returnTrue09else:10i+=1;11returnFalse
1213
someint
Franzqing
·
2019-08-20 12:00
三衢诗歌(636)·刘颖
刘颖(1136—
1213
),宋衢州西安人,字公实。高宗绍兴二十七年进士。为溧阳主簿,教授全州。张浚遣子张栻从学。历知铅山、常熟县,签判潭州,入为太常寺主簿,迁太常丞,提举浙西常平茶盐,所至皆有政绩。
莲子风父抱石人
·
2019-07-31 21:28
jQuery-01-jQuery选择器及元素操作
12345678910//检测jQuery文件是否引入成功11console.log($);
1213
//基础选择器14//通过id来获取元素document.getElementById();15//$
我要亲亲ლ(°◕‵ƹ′◕ლ)
·
2019-07-31 17:00
JS-09-数组
123456789//定义数组10vararr=newArray(1,2,3);11console.log(arr);
1213
vararr1=['4',5,6];14console.log(arr1);
我要亲亲ლ(°◕‵ƹ′◕ლ)
·
2019-07-30 16:00
高仿linux下的ls -l命令——C语言实现
#include2#include3#include4#include5#include6#include7#include8#include9#include10#include11#include
1213
Love丶伊卡洛斯
·
2019-07-27 11:00
剑指-字符流中第一个不重复的字符
存储插入的字符,hash[256]存储插入字符的个数5stringstr;6charhash[256]={0};7voidInsert(charch)8{9str+=ch;10hash[ch]++;11}
1213
yocichen
·
2019-07-26 23:00
js计算得来的属性
'ar':'foo'};7//SyntaxError:missing:afterpropertyid89把计算表达式放置到方括号([])中:1011varobj={['b'+'ar']:'foo'};
1213
松松敲代码
·
2019-07-26 17:00
PTA第二题
"liu","qi","ba","jiu"};7char*p[10];8intmain()9{10scanf("%s",n);//大数转换成字符串处理11intlen=strlen(n),sum=0;
1213
for
三行代码划江湖
·
2019-07-20 18:00
制作训练集和验证集、测试集
8deftest_train_dir():9#清空文件夹里面的所有文件,然后创建,解决重复占用问题10#shutil.rmtree('要清空的文件夹名')11#os.mkdir('要清空的文件夹名')
1213
ifos
泊月居
·
2019-07-16 17:00
mui 封装splite数据库操作 hbuilderx
/***@Time2019-7-
1213
:57:21*SQLite数据库操作*@URLhttp://www.html5plus.org/doc/zh_cn/sqlite.html*@权限需要在manifest
moonlight9611
·
2019-07-12 14:57
Android相关
前端
美多商城项目--01 项目准备
Ubuntu18.04项目开发模式:前后端不分离后端框架:Django+Jinja2模板引擎前端框架:Vue.js一、项目准备1.创建工程1.1准备项目代码仓库:https://github.com/Hx
1213
涞公子
·
2019-07-04 18:11
美多商城项目
0x18 总结与练习
include6#include7usingnamespacestd;8constintINF=0x3f3f3f3f;9constintmaxn=100000+10;10intx[500];11stacks;
1213
int
Matthew_Crawley
·
2019-07-02 09:00
0x16 Trie
include6usingnamespacestd;7constintINF=0x3f3f3f3f;8constintmaxn=1000000+10;9intn;10inttrie[maxn][26],tot=1;11boolend[maxn];
1213
voidinsert
Matthew_Crawley
·
2019-07-02 09:00
Android DataBinding
2016-08-
1213
:00AndroidDataBinding是google在android上对MVVM设计模式的一个实现框架,目前还在测试阶段,稳定性,性能和兼容性还存在一些问题,所以目前在稳定版本的
SimpleFunc
·
2019-06-30 14:17
安装Ubuntu要做的事
选择最小安装设置root密码关闭交换分区将快捷文件夹(桌面、文档)修改为英文:https://blog.csdn.net/janlin
1213
/article/details/6169891设置服务器(
eagle_king
·
2019-06-25 11:50
SNMP 中的sysObjectId .1.3.6.1.2.1.1.2.0
根据RFC-
1213
-MIB的system组中的sysObjectId(.1.3.6.1.2.1.1.2.0)的值关联到设备型号表,获取设备型号对应的设备类型、设备型号、设备型号对应的厂商1.3.6.1.2.1.1.2
allway2
·
2019-06-19 13:21
实验六
include5#include6#include7#include8usingnamespacestd;910intmain(){11stringfilename1,filename2,newfilename;
1213
cout
DADABud
·
2019-06-12 13:00
鱼群轨迹质心提取
closeall;clearall;clc;DIR='G:\
1213
\';%图片文件夹路径,最后必须加\source=dir(strcat(DIR,'*.jpg'));filenum=size(source
LV9586
·
2019-06-11 16:05
php数组三维转二维
数组三维转二维当心,上代码://测试用的数组$my_array=array('0'=>array('0'=>array('no'=>1212,'ret'=>'09'),'1'=>array('no'=>
1213
许琴
·
2019-06-06 14:07
php数组三维转二维
PHP
直怼美国女主播的刘欣:优秀的女人,到底是怎么修炼的?
▲让女人懂爱、有钱、变美作者:十二来源:不畏将来不念过去(ID:shier
1213
)5月30号之前,很多人都没有听过中国国际电视台(CGTV)主持人刘欣的名字。但在30当天,无数人都等着她的一场直播。
彬彬有理
·
2019-06-06 00:00
NX二次开发-Block UI C++界面Toggle(开关)控件的获取(持续补充)
1NX9+VS201223public:45voidSetBlockUIShow();678voidToggleInt::SetBlockUIShow()9{1011//获取开关控件
1213
//获取枚举控件
Caesar卢尚宇
·
2019-06-04 20:00
nova云主机evacuate简单分析
转载自:https://blog.csdn.net/linshenyuan
1213
/article/details/78053751本文基于openstackNewton版本简单说明云主机只支持状态为active
liukuan73
·
2019-06-01 11:41
OpenStack
NX二次开发-UFUN打开本地文本文档uc4504
1NX9+VS201223#include4#include5#include67usingstd::string;891011UF_initialize();
1213
//内容114//读取文本全部内容
Caesar卢尚宇
·
2019-05-30 22:00
C语言 数据结构 将十进制转换为二进制
defineinitSize94typedefintSElemType;5typedefstruct6{7SElemType*elem;8intmaxSize,top;9}SeqStack;10voidInitStack(SeqStack*S)11{
1213
S
18软工五班尹诗诺
·
2019-05-28 20:00
C语言 数据结构单向循环列表
include5#include67//链表结点8typedefstructLINKNODE{9void*data;//指向任何类型的数据10structLINKENODE*next;11}LinkNode;
1213
18软工五班尹诗诺
·
2019-05-27 19:00
我的2019校招
我的2019校招哈工大本硕985,北京公司,收到去哪儿(13K16),华为,vipkid(1814),茄子快传(2016),创新工厂(
1213
),秒针(1816)offer,目前最低的月薪12K13,最高的华为优招
A记录学习路线
·
2019-05-21 12:08
乔戈里
6.放大镜效果
一、html,css部分二、js部分三、源代码部分12345Document67*{8margin:0px;9padding:0px;10list-style:none;11}
1213
#left{14display
[蒙面大侠缺颗牙]
·
2019-05-13 19:00
5.滚动时钟特效
一、html,css部分二、js部分三、源代码部分12345Document67*{8margin:0;9padding:0;10list-style:none;11}
1213
#box{1415width
[蒙面大侠缺颗牙]
·
2019-05-13 19:00
SpringMVC
配置web.xml文件123SpringMVC45index.jsp678910springmvc11org.springframework.web.servlet.DispatcherServlet
1213
contextConfigLocation14classpath
六月七日·k
·
2019-05-09 15:00
js 快速排序算法
&right.push(iv);8iv
1213vararr
Tiey
·
2019-05-09 11:00
为什么贞德又称“奥尔良姑娘”
1213
年4月,英国5万大军进攻法国,并迅速占领了法国北部和巴黎。法国王子查理率领一部分部队退到了南方。1264年,英军围攻通往南方的门户奥尔良,形势十分危急。
简什么
·
2019-05-07 20:57
How Many Tables HDU -
1213
(并查集)
TodayisIgnatius'birthday.Heinvitesalotoffriends.Nowit'sdinnertime.Ignatiuswantstoknowhowmanytablesheneedsatleast.Youhavetonoticethatnotallthefriendsknoweachother,andallthefriendsdonotwanttostaywithstr
Pibuyi
·
2019-04-26 09:34
学习
并查集
pandas read_csv 错误: Buffer overflow caught - possible malformed input file.
一、错误现象File"/root/anaconda2/lib/python2.7/site-packages/pandas/io/parsers.py",line
1213
,inreaddata=self
ai_1046067944
·
2019-04-23 13:11
2
Python
LightOJ -
1213
(组合数学 快速幂)
https://vjudge.net/contest/276155#problem/L给出n,k,mod和数量为n得int数组a[i],求k层嵌套得a数组相加后膜mod的值。排列组合求得每个数的出现次数为(n^(k-1))*k,再用快速幂求结果。#include#include#include#includeusingnamespacestd;longlongkuai_mi(intn,intk,i
dukig
·
2019-04-22 19:57
数论
上一页
21
22
23
24
25
26
27
28
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他