随笔分类 - 立体几何
摘要:题目链接:https://vjudge.net/problem/HDU-6814 题意:在[1,n]中随机取三个数a,b,c作为直角四面体的三条直角棱,求顶点d到ABC面的高的倒数平方的数学期望。 思路: 1 //#include<bits/stdc++.h> 2 #include<time.h> 
        阅读全文
                
摘要:题目: 题意:三维里有n个点,找一个最小的球将所有点覆盖。 题解:退火法模拟的一道板子题。 1 #include <stdio.h> 2 #include <iostream> 3 #include <math.h> 4 using namespace std; 5 const int MAXN=1
        阅读全文
                
摘要:1 #include <stdio.h> 2 #include <iostream> 3 #include <math.h> 4 using namespace std; 5 const int MAXN=105; 6 const double EPS=1e-8; 7 struct Point{ 8
        阅读全文
                

 浙公网安备 33010602011771号
浙公网安备 33010602011771号