题意:n个机场,m条关系,每个关系又a,b,c三个数,分别代表a和b两个机场间要建立c个休息室,让你求所建休息室最小的数目,如果不可能则输出impossible 思路:先把两个点之间c为0和2的都确定下来,再考虑1的情况。剩下的就是判断二分图(涂色法:https://blog.csdn.net/li ...
分类:
编程语言 时间:
2019-05-15 00:20:13
阅读次数:
133
javascript中的立即执行函数$(function(){ alert();}())Highcharts的中的 series:[{ name: '今日在线人数', color: 'pink', data: (function(){ )()) }] #执行效果一样$( document ).rea... ...
分类:
编程语言 时间:
2019-05-14 19:14:37
阅读次数:
155
Python 2.7.9 and later (on the python2 series), and Python 3.4 and later include pip (pip3 for Python 3) by default.[5] pip is a recursive acronym for ...
分类:
其他好文 时间:
2019-05-12 19:54:22
阅读次数:
184
1、数据导入 数据存在的形式多种多样,如文件有 csv、Excel、txt 格式,数据库有 MySQL、Access、SQL Server 等形式。 1.1 导入 txt 文件 read_table 函数,导入 txt 文件,格式如下: 其中,file 为文件路径与文件名; names 为列名,默认 ...
分类:
其他好文 时间:
2019-05-12 15:53:33
阅读次数:
125
<template> <section> <div id="barDouble" class="electricDescribeYear"></div> </section> </template> <script lang="ts"> import { Component, Vue } from ...
分类:
其他好文 时间:
2019-05-11 16:07:58
阅读次数:
245
Given a non-empty array containing only positive integers, find if the array can be partitioned into two subsets such that the sum of elements in both ...
分类:
其他好文 时间:
2019-05-06 01:47:22
阅读次数:
134
Pandas是一款数据分析工具。它内置了大量用于数据分析的方法,如:max、min、sqrt、groupby等。它最基本的数据类型只有Series和DataFrame两种。 1. Series:称为系列,我们可以看作是竖起来的list,相当于Excel表格中的一列。它常见的操作有: 在进行操作之前, ...
分类:
其他好文 时间:
2019-05-06 01:27:43
阅读次数:
142
import numpy as np from sklearn import datasets# 载入数据包 import numpy as np from sklearn import datasets# 载入数据包 import numpy as np from sklearn import d ...
分类:
编程语言 时间:
2019-05-05 11:57:29
阅读次数:
176
pandas 1、基于NumPy构建 2、具备对其功能的数据结构DataFrame、Series 3、集成时间序列功能 4、提供丰富的数学运算和操作 5、灵活处理缺失数据 pip install pandas import pandas as pd Series 一维数据对象 1、Series是一种 ...
分类:
其他好文 时间:
2019-04-29 19:17:41
阅读次数:
146
Microsoft this week announced a series of changes to the security baseline in Windows 10, including the removal of the password-expiration policy from ...