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.
User avatar
ymondelo20
COJ Administrator
Posts: 1968
Joined: Sun Nov 13, 2011 12:32 pm
Location: Universidad de las Ciencias Informáticas
Gender: None specified
Contact:

2740 - Coco-Bits and the Water

Postby ymondelo20 » Wed Mar 19, 2014 9:38 pm



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

User avatar
ymondelo20
COJ Administrator
Posts: 1968
Joined: Sun Nov 13, 2011 12:32 pm
Location: Universidad de las Ciencias Informáticas
Gender: None specified
Contact:

Re: 2740 - Coco-Bits and the Water

Postby ymondelo20 » Sun Feb 21, 2016 10:50 am

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: 55
Joined: Mon Jun 22, 2015 3:47 pm
Gender: Male

Re: 2740 - Coco-Bits and the Water

Postby alurquiza » Fri Oct 28, 2016 10:11 am

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
COJ Administrator
Posts: 1968
Joined: Sun Nov 13, 2011 12:32 pm
Location: Universidad de las Ciencias Informáticas
Gender: None specified
Contact:

Re: 2740 - Coco-Bits and the Water

Postby ymondelo20 » Tue Nov 01, 2016 12:09 am

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. ;)


Return to “Problem set”

Who is online

Users browsing this forum: No registered users and 1 guest