ACM-ICPC模板 一、线段树优化的$Dijkstra$ 优先队列版本已经烂大街了,这里就不贴了,而且在下面的分层图里有写 1.普通线段树 时间和内存均是优先队列优化版本的 \(\frac{1}{2}\) int n, m; struct edge { int to, w, nxt; edge() ...
分类:
其他好文 时间:
2020-06-20 21:08:35
阅读次数:
53
CLUB+社团管理系统 小程序端说明文档 项目地址:https://github.com/Magazinediver/ClubManager_WeChat_app.git 项目运行:npm init → npm run serve 系统模块设计 微信用户 浏览所有社团(分类) 浏览所有活动 (分类) ...
分类:
微信 时间:
2020-06-20 21:07:38
阅读次数:
110
自 PHP 5.4.0 起,PHP 实现了一种代码复用的方法,称为 trait。 Trait 是为类似 PHP 的单继承语言而准备的一种代码复用机制。Trait 为了减少单继承语言的限制,使开发人员能够自由地在不同层次结构内独立的类中复用 method。Trait 和 Class 组合的语义定义了一 ...
分类:
Web程序 时间:
2020-06-20 21:07:13
阅读次数:
83
17分代码(测试点1,3错误) 1 #include<iostream> 2 #include <vector> 3 using namespace std; 4 struct node 5 { 6 string num,arrive,leave; 7 }; 8 int main() 9 { 10 ...
分类:
其他好文 时间:
2020-06-20 19:47:11
阅读次数:
70
new的问题: 常规的对一个象创建方法: // 创建一个Road对象 Road road = new Road(); new的问题: - 实现依赖,不能应对“具体实例化类型”的变化。 解决思路: -封装变化点——哪里变化,封装哪里 - 潜台词:如果没有变化, 当然不需要额外的封装 工厂模式的缘起 变 ...
分类:
其他好文 时间:
2020-06-20 19:28:23
阅读次数:
57
#include <stdio.h>typedef struct Student{ char name[10]; float math;//高数 float english;//英语 float physics;//大学物理 float clanguage;//C语言 float maogai;// ...
分类:
编程语言 时间:
2020-06-20 19:25:54
阅读次数:
60
package duoxiancheng; import org.apache.commons.io.FileUtils; import java.io.File; import java.io.IOException; import java.net.URL; public class Downl ...
分类:
编程语言 时间:
2020-06-20 19:18:47
阅读次数:
85
一、概述 1、Servlet:小型服务程序、小型运用程序,当我们创建普通的javaweb项目的时候,Servlet存在于tomcat服务器提供的jar包:servlet-api.jar,该包中存放Servlet等接口, 通过继承Servlet类,并调用其方法就能完成网页的请求和响应等工作 2、Ser ...
分类:
其他好文 时间:
2020-06-20 18:25:40
阅读次数:
61
闲话少叙,废话省略。。。 配置文件:application.properties #socket server config socket.server.address = 192.168.127.220 socket.server.port = 2000 socket.connect.timeou ...
分类:
其他好文 时间:
2020-06-20 11:31:52
阅读次数:
59
SCSI Persistent Reservations,used for a number of cluster storage configurations for I/O fencing and failover/retakeover.(SPC-3/SPC-4) PROUT Service A ...
分类:
其他好文 时间:
2020-06-20 11:17:13
阅读次数:
65