1 //minamoto 2 #include3 #include 4 #include 5 using namespace std; 6 #define getc() (p1==p2&&(p2=(p1=buf)+fread(buf,1,1<<21,stdin),p1==p2)?EOF:*p1++) 7 char buf[1<<21],*p1=buf,*p2=buf; 8 inline int read(){ 9 #define num ch-'0'10 char ch;bool flag=0;int res;11 while((ch=getc())>'9'||ch<'0')12 (ch=='-')&&(flag=true);13 for(res=num;(ch=getc())<='9'&&ch>='0';res=res*10+num);14 (flag)&&(res=-res);15 #undef num16 return res;17 }18 const int N=105;19 double mp[N][N],ans[N],eps=1e-7;20 int main(){21 // freopen("testdata.in","r",stdin);22 int n=read();23 for(int i=1;i<=n;++i)24 for(int j=1;j<=n+1;++j)25 mp[i][j]=read();26 for(int i=1;i<=n;++i){27 int r=i;28 for(int j=i+1;j<=n;++j)29 if(fabs(mp[r][i])