2014年3月25日

高斯消元模板

摘要: typedef int Matrix[maxn][maxn];int gcd(int a,int b){ return b==0?a:gcd(b,a%b);}int lcm(int a,int b){ return a/gcd(a,b)*b;}int gauss(Matrix A,int n,int m){ int row,col; for(row=0,col=0; ro... 阅读全文

posted @ 2014-03-25 21:13 仗剑奔走天涯 阅读(159) 评论(0) 推荐(0) 编辑

导航