Open AlexOldest opened 2 months ago
Sorry, I was wrong about the uselessness of sending structs by value and trying to change them. The changes will not have effect outside the function, but now I see that you use one of these changes within the function.
I found your detailed explanation and the code at https://ccc.amorim.ca/docs/2020/s4/ Thank you for all your works that I found on this site. Analyzing the code of function:
static int compute_swaps(counts total, counts a, counts b, counts c)
I noticed that: