UVa/VolumeC5

Last-modified: 2008-05-23 (金) 11:18:59

VolumeC5

  • 10502:Counting rectangles
    • AdHoc?
    • 多重ループで虱潰しに調べる.
  • 10515:Power et al.
    • Mathematics?
    • m^nの一の位を求める.
  • 10523:Very Easy!!!
    • Mathematics? - Big Integer?
    • イージー!
  • 10550:Combination Lock
    • Mathematics?
    • 自分で色々シミュレートしないとダメ.結構面倒くさい.
  • 10583:Ubiquitous Religions
    • Data Structure? - Union-Find?
    • 同じ宗教を信じてる生徒をグループ化して、グループの数を求める.
      Union-Findクラスに、集合の数を返すメソッドを追加.
  • 10591:Happy Number
    • Mathematics?
    • 定義通りに処理.