会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
__NaCl
Do what do you want to do.Do what you should do.
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
18
19
20
21
22
23
下一页
2015年7月18日
1289 大鱼吃小鱼 分类: 51nod 2015-07-18 21:21 7人阅读 评论(0) 收藏
摘要: 1289大鱼吃小鱼 题目来源: Codility基准时间限制:1 秒 空间限制:131072 KB 分值: 5难度:1级算法题 收藏 关注 取消关注 有N条鱼每条鱼的位置及大小均不同,他们沿着X轴游动,有的向左,有的向右。游动的速度是一样的,两条鱼相遇大鱼会吃掉小鱼。从左到右给出每条鱼的大小和游...
阅读全文
posted @ 2015-07-18 21:21 __NaCl
阅读(153)
评论(0)
推荐(0)
2015年7月5日
二叉树的先序遍历,后序遍历,中序遍历,层次遍历
摘要: #include#include#include#include#include#include#define max 500using namespace std;typedef struct node{ char data; struct node *l...
阅读全文
posted @ 2015-07-05 17:22 __NaCl
阅读(241)
评论(0)
推荐(0)
二叉树的先序遍历,后序遍历,中序遍历,层次遍历 2015-07-05 17:22 13人阅读 评论(0) 收藏
摘要: #include#include#include#include#include#include#define max 500using namespace std;typedef struct node{ char data; struct node *left ,*right;}binode,*...
阅读全文
posted @ 2015-07-05 17:22 __NaCl
阅读(133)
评论(0)
推荐(0)
2015年5月22日
POJ 2236 Wireless Network 并查集
摘要: Wireless Network 并查集Crawling in process...Crawling failedTime Limit:10000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uS...
阅读全文
posted @ 2015-05-22 19:43 __NaCl
阅读(138)
评论(0)
推荐(0)
POJ 2236 Wireless Network 并查集 2015-05-22 19:42 10人阅读 评论(0) 收藏
摘要: Wireless Network 并查集Crawling in process...Crawling failedTime Limit:10000MSMemory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmitStatus Practice POJ...
阅读全文
posted @ 2015-05-22 19:42 __NaCl
阅读(126)
评论(0)
推荐(0)
2015年5月13日
最大矩阵和 2015-05-13 21:23 8人阅读 评论(0) 收藏
摘要: 最大矩形阵转载 2015-04-10 20:54:23 最大子矩阵Time Limit:10000MS Memory Limit:32768KB 64bit IO Format:%I64d& %I64uSubmit StatusDescription给你一个m×n的整数矩阵,在上面找一个x×y的...
阅读全文
posted @ 2015-05-13 21:23 __NaCl
阅读(114)
评论(0)
推荐(0)
最大矩阵和
摘要: 最大矩形阵转载 2015-04-10 20:54:23 ...
阅读全文
posted @ 2015-05-13 21:23 __NaCl
阅读(177)
评论(0)
推荐(0)
国防科学技术大学第忘记叫啥杯了
摘要: 1594: FactorialsTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 207 Solved: 72[Submit][Status][Web Board]DescriptionThe factorial of an ...
阅读全文
posted @ 2015-05-13 21:19 __NaCl
阅读(86)
评论(0)
推荐(0)
国防科学技术大学第忘记叫啥杯了 2015-05-13 21:19 7人阅读 评论(0) 收藏
摘要: 1594: FactorialsTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 207 Solved: 72[Submit][Status][Web Board]DescriptionThe factorial of an integer N, writt...
阅读全文
posted @ 2015-05-13 21:19 __NaCl
阅读(76)
评论(0)
推荐(0)
2015 湘潭大学程序设计比赛(Internet)--D题-最小的数 2015-05-13 20:55 51人阅读 评论(0) 收藏
摘要: 题目描述给你一个n位数,每次操作可以选该数任意的相邻两位进行交换,如果最多可以操作k次,那么最终可以得到的最小的数是什么(n位且不能含前导零)?输入有多组测试数据,第一行为数据个数T(T#include#include#includeusing namespace std;int main(){ch...
阅读全文
posted @ 2015-05-13 20:55 __NaCl
阅读(178)
评论(0)
推荐(0)
上一页
1
···
18
19
20
21
22
23
下一页
公告