Cody

Problem 43117. 2D Indexes

Given in input the maximum degree P, the algorithm furnishes a ordered list of two dimensional vectors [i,j] i,j>=0 such that i+j<=P-1

P=2
indexes=[0,0;1,0;0,1]
P=3
indexes=[0,0;1,0;0,1;2,0;1,1;0,2]

Solution Stats

66.67% Correct | 33.33% Incorrect
Last solution submitted on Jul 12, 2018

Problem Recent Solvers8

Suggested Problems

More from this Author2

Problem Tags