摘要: 话说最早听说的算法之一是高斯消元法,三十多年了。#include#include#includeusing namespace std;int n;double x[11][11],y[11][11];int main(){ int i,j,k; scanf("%d",&n); for(i=0;i0... 阅读全文
posted @ 2016-01-05 17:49 海豚爸爸 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 昨天做错了,没遇到环就开搜。今天改之。话说在洛谷上被1秒卡掉一个解,算了不改了。#include#include#includeusing namespace std;typedef long long LL;typedef struct{ int val,next,type; // type:0-... 阅读全文
posted @ 2016-01-05 17:46 海豚爸爸 阅读(151) 评论(0) 推荐(0) 编辑