会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
相儒以沫
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
13
下一页
2015年8月12日
卡特兰数 中南大学OJ1320
摘要: 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 void gcd(int a,int b,int &d,int &x,int &y) 8 { 9 if(!b)10 {11 d=a;...
阅读全文
posted @ 2015-08-12 14:22 相儒以沫
阅读(171)
评论(0)
推荐(0)
2015年8月10日
判断两线段是否相交 模板
摘要: 1 struct point 2 { 3 double x, y; 4 point( double _x = 0, double _y = 0 ) 5 { 6 x = _x; 7 y = _y; 8 } 9 point ope...
阅读全文
posted @ 2015-08-10 19:58 相儒以沫
阅读(199)
评论(0)
推荐(0)
并查集 HDU1558
摘要: 1 #include 2 #include 3 #include 4 #include 5 6 using namespace std; 7 8 struct point 9 { 10 double x, y; 11 point( double _x ...
阅读全文
posted @ 2015-08-10 19:57 相儒以沫
阅读(106)
评论(0)
推荐(0)
并查集 HDU1272
摘要: 1 #include 2 #include 3 #include 4 #include 5 6 using namespace std; 7 8 int father[100010]; 9 int num[100010];10 11 int main()12 {13 int a...
阅读全文
posted @ 2015-08-10 18:27 相儒以沫
阅读(115)
评论(0)
推荐(0)
并查集 HDU1232
摘要: 1 #include 2 #include 3 #include 4 #include 5 6 using namespace std; 7 8 int father[1010]; 9 int num[1010];10 11 int main()12 {13 int n,m;1...
阅读全文
posted @ 2015-08-10 16:09 相儒以沫
阅读(117)
评论(0)
推荐(0)
2015年8月7日
数据结构之单向链表 UVa11988
摘要: 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 struct Node 8 { 9 char c;10 Node* next;11 Node(){next=NULL;}12 };13 14...
阅读全文
posted @ 2015-08-07 14:07 相儒以沫
阅读(150)
评论(0)
推荐(0)
2015年8月5日
Java大数 字符串处理 HDU2100
摘要: 1 import java.math.*; 2 import java.util.*; 3 4 public class Main 5 { 6 static String arr1; 7 static String arr2;; 8 static char[] ans=n...
阅读全文
posted @ 2015-08-05 20:15 相儒以沫
阅读(241)
评论(0)
推荐(0)
Java大数中的小数 HDU1753
摘要: 1 import java.math.*; 2 import java.util.*; 3 4 public class Main 5 { 6 public static void main(String[] args) 7 { 8 Scanner cin=new...
阅读全文
posted @ 2015-08-05 17:21 相儒以沫
阅读(193)
评论(0)
推荐(0)
递推 + 大数 HDU1297
摘要: 1 import java.math.*; 2 import java.util.*; 3 4 public class Main 5 { 6 static BigInteger arr[] = new BigInteger [1000000]; 7 public static ...
阅读全文
posted @ 2015-08-05 16:47 相儒以沫
阅读(329)
评论(0)
推荐(0)
卡特兰数变形 HDU1133
摘要: 1 import java.math.*; 2 import java.util.*; 3 4 public class Main 5 { 6 public static void main(String[] args) 7 { 8 int m,n; 9 ...
阅读全文
posted @ 2015-08-05 15:00 相儒以沫
阅读(184)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
13
下一页
公告