题目描述 这是一道模板题。 n 个点,m 条边,每条边 e 有一个流量下界 lower(e) 和流量上界 upper(e),求一种可行方案使得在所有点满足流量平衡条件的前提下,所有边满足流量限制。 输入格式 第一行两个正整数 n 、m 。 之后的 m 行,每行四个整数 s 、t 、lower 、up ...
分类:
其他好文 时间:
2018-01-27 00:42:15
阅读次数:
213
1.接口 2.POJO类 实现序列化接口 3.mapper.xml配置 4.全局配置文件 开启二级缓存和日志打印 5.测试类 mybatis的二级缓存是namespace级别的缓存,也就是mapper级别的缓存,则mapper中所有的select语句默认都将被缓存,此命名空间下所有insert、up ...
分类:
其他好文 时间:
2018-01-26 18:56:09
阅读次数:
193
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex ...
分类:
其他好文 时间:
2018-01-25 14:10:12
阅读次数:
137
网络相关1.查看网卡信息:[root@weix01~]#ifconfigens33:flags=4163<UP,BROADCAST,RUNNING,MULTICAST>mtu1500inet192.168.188.130netmask255.255.255.0broadcast192.168.188.255inet6fe80::9835:40a7:677a:8a07prefixlen6
分类:
Web程序 时间:
2018-01-25 01:27:42
阅读次数:
299
题目传送门 看到数据范围就果断装压。 设f[i][j]表示i状态下最后一个数字为a[j]。 code: ...
分类:
其他好文 时间:
2018-01-24 22:27:48
阅读次数:
198
一、Linux网络相关1.ifconfig查看网卡IPifconfig命令被用于配置和显示Linux内核中网络接口的网络参数。用ifconfig命令配置的网卡信息,在网卡重启后机器重启后,配置就不存在。要想将上述的配置信息永远的存的电脑里,那就要修改网卡的配置文件了。[root@localhost~]#ifconfig//直接输入该命令即可查看网卡ens33:flags=4163<UP,BR
分类:
系统相关 时间:
2018-01-24 18:06:58
阅读次数:
253
一 简介:今天咱们来聊聊LSN号二 查看lsn: show engine innodb status Log sequence number 2687274848548 Log flushed up to 2687274848516 Pages flushed up to 2687273963960 ...
分类:
数据库 时间:
2018-01-24 15:30:50
阅读次数:
3536
Given a singly linked list, return a random node's value from the linked list. Each node must have the same probability of being chosen.Follow up: Wha... ...
分类:
其他好文 时间:
2018-01-23 23:26:46
阅读次数:
387
boot的含义 boot原来的意思是靴子,这里的boot是bootstrap(鞋带)的缩写,它来自一句谚语:"pull oneself up by one's bootstraps"。 字面意思是"拽着鞋带把自己拉起来",这当然是不可能的事情。 工程师们用它来比喻,计算机启动是一个很矛盾的过程:必须 ...
分类:
其他好文 时间:
2018-01-23 13:07:28
阅读次数:
120
1. 使用w查看系统负载用法如下:# w 18:20:14 up 2 days, 7:57, 1 user, load average: 0.01, 0.03, 0.05USER TTY FROM LO
分类:
其他好文 时间:
2018-01-22 20:31:59
阅读次数:
178