Cody

Problem 44241. NCHOOSEK - Time Optimization

Created by LY Cao in Community

Input

  • V —— Set of all choices, a vector of N, 1 < N < 100
  • K —— Number of selected choices, a scalar, 0 <= K <= N

Outout

  • C —— All combinations of V, equivalent to nchoosek(V, K)

Scoring

Time consumed

Solution Stats

66.67% Correct | 33.33% Incorrect
Last solution submitted on Mar 20, 2019

Problem Comments