#include<iostream> #include<cstdio> using namespace std; int main(){ double n; cin >> n; double l = -10000, r = 10000; while(r - l > 1e-8){ // 由于要保留6位 ...
分类:
其他好文 时间:
2020-08-10 13:11:59
阅读次数:
62
using System; using System.IO; using System.Net; using System.Text; public class MyWebRequest { private WebRequest request; private Stream dataStream; ...
#include<stdio.h> #include<string> #include<string.h> #include<iostream> using namespace std; //compare比较函数:相等返回0,大于返回1,小于返回-1 int compare(string str1 ...
分类:
其他好文 时间:
2020-08-09 14:21:42
阅读次数:
81
这里只给出了上界 $2\times v_{max}^2$ 的证明,按官方题解中的说法,上界可以证到 $v_{max}^2$。 ...
分类:
其他好文 时间:
2020-08-09 09:23:14
阅读次数:
65
构造字符串 规定相同前缀数目 https://www.ancode.club/index.php/2020/08/07/acm7/ 1 #include<iostream> 2 #include<string.h> 3 #include<cmath> 4 using namespace std; 5 ...
分类:
其他好文 时间:
2020-08-08 23:44:12
阅读次数:
88
题目链接https://loj.ac/problem/6277 1 #include<bits/stdc++.h> 2 3 using namespace std; 4 typedef long long ll; 5 const int maxn = 1e5 + 10; 6 const int in ...
分类:
其他好文 时间:
2020-08-08 21:23:31
阅读次数:
77
Prim算法 复杂度:O(N*N) #include<bits/stdc++.h> using namespace std; const int maxn = 1005; int n; int d[maxn], vis[maxn], mat[maxn][maxn]; int main(){ int ...
分类:
其他好文 时间:
2020-08-08 00:31:58
阅读次数:
61
题意: 分析: 代码: #include <bits/stdc++.h> using namespace std; typedef long long ll; const int mod=1e9+7; const int N=1e6+6; int mu[N]; int prime[N],cnt; b ...
分类:
其他好文 时间:
2020-08-07 12:39:20
阅读次数:
82
Rolling a Standby Forward using an RMAN Incremental Backup To Fix The Nologging Changes (文档 ID 958181.1) 情景: 物理备库查询遇到 ORA-01578 报错 ORA-01578: ORACLE d ...
分类:
其他好文 时间:
2020-08-07 12:32:36
阅读次数:
79