Your code’s a bit hard to read as it was not properly formatted… I recall code should be put inside code tags which are represented as 101 010 block on the edition bar above this text box…
printf("%d", num);
//this is a second line in code format
for example, as with the above format…
With that cleared out, I can immediately see a problem with your code as the line:
printf("min :%dn", min[j]);
is printing to standard output more things that the ones that are strictly necessary and that issue alone will cause you a Wrong Answer as the code output format is not the same as the specified by the problem statement…