-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contact Form Submission - Request - Missing Section or Solution (Problem Solution - Vertex Add Component Sum (ID: ys-VertexAddComponentSum)) #3957
Comments
@brebenelmihnea u up for this? |
@SansPapyrus683 Yep |
For this problem I've tried to code a solution in Python: class PersistentDisjointSet:
Example usageN = 10 # Number of vertices dsu = PersistentDisjointSet(N) Process queriesqueries = [(0, 1, 2), (2, 3, 10), (0, 2, 4), (3, 2, 5), (3,)] |
could you format your code correctly |
class DSU: def find(self, u): def union(self, u, v): N = int(input()) dsu = DSU(N) for _ in range(Q): |
uh it's still not formatted correctly 💀 |
|
very late, but if you want to add your own code to the internal solution, please follow the instructions at https://usaco.guide/general/adding-solution#steps @TheScarletPhoenix |
moved to #4165 |
Someone submitted the contact form!
URL: https://usaco.guide/problems/ys-VertexAddComponentSum/user-solutions
Module: Problem Solution - Vertex Add Component Sum (ID: ys-VertexAddComponentSum)
Topic: Request - Missing Section or Solution
Message:
Can you guys please add a more detailed solution to this problem? The user solution seems a bit difficult to grasp. Thanks a lot and keep doing the amazing work!
The text was updated successfully, but these errors were encountered: