3L×0KJ‚€{íË
Takes the medals input in the order [bronze, silver, gold]
as first input, and reputation
as second input.
Try it online or verify all test cases.
Explanation:
3L # Push the list [1,2,3]
× # Repeat the values in the (implicit) input-list that many times as string
0K # Remove all 0s (so all "0", "00" and "000")
J # Join the strings in the list together
‚ # Pair this string with the (implicit) second input
€{í # Sort the digits in both strings in descending order
Ë # And check if both are now equal
# (after which the result is output implicitly as result)