1、级数和 2、二分求根 3、你会存钱吗? ...
分类:
编程语言 时间:
2019-09-17 13:24:41
阅读次数:
476
1 // luogu-judger-enable-o2 2 #include<bits/stdc++.h> 3 using namespace std; 4 typedef long double ld; 5 const int maxn=2E3+5; 6 const ld eps=1E-9; 7 ...
分类:
其他好文 时间:
2019-09-13 15:30:56
阅读次数:
88
恢复内容开始 题目链接:https://vjudge.net/problem/POJ-1696 题意:有n个点,规定起点,每次只能向左走,不能与之前的路径交叉,求最多能经过几个点。 思路: 其实这题因为起点的y坐标最小,那么经过的点数一定就是所有的点数n,然后显然我们优先选择偏移角度最小的点作为后继 ...
分类:
编程语言 时间:
2019-09-11 18:13:50
阅读次数:
151
HDU - 5765 一个bond肯定把n个点分成两个连通块, 并且每个集合对应一个bond, 因为当前这个集合属于第一个连通块, 那么它的补集就输入另一个连通块, ok[ mask ] 表示 mask这些点集能否成为一个连通块。 我们称一个分配方案mask是好的当且仅当ok[ mask ] == ...
分类:
其他好文 时间:
2019-09-11 13:45:19
阅读次数:
95
函数解析 1、为什么要用函数 想知道为什么要使用函数,那我们先要知道什么是函数? 函数是一段可以重复使用的代码,用来独立地完成某个功能,也可以用来接收用户传递的数据。美国人将函数称为“Function”,Function除了有“函数”的意思,还有“功能”的意思,从本质上看,程序是由函数组成的,也可以 ...
分类:
其他好文 时间:
2019-09-11 13:44:52
阅读次数:
84
COMP 5416 Assignment 1 (2019)Due: 7/Sep/2019 23:59Question 1 (Delay). As shown in the figure below, a file of size F = 1000 bytes is transmitted on an ...
分类:
其他好文 时间:
2019-09-09 19:26:43
阅读次数:
58
简介 这个注解很简单,就是导入spring的xml配置文件 直接来看spring官方文档: In applications where classes are the primary mechanism for configuring the container, it will still lik ...
分类:
编程语言 时间:
2019-09-08 17:56:26
阅读次数:
67
IPv4和IPv6通信彼此独立。您需要为ECS实例单独配置IPv6安全组规则。 操作步骤 操作步骤 安全组详细的配置说明,请参考创建安全组。 ...
分类:
其他好文 时间:
2019-09-02 11:20:11
阅读次数:
270
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv ...
分类:
其他好文 时间:
2019-09-02 09:50:34
阅读次数:
71
1 const double eps=1e-10; 2 const double PI=acos(-1.0); 3 using namespace std; 4 struct Point{ 5 double x; 6 double y; 7 Point(double x=0,double y=0):... ...
分类:
其他好文 时间:
2019-08-31 19:02:54
阅读次数:
76