I did that just to simplify and as per requirements I was not prohibited from using extension.
Clever
I did that just to simplify and as per requirements I was not prohibited from using extension.
Clever
Daily challenges shouldn’t be using any extensions tho, that’s the point of these,
But, I approve. Nice solution.
And the number of items was even not needed.
Wait what? Extension is not even allowed in daily challenge.
Yeah, in my Python solution I just do int(input())
so it doesn’t store the data anywhere (takes less storage) and just call len(list_)
when needed.
Edited my solution post. Check if you want.
Nice!
Here’s me joining juuust short of the 24h mark.
Can you please screenshot what the result is for
100
4
33 30 2 1
I was unaware that the same item could be bought in multiples.
Wait what? I have to edit now.
Edited. Please check again
Read the challenge!
So mine was correct? Was it? 24 hours have passed so has the challenge ended?
I will put your solution at the end, since you did use extensions. So, if noone did it correctly, you get the mark.
I did, right?
I think so, I can’t test it right now.
@Kanishka_Developer, @WatermelonIce, how many blocks have you got?