NaiveRed's Blog

Don't Panic!

Home Archives Tags
2016-03-06
Problem Solving►UVa

UVa 10810 - Ultra-QuickSort

Problem

題目網址
中文網址

排序過程總共把 相鄰 的數字交換了幾次?

Read More !

Share Comments
  • Merge Sort
  • UVa
2016-03-06
Problem Solving►UVa

UVa 10801 - Lift Hopping

Problem

題目網址
中文網址

從 0 層開始,藉由數台電梯搭到指定樓層,算出所需的最短時間。
每台電梯停的樓層不同,移動所需時間也不同。

Read More !

Share Comments
  • Dijkstra
  • UVa
2016-03-05
Problem Solving►UVa

UVa 10236 - The Fibonacci Primes

Problem

題目網址

找出第 n 個 fibonacci prime ,費氏數列中某數,如果和比它小的所有 $F_n$ 數字互質,就稱它為 fibonacci prime。

如果大於 9 位數,只需要輸出前 9 位。

Read More !

Share Comments
  • Fibonacci
  • Prime
  • UVa
2016-03-04
Problem Solving►UVa

UVa 929 - Number Maze

Problem

題目網址
中文網址

從最左上角開始走,目的地是右下角,請問如何走才可以使路徑上數字的和為最小值,並輸出此值。

Read More !

Share Comments
  • Dijkstra
  • SSSP
  • UVa
2016-02-28
Problem Solving►UVa

UVa 10034 - Freckles

Problem

題目網址
中文網址

找出相連所有點最短的路徑。

Read More !

Share Comments
  • MST
  • Prim
  • UVa
2016-02-28
Problem Solving►UVa

UVa 11069 - A Graph Problem

Problem

題目網址
中文網址

找出 n 內有幾個集合,符合規則。

  1. 數字不能相鄰
  2. 維持 1 ,且不能再加入任何點了

Read More !

Share Comments
  • DP
  • UVa
2016-02-28
Problem Solving►UVa

UVa 11185 - Ternary

Problem

題目網址

轉成 3 進位。

Read More !

Share Comments
  • UVa
2016-02-28
Problem Solving►UVa

UVa 12626 - I Love Pizza

Problem

題目網址

給你字串看可以組成幾個 “MARGARITA” 。

Read More !

Share Comments
  • UVa
2016-02-27
Problem Solving►UVa

UVa 10842 - Traffic Flow

Problem

題目網址

因為道路部門超出預算,需要把 不會使任何路口斷掉 的路給關閉,保留的路當中,盡可能有最大的容量,而在這保留的路中,容量最小的路則為我們要求的。

Read More !

Share Comments
  • Disjoint-set
  • Kruskal
  • UVa
2016-02-27
Problem Solving►UVa

UVa 10856 - Recover Factorial

Problem

題目網址
中文網址

給你 N ,找出某數的階層 M! ,質因數分解後得到總共的質因數個數 = N ,求 M 的最小值。

Read More !

Share Comments
  • DP
  • Factorial
  • Prime
  • UVa
« Prev1…2526272829Next »

Recents

  • VS Code for C and CPP
  • UVa 10158 - War
  • UVa 10528 - Major Scales
  • UVa 12908 - The book thief
  • UVa 11235 - Frequent values
  • UVa 11223 - O: dah dah dah!
  • UVa 394 - Mapmaker
  • UVa 10901 - Ferry Loading III
  • UVa 1730 - Sum of MSLCM
  • UVa 10633 - Rare Easy Problem

Categories

  • Chore2
  • Problem Solving258
    • CodeForces1
    • UVa253
    • ZeroJudge4
  • 學習筆記26
    • ML(Hung-yi Lee)13
    • Python2
    • 機器學習基石11
  • 心情隨筆2

Archives

  • May 20186
  • April 20184
  • March 201840
  • December 20177
  • March 20174
  • February 20174
  • January 20174
  • October 20161
  • September 201616
  • August 201648
  • July 201651
  • June 201618
  • May 201629
  • April 201620
  • March 201612
  • February 201621
  • January 20163
© 2020 NaiveRed
Powered by Hexo and Theme by landscape
Home Archives Tags