
#include <bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef pair<int,int> PII;
const int N = 110,M=2*N,mod=1e9+7;
int n,m;
int q[N][N],a[N];
int g[N][N];
double ans[N][N];
double get_a(int x) {
if(x==0) return sqrt(0.5);
return 1;
}
double get_cos(int x,int y) {
return cos((x+0.5)*y*acos(-1)/8);
}
double get_num(int x,int y) {
double res=0;
for(int i=

该程序使用C++编写,涉及矩阵的输入、运算和输出。主要功能包括根据用户输入的数据对矩阵进行特定计算,以及将计算结果以特定格式输出。程序包含了一个二维数组的处理过程,用于将给定的一维数组映射到二维矩阵中。
最低0.47元/天 解锁文章
1519

被折叠的 条评论
为什么被折叠?



