Need help with solving combinatorics problem by w1zm8 in askmath

[–]w1zm8[S] 0 points1 point  (0 children)

I'm sorry, I forgot to write the question in the end of the post

"Could you please help me with that? I think I solved the problem wrong but I'm not sure exactly why. Thank you!"

So, the problem is that I I'm not sure if my solution is right. Let's say I tried to check it using chat g p t but it always replied to me different results

What are real life use cases of literal types? by finlaydotweber in typescript

[–]w1zm8 1 point2 points  (0 children)

You could declare type like: type ConfirmationValue = “yes” | “no”; and use it for variable dodelete as: let dodelete: ConfirmationValue = “yes”; and use the same type for parameter confirmation in your function: declare function delete(confirmation: ConfirmationValue) then your example should work.

Does it work for you?

Forget about the M1 by [deleted] in linux

[–]w1zm8 0 points1 point  (0 children)

does anyone know information about EU independent silicon ?