Hi,
It seems very strange to me while solving this question in beginner section Smallest Numbers of Notes.
Here are the links of my solutions that are been accepted and rejected. The only difference between two of them is that in the failed one (which I tried firstly of course!!), the data types of variables are unsigned long type and unsigned int type.
u32 is typedef unsigned long
u32 num,L,min=0, Arr[] = {1,2,5,10,50,100};
While in the accepted solution I just replaced unsigned int and unsigned long to int data-type
int num,L,min=0, Arr[] = {1,2,5,10,50,100};
Any idea why the last one accepted not the first one??
Even constraints are satisfies by the first solution too!!!