I is an image of shape (h, w, 3). Return the number of unique colors, i.e. the number of distinct RGB triples among all of its pixels.
I
(h, w, 3)
Sign in to write and run your own code.
solve(...)