Budget: 1000 UAH Deadline: 2 days
Good day! Essentially, this is a classic union-find: adding a path merges two cells into one component, and the query checks if they are already connected, returning C or NC. I have done such tasks in Python and C++, so I will do it quickly considering the input format from your file. I will look at the attached file with details — and it will be ready in a day or two. Regarding payment, I work through the Safe freelancehunt, as it is more reliable for both of us.