English:
Say how many diferent numbers can be formed as the result of the product of one, two, or more of the next numbers: 5, 22, 91, 455, 2002, 199945, 877758, 438790, 48266900.
For example: 5 (5), 2002 (22*91), 45374875 (5*455*19945), etc.
Spanish:
Decir cuántos números distintos se pueden formar como resultado del producto de uno, dos, o
más de los siguientes números, sin repetir: 5, 22, 91, 455, 2002, 19945, 87758, 438790,
48266900.
Por ejemplo: 5 (5), 2002 (22·91), 45374875 (5·455·19945), etc.
I think i solved it in python
Python pastebin - collaborative debugging tool
But i have no idea how to do it in C. I woul really appreciate your help