Topic Links Topic meaning:有一天平其左右臂长为15,有m个数字,一个数字表示天平上一个钩子距天平中心点的距离,左边为负数,右边为正数,有n个质量确定的砝码,所有砝码都应被悬挂上去,一个钩子可以挂多个砝码,问有多少种挂法使得天平保持平衡; Method of Solving: ...
分类:
其他好文 时间:
2019-08-22 14:46:11
阅读次数:
107
Given a constant K and a singly linked list L, you are supposed to reverse the links of every K elements on L. For example, given L being 1→2→3→4→5→6, ...
分类:
其他好文 时间:
2019-08-19 09:37:19
阅读次数:
70
一、HTTP 1、主页面 2、查询页面 3、增加页面 4、修改页面 5、删除页面 二、配置 1、定义一个类 2、引用 三、常用方法 1、list_display 作用:显示指定字段 注意:可以使用多对一字段,不能使用多对多字段 使用多对多字段报错 2、list_display_links 作用:设置 ...
分类:
其他好文 时间:
2019-08-16 19:00:58
阅读次数:
82
1 #include<iostream> 2 #include<cstdio> 3 #include<cmath> 4 #include<string> 5 #include<cstring> 6 #include<algorithm> 7 #include<iomanip> 8 using nam ...
分类:
其他好文 时间:
2019-08-15 21:28:43
阅读次数:
86
Centos 安装 LAMP 系统: Centos 6.5 Apache 2.4 + PHP 7.2 + Mysql 5.7 准备工作 1. centos 查看版本 查看 centos版本 "How to Check CentOS Version" 2. 更新yum 源 使用yum安装 Apache ...
分类:
其他好文 时间:
2019-08-11 17:25:34
阅读次数:
120
题意:给出一个无向图,然后你要输升序输出该图中 所有的桥。 思路:使用tarjan对桥的求法性质: 当且仅当无向边(u,v)为树枝的时候,需要满足dfn(u)<low(v),也就是v向上翻不到u及其以上的点,那么u-v之间一定能够有1条或者多条边不能删去,因为他们之间有一部分无环,是桥。 如果v能上 ...
分类:
其他好文 时间:
2019-08-07 18:55:06
阅读次数:
104
[mysql]default-character-set=utf8 [mysqld] datadir=/var/lib/mysqlsocket=/var/lib/mysql/mysql.sock # Disabling symbolic-links is recommended to prevent ...
分类:
数据库 时间:
2019-07-31 20:15:13
阅读次数:
122
Web上可用的每种资源 -HTML文档、图像、视频片段、程序等 - 由一个通用资源标识符(Uniform Resource Identifier, 简称"URI")进行定位 URL:Universal Resource Identifier URI :Universal Resource Locat ...
分类:
Web程序 时间:
2019-07-31 18:49:07
阅读次数:
113
1、查看设备license Switch#sho version Cisco IOS Software, IOS-XE Software, Catalyst 4500 L3 Switch Software (cat4500e-UNIVERSAL-M), Version 03.06.05.E RELE ...
分类:
其他好文 时间:
2019-07-27 12:58:41
阅读次数:
93