Skip to content

21.02.23 [백준] 8980 택배 #153

Open

Description

@blossun

아이디어

어려운점 & 실수

  • 반례
    1번에서 무조건 싣는 것이 최고의 해가 아님...!!
    마지막 타운부터 시작해서 출발지가 더 가까운 곳의 짐을 적재하는 것이 많은 양을 배달할 수 있다.
4 40
3
1 4 40
2 3 40
3 4 40
⇒ 80
  • 정렬
1 4 40
2 3 40
3 4 40
1 2 40
1 3 40
2 4 40
⇒ 
1 2 40
2 3 40
1 3 40
3 4 40
2 4 40
1 4 40
→ Source는 내림차순, Target은 오름차순

정답

Activity

  1. self-assigned this
    on Feb 23, 2021
  2. blossun commented on Feb 23, 2021

    @blossun
    OwnerAuthor

    반례

    4 40
    3
    1 4 40
    2 3 40
    3 4 40
    ⇒ 80
    
  3. blossun commented on Feb 24, 2021

    @blossun
    OwnerAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions