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

Method f

chapter09/problem_c/Main.java:111–127  ·  view source on GitHub ↗

profits[0] ~ profits[lastIndex]까지만 고려했을 때의 정답 단, profits[lastIndex]는 무조건 마지막으로 사용한다. @param lastIndex 마지막으로 근무할 날의 인덱스 @return 'lastIndex'번째 날에 마지막으로 근무 했을 때 얻을 수 있는 최대 인센티브

(int lastIndex)

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