U E D R , A S I H C RSS

ACM_ICPC/2013년스터디

1.

  • , , : 동 (본 10 내)
  • .

2.

  • 명, 명들 .(Dovelet )

2.1.

  • - 매 5.
  • - 6 PC
  • - , .

3.

3.1. 1 10

3.1.1.

3.1.2.

3.2. 1 18

3.2.1.

* : , ,

3.3. 1 24

3.3.1.

* : , ,

3.4. 2 13

3.4.1.

* :

3.5. 2 20

3.5.1.

* :




      • ()
      • n 마리 n 를 먹는데 n , m 마리 m 를 먹는데 리는 . 를 먹는 는 모 .


  • : land

3.6. 2 27

3.6.1.

* :

  • 는 매 6 , .
  • inflate 모르

3.7. 3 6

3.8. 3 13

3.8.1.


    • catch_cow


3.9. 3 20

3.9.1.

3.10. 3 24

3.10.1.


    • C번 는 방
    • D번 마리

3.12. 5 8

  • ..

3.13. 5 15

3.13.1.


    • _1C: 857등
      • Consonants, Pogo, The Great Wall

def Solve(x, y):
  N = 0
  sum = 0
  while sum < abs(x) + abs(y) or (sum + x + y) % 2 == 1:
    N += 1
    sum += N
  result = ""
  while N > 0:
    if abs(x) > abs(y):
      if x > 0: 
        result += 'E'
        x -= N
      else:
        result += 'W'
        x += N
    else:
      if y > 0:
        result += 'N'
        y -= N
      else:
        result += 'S'
        y += N
    N -= 1
  return result.reversed()


3.14. 6 27

  • : Dynamic Programming 6.1~6.3
    • Shortest Path : DAG(directed acyclic graphs) Source dist(v) = min{dist(v) + l(u,v)}
      • 170p
    • Longest increasing subsequence : DAG.(increasing만 edge됨) 방문 L(j) = 1+ max{L(i) : (i,j)}
      • 대 path 는 녀 면 path .
    • Edit distance : (exponential polynomial 는 6.)
      • Similar to DTW
  • : 3
  • : Hoffman code - ..

3.15. 7 4

3.15.1. Need to Discuss

  • Stack부 Histogram 문
  • BFS

3.15.2.

3.16. 7 11

3.16.1. Need to Discuss


3.16.2.

3.17. 7 16

3.17.1. Need to Discuss


3.17.2.

3.18. 7 25


3.19. 7 28

  • Algospot배

3.20. 7 30,8 6,8 8

3.21. 8 13,8 15

3.22. 8 21,8 28, 8 30

  • 2밍 대
  • 2 는 방

Ax1 A  x. By2는 B  y
 if Ax1 < Bx1
  if Bx1 > Ax2 && By1 > Ay2
   if By2 > Ay1
    then 
   else 
  else 
 else A B를 바 

3.23. 9 28, 10 2

  • 1 .


Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:22:20
Processing time 0.0456 sec