Restricted Sum

$$x,y$$ and $$z$$ are integers between $$0, 100$$, inclusive.

What are all the possible non-distinct triples $$(x,y,z)$$ such that $$x+y+z=200$$

Extension: Find the number of distinct/ordered triples that satisfy the above conditions.

×