会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
相儒以沫
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
11
12
13
下一页
2015年8月5日
卡特兰数
摘要: 卡特兰数前几项为 : 1, 1, 2, 5, 14, 42, 132, 429, 1430, 4862, 16796, 58786, 208012, 742900, 2674440, 9694845, 35357670, 129644790, 477638700, 1767263190, 65641...
阅读全文
posted @ 2015-08-05 13:15 相儒以沫
阅读(135)
评论(0)
推荐(0)
2015年8月4日
JAVA大数乘法 HDU1042
摘要: 1 import java.math.*; 2 import java.util.Scanner; 3 4 5 public class Main{ 6 public static void main(String[] args){ 7 int a; 8 ...
阅读全文
posted @ 2015-08-04 20:24 相儒以沫
阅读(146)
评论(0)
推荐(0)
Java大数加法 HDU1002 HDU1250
摘要: 1 import java.math.*; 2 import java.util.Scanner; 3 4 5 public class Main{ 6 public static void main(String[] args){ 7 BigInteger a,b; ...
阅读全文
posted @ 2015-08-04 20:08 相儒以沫
阅读(149)
评论(0)
推荐(0)
set应用 UVa136
摘要: 1 #include 2 #include 3 4 using namespace std; 5 6 set arr; 7 8 int main() 9 {10 int i=1;11 arr.insert(1);12 long long s;13 for(...
阅读全文
posted @ 2015-08-04 09:10 相儒以沫
阅读(115)
评论(0)
推荐(0)
STL之stack
摘要: stack先入先出可用函数empty(); //判断栈空size(): //返回栈的大小top(); //返回栈顶元素push(): //入栈pop(); //出栈
阅读全文
posted @ 2015-08-04 08:37 相儒以沫
阅读(119)
评论(0)
推荐(0)
2015年8月3日
STL之queue
摘要: queuequeue先进先出可用函数empty(); //判断队列是否为空size(); //返回队列大小top(); //返回队首元素back(); //返回队尾元素push(); //入队pop(); //出队priority_queue优先化队列队首元素最大或最小默认队首最大pri...
阅读全文
posted @ 2015-08-03 20:31 相儒以沫
阅读(130)
评论(0)
推荐(0)
STL之map UVa156
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 8 using namespace std; 9 10 map arr;11 vector word;12 13 string change(str...
阅读全文
posted @ 2015-08-03 16:27 相儒以沫
阅读(160)
评论(0)
推荐(0)
STL之vector UVa101
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 7 using namespace std; 8 9 vector arr[30]; 10 int x,y,n; 11 void find_blocks...
阅读全文
posted @ 2015-08-03 15:29 相儒以沫
阅读(135)
评论(0)
推荐(0)
STL之set UVa10815
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 9 using namespace std;10 11 set arr;12 13 int main()14 {15 ...
阅读全文
posted @ 2015-08-03 15:23 相儒以沫
阅读(393)
评论(0)
推荐(0)
2015年7月31日
无修改区间查询 BNU Can you answer these queries I
摘要: 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 int an[50010]; 8 int get[50010]; 9 struct Node 10 { 11 int l,r; 12 ...
阅读全文
posted @ 2015-07-31 10:24 相儒以沫
阅读(159)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
13
下一页
公告