NaiveRed's Blog

Don't Panic!

Home Archives Tags
2016-04-04
Problem Solving►UVa

UVa 624 - CD

Problem

題目網址
中文網址

給你音樂,挑選要放到錄音帶上的,並使錄音帶空白的長度越小越好。(不得重複)

p.s. 可能不只一組解

Read More !

Share Comments
  • DP
  • Knapsack
  • UVa
2016-04-04
Problem Solving►UVa

UVa 10465 - Homer Simpson

Problem

題目網址
中文網址

時間內看辛普森最多可以吃多少個漢堡,如果無法把時間用盡,也要使啤酒的數量盡可能的少。

Read More !

Share Comments
  • DP
  • Knapsack
  • UVa
2016-03-19
Problem Solving►UVa

UVa 679 - Dropping Balls

Problem

題目網址
中文網址

球從樹根開始向下,如果節點為 true ,球則往右,反之往左。問最後到達的葉節點為多少?

Read More !

Share Comments
  • Bitwise
  • UVa
2016-03-18
Problem Solving►ZeroJudge

ZeroJudge d756 - 10290 - {Sum+=i++} to Reach N

Problem

題目網址

給你 N ,看 N 可以用幾組連續 非負整數 的和表示。例如: 6 = 0 + 1 + 2 + 3 = 1 + 2 + 3 = 6 , 輸出 3 組。

Read More !

Share Comments
  • Factorization
  • Prime
  • ZeroJudge
2016-03-18
Problem Solving►UVa

UVa 10290 - {Sum+=i++} to Reach N

Problem

題目網址
中文網址

給你 N ,看 N 可以用幾組連續正整數的和表示。例如: 9 = 2 + 3 + 4 = 4 + 5 = 9 , 輸出 3 組。

Read More !

Share Comments
  • Factorization
  • Prime
  • UVa
2016-03-18
Problem Solving►UVa

UVa 10305 - Ordering Tasks

Problem

題目網址
中文網址

找出做事情的順序,事情有一定的相依關係,如:在做 B 之前,必須先完成 A。
p.s. 答案可能不是唯一解。

Read More !

Share Comments
  • Topological Sort
  • UVa
2016-03-18
Problem Solving►UVa

UVa 10487 - Closest Sums

Problem

題目網址
中文網址

從集合中找出兩個不相同的數相加後與 k 最接近。

Read More !

Share Comments
  • Binary Search
  • UVa
2016-03-15
Problem Solving►UVa

UVa 10000 - Longest Paths

Problem

題目網址
中文網址

給你可行走的路段(有向)和起點,求出怎麼走才可以經過最多地方。

Read More !

Share Comments
  • SPFA
  • UVa
2016-03-15
Problem Solving►UVa

UVa 10533 - Digit Primes

Problem

題目網址
中文網址

數字其本身為質數,各項和也為質數,此時稱它為 digit prime 。
找出 t1 ~ t2 間有幾個 digit prime ? (含 t1 , t2)

Read More !

Share Comments
  • Prime
  • UVa
2016-03-13
Problem Solving►UVa

UVa 11624 - Fire!

Problem

題目網址

有一個人要從起火的迷宮中逃走,火每分鐘會往上下左右四格蔓延,人每分鐘也可以往上下左右走,只要逃到邊界即算逃出。
注意起火點不一定只有一處。

Read More !

Share Comments
  • BFS
  • UVa
« Prev1…242526272829Next »

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