2740 - Coco-Bits and the Water

Discussion around the problems of the COJ.
Forum rules
Remember that posting AC code is not allowed here. If you are going to ask a question or to post a solution, describe your algorithm instead. Posting AC code will be penalized.
Post Reply
User avatar
ymondelo20
Posts: 1968
Joined: 6 years ago
Location: Universidad de las Ciencias Informáticas
Gender: None specified
Contact:

2740 - Coco-Bits and the Water

Post by ymondelo20 » 4 years ago



"Every problem has a simple, fast and wrong solution" OJ's Main Law. ;)

User avatar
ymondelo20
Posts: 1968
Joined: 6 years ago
Location: Universidad de las Ciencias Informáticas
Gender: None specified
Contact:

Re: 2740 - Coco-Bits and the Water

Post by ymondelo20 » 2 years ago

Datasets were fixed, and submissions rejudged (some previous WA/RTE are now accepted).
Statement was improved a little for better understanding.
Greetings.
"Every problem has a simple, fast and wrong solution" OJ's Main Law. ;)

User avatar
alurquiza
Posts: 54
Joined: 3 years ago
Gender: Male

Re: 2740 - Coco-Bits and the Water

Post by alurquiza » 1 year ago

El problema no tiene limites. No te dice cuantos nodos(tanques de agua), ni cuantas aristas(conexiones) hay en el grafo, que en este caso es un arbol. :?:

User avatar
ymondelo20
Posts: 1968
Joined: 6 years ago
Location: Universidad de las Ciencias Informáticas
Gender: None specified
Contact:

Re: 2740 - Coco-Bits and the Water

Post by ymondelo20 » 1 year ago

Resuelto usando 10^6 como máximo valor para ambos parámetros.
"Every problem has a simple, fast and wrong solution" OJ's Main Law. ;)

Post Reply

Return to “Problem set”