版本比较
题解 P4100【[HEOI2013]钙铁锌硒维生素】
正文
增加 3 行删除 3 行
36 行未改动3738394041414243434445464711 行未改动5960616263636465666776 行未改动36 行未改动#include<bits/stdc++.h>using namespace std;#define ll long longnamespace IO{//by cyffff
}const int N=300+10; const int N=300+10;const double eps=1e-7;int n;struct Matrix{ double a[N][N];11 行未改动 Matrix c; for(int i=1;i<=n;i++) for(int j=1;j<=n;j++) for(int k=1;k<=n;k++) c[i][j]+=a.a[i][j]*b.a[j][k]; c[i][j]+=a.a[i][j]*b.a[j][k]; return c; } inline void swapp(int i,int j){ swap(a[i],a[j]);76 行未改动