MCPcopy Create free account
hub / github.com/dongyi-kim/10weeks-codingtest / f

Method f

chapter09/problem_k/Main.java:66–92  ·  view source on GitHub ↗

items[0..lastItemIndex]의 보석만을 고려하여 정확히 totalCost의 무게를 채웠을 때 얻을 수 있는 최대 가치 @param lastItemIndex 마지막 보석의 인덱스 @param totalCost 사용할 모든 보석의 무게 합 @return

(int lastItemIndex, int totalCost)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected