• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
Hug_Sea
博客园    首页    新随笔    联系   管理    订阅  订阅
2012年5月9日
2012-05-09
摘要: 在挫折中成长!!! 在失败中总结经验!!! May the force be with you!!! 阅读全文
posted @ 2012-05-09 22:53 Hug_Sea 阅读(126) 评论(0) 推荐(0)
ural 1136. Parliament
摘要: 题意:给出二叉排序树的后序遍历序列,要求遍历右子树->左子树->根的序列。思路:二叉树基本操作。题目链接:http://acm.timus.ru/problem.aspx?space=1&num=1136View Code 1 #include <cstdio> 2 #include <cstring> 3 #include <cmath> 4 #include <string> 5 #include <algorithm> 6 #include <iostream> 7 using namespace 阅读全文
posted @ 2012-05-09 15:55 Hug_Sea 阅读(137) 评论(0) 推荐(0)
2680 Problem F: Coin Game
摘要: 题意:给出两个序列a[],b[],第一个递减,第二个随机,问怎样交换第二个序列(每次相邻两个互换),使得第二个序列每个位置上的数都小于等于第一个序列。例:sample input:33 2 12 2 133 2 11 2 346 5 3 11 3 5 5sample output:035思路:a,b都从最后开始遍历,若a[i]<b[i],则将b[i]移到a[i]后面,否则标记b[i]。View Code 1 #include <cstdio> 2 #include <cstring> 3 #include <cmath> 4 #include < 阅读全文
posted @ 2012-05-09 15:49 Hug_Sea 阅读(119) 评论(0) 推荐(0)
2682 Problem H: New Feature in Windows 7
摘要: 题意:给出n个字符串,按要求排序,要求如下:Iftwo filenames are same before certain position including start, theorder should be decided by these conditions:a) If both of them are alphabets, the result depends on the alphabet order.b) If one is alphabet and the other is number, the number is smaller.c) If both of them ar 阅读全文
posted @ 2012-05-09 15:12 Hug_Sea 阅读(101) 评论(0) 推荐(0)
杭电被黑
摘要: 黑客很强大!!!!值得纪念的日子~~~~~~ 阅读全文
posted @ 2012-05-09 08:37 Hug_Sea 阅读(159) 评论(0) 推荐(0)
期待
摘要: 看了看空间、看到了同学在北京的生活,突然开始很期待、向往、开始期待毕业,幻想北京,多么让人向往的城市,也许那时的生活会不尽如人意,不过在没有揭开那神秘的面纱之前,一切都显得那么朦胧。 期待明天~ 把握今天! 生活以快了为基准!!! 阅读全文
posted @ 2012-05-09 07:34 Hug_Sea 阅读(184) 评论(1) 推荐(0)
朝阳
摘要: 清晨,睁开眼,一缕淡淡的阳光照射到脸上~ 不得不说,早晨的天气真好,清爽的朝阳、清新的空气、轻捷的脚步、心旷神怡的感觉,深深体会到了“生命在于运动!” 阅读全文
posted @ 2012-05-09 07:11 Hug_Sea 阅读(126) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3