摘要: 题目连接http://poj.org/problem?id=1681基本上同上一题。求解一的个数。#include #include #include #include #include #include #include #include #include #include #include #include #include #define X first#define Y second#define sqr(x) (x)*(x)#pragma comment(linker,"/STACK:102400000,102400000")using namespace std 阅读全文
posted @ 2013-09-19 00:20 degree 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://poj.org/problem?id=1222开始刷高斯消元的题目。并整理收藏了一下模板,包括整数和double型的。主要在于方程组的建立。#include #include #include #include #include #include #include #include #include #include #include #include #include #define X first#define Y second#define sqr(x) (x)*(x)#pragma comment(linker,"/STACK:102400000,102 阅读全文
posted @ 2013-09-19 00:13 degree 阅读(172) 评论(0) 推荐(0) 编辑