Practice on Toph

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

How Many Ways Again

Limits 1s, 512 MB

Input

Output

Sample

InputOutput
4 5
1 2 3 4
2

Discussion

Statistics


85% Solution Ratio

aaman007Earliest, Nov '17

fayedanikFastest, 0.0s

aaman007Lightest, 131 kB

minhazmirazShortest, 251B

Submit

Login to submit

Toph uses cookies. By continuing you agree to our Cookie Policy.