高斯消元
摘要:const int N=1000+10; const ll MOD=1e9+7; #define eps 1e-6 double a[N][N]; int n; void jfc() { int hang,lie; for(hang=0,lie=0;lie<n;++lie) { //以列为标准消元(
阅读全文
posted @
2022-07-21 18:17
HZOI-曹蓉
阅读(27)
推荐(0) 编辑
高斯消元
摘要:高斯消元+多元二次式转多元一次式 :注意:fabs() 不能除以0 倒序 #include<iostream>#include<cstdio>#include<cstdlib>#include<cstring>#include<cmath>#include<ctime>#include<bitset
阅读全文
posted @
2022-02-20 12:12
HZOI-曹蓉
阅读(20)
推荐(0) 编辑