摘要: 枚举,写的代码搓。 1 /* 2 ID: cuizhe 3 LANG: C++ 4 TASK: ratios 5 */ 6 #include <cstdio> 7 #include <cstring> 8 #include <string> 9 #include <math.h>10 #include <queue>11 using namespace std;12 #define N 10000000013 int p[5][5];14 int main()15 {16 int i,j,k,a,b,c,d,ans;17 freope 阅读全文
posted @ 2012-11-21 20:56 Naix_x 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 弱爆了,真心看不懂这个题是在搞毛线啊。。。本来以为是神马数论的神题,不能直接枚举把,然后搜了一下题解,然后都说是水题模拟就行。。。顿时受打击了,直接抄题解过了。。。掉人品啊,有点太无语了。 1 /* 2 ID: cuizhe 3 LANG: C++ 4 TASK: spin 5 */ 6 #include <cstdio> 7 #include <cstring> 8 #include <string> 9 #include <math.h>10 #include <queue>11 using namespace std;12 in 阅读全文
posted @ 2012-11-21 17:50 Naix_x 阅读(177) 评论(0) 推荐(0) 编辑