无谓的味道

导航

2015年10月12日 #

hdu 1754 I Hate It(线段树)

摘要: Problem Description很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。这让很多学生很反感。不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老师的询问。当然,老师有时候需要更新某位同学的成绩。Input本题目包含多组测试,请处理到... 阅读全文

posted @ 2015-10-12 21:02 无谓的味道 阅读(154) 评论(0) 推荐(0) 编辑

poj 2299 Ultra-QuickSort(归并排序,树状数组,线段树)

摘要: DescriptionIn this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n distinct integers by swapping ... 阅读全文

posted @ 2015-10-12 15:23 无谓的味道 阅读(163) 评论(0) 推荐(0) 编辑