Angora's Blog

learn


  • 首页

  • 标签

  • 分类

  • 归档

  • 搜索

poj2299

发表于 2018-02-25 | 分类于 算法 , 数据结构 , 树状数组

链接:poj2299

Description

  • In this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n
  • distinct
  • integers by swapping two adjacent sequence elements until the sequence is sorted in ascending order. For the
  • input sequence
  • 9 1 0 5 4 ,
  • Ultra-QuickSort produces the output
  • 0 1 4 5 9 .
  • Your task is to determine how many swap operations Ultra-QuickSort needs to perform in order to sort a given
  • input sequence.
    阅读全文 »

hdu1754

发表于 2018-02-25 | 分类于 算法 , 数据结构 , 线段树

链接:hdu1754

Description

  • 很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。
  • 这让很多学生很反感。
  • 不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老师的询问。当然,老师有时候需要更新某位同学的成绩。
    阅读全文 »
1…1617
Angora

Angora

再弱小也还是要努力地活下去

162 日志
44 分类
53 标签
Links
  • tgotp
  • Armin
  • Angora
  • xiaozhu_gao
  • VoidR
  • Lckhy
  • Nico
© 2018 — 2019 Angora
访问人数 人 总访问量 次