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

Method getSumOfPopulations

chapter10/problem_e/Main.java:124–145  ·  view source on GitHub ↗

주어진 범위의 모든 가구에 대한 구성원 수의 합을 계산하는 함수 @param blocks 데이터 블럭들의 배열 @param leftEnd 가장 왼쪽 끝 가구의 번호 @param rightEnd 가장 오른쪽 끝 가구의 번호 @return 해당 범위에 존재하는 구성원 수들의 합

(Range[] blocks, int leftEnd, int rightEnd)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainMethod · 0.95

Calls 2

getSumMethod · 0.45
getMaxMethod · 0.45

Tested by

no test coverage detected