• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






hebozi

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

随笔分类 -  其它

 
jsp页面的取值#,%{}和%{#}的区别
摘要:#强调从上下文取:session.name等价于session.getAttribute("name");%{}用于计算表达式:%{10+20}结果输出为30;%{#}仍用于计算表达式,只不过操作元可以使变量:%{#age}输出25,等价于%{age}%{#age+10}不能省略#,也就是说变量用于... 阅读全文
posted @ 2014-07-10 11:16 hebozi 阅读(837) 评论(0) 推荐(0)
HDU 4296 Buildings
摘要:BuildingsTime Limit: 5000/2000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 180Accepted Submission(s): 86Problem Description Have you ever heard the story of Blue.Mary, the great civil engineer? Unlike Mr. Wolowitz, Dr. Blue.Mary has accomplished many great projects. 阅读全文
posted @ 2012-09-16 19:53 hebozi 阅读(257) 评论(0) 推荐(0)
HDU 4272 LianLianKan
摘要:LianLianKanTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 243Accepted Submission(s): 123Problem DescriptionI like playing game with my friends, although sometimes look pretty naive. Today I invent a new game called LianLianKan. The game is about p 阅读全文
posted @ 2012-09-08 20:47 hebozi 阅读(385) 评论(0) 推荐(0)
Swimming
摘要:SwimmingTime Limit : 3000/1000ms (Java/Other)Memory Limit : 65535/32768K (Java/Other)Total Submission(s) : 3Accepted Submission(s) : 2Font: Times New Roman | Verdana | GeorgiaFont Size: ← →Problem DescriptionIn the 2012 London Olympics, Sun Yang, the young Chinese swimmer, wins 2 golden medals and b 阅读全文
posted @ 2012-08-12 19:52 hebozi 阅读(198) 评论(0) 推荐(0)
分珠宝 对珠宝的期望不同
摘要:DistributionTimeLimit:1500MSDescriptionOneday,ObamadreamedthatheandClintonwenttogethertostealjewellery,gotnpiecesofthejewellerys.Howtodividestolenjewellerysbecameaproblem,becausetheestimatedvalueofeachpiecesofthejewelleryarenotthesametothem.IfthetotalvalueofthejewellerysObamareceivedaccordingtohisst 阅读全文
posted @ 2012-08-06 15:44 hebozi 阅读(160) 评论(0) 推荐(0)
住房安排
摘要:住房安排TimeLimit:3000MSDescription第三十届夏季奥林匹克运动会于2012年7月27日至8月12日在英国首都伦敦举行,历时19天。为了更好地接待在这期间来自世界各地的参赛者,如何合理安排各宾馆的住房问题提到了日程。组委会已接到了大量的客户住宿定单,每张定单的内容包括要住宿的房间数,开始住宿时间和要住的天数。为了便于整个城市各宾馆的管理,组委会希望对这些定单进行安排,目的是用尽可能少的房间来满足这些定单,以便空出更多的房间用于安排流动游客。组委会请求Jenny来完成这个任务,对这些定单进行合理安排,使得满足这些定单要求的房间数最少。假设某个定单上的游客一旦被安排到某房间, 阅读全文
posted @ 2012-08-05 21:14 hebozi 阅读(144) 评论(0) 推荐(0)
HDU 1870 愚人节的礼物 栈的应用
摘要:愚人节的礼物Time Limit: 5000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2194Accepted Submission(s): 1387Problem Description四月一日快到了,Vayko想了个愚人的好办法——送礼物。嘿嘿,不要想的太好,这礼物可没那么简单,Vayko为了愚人,准备了一堆盒子,其中有一个盒子里面装了礼物。盒子里面可以再放零个或者多个盒子。假设放礼物的盒子里不再放其他盒子。用()表示一个盒子,B表示礼物,Vayko想让你帮她算出愚 阅读全文
posted @ 2012-08-05 11:58 hebozi 阅读(250) 评论(0) 推荐(0)
求三角形内包括边上的点的数目
摘要:三角形TimeLimit:3000/1000ms(Java/Other)MemoryLimit:65535/32768K(Java/Other)TotalSubmission(s):137AcceptedSubmission(s):90Font:TimesNewRoman|Verdana|GeorgiaFontSize:←→ProblemDescription平面上有x+2*y=N,x=0以及y=0三线围成的一个直角三角形,请帮忙计算该三角形内(包括边上)的整点的个数,其中整点表示x,y都取整数的点。Input第一行输入一整数T,表示有T组测试数据,接下来有T行,每行输入一个数N.(1< 阅读全文
posted @ 2012-08-05 10:40 hebozi 阅读(455) 评论(0) 推荐(0)
HDU 4325 Flowers
摘要:FlowersTime Limit: 4000/2000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1022Accepted Submission(s): 513Problem DescriptionAs is known to all, the blooming time and duration varies between different kinds of flowers. Now there is a garden planted full of flowers. Th 阅读全文
posted @ 2012-08-05 10:32 hebozi 阅读(128) 评论(0) 推荐(0)
HDU 4324 Triangle LOVE
摘要:Triangle LOVETime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1033Accepted Submission(s): 425Problem DescriptionRecently, scientists find that there is love between any of two people. For example, between A and B, if A don’t love B, then B must love 阅读全文
posted @ 2012-08-05 10:28 hebozi 阅读(138) 评论(0) 推荐(0)