4815 Kid's Wishes

Do you want to discuss about these problems? Go now!
Users are shared (no need to re-register).

Moderator: Board moderators

Post Reply
roberto0117
New poster
Posts: 3
Joined: Sun Oct 09, 2011 5:40 pm

4815 Kid's Wishes

Post by roberto0117 » Sun Oct 09, 2011 5:43 pm

Hi, I don't what's running wrong.

Here is my algorithm. It's in C++.

The idea is to detect if there is a cycle or not. I don't know why is it wrong. I got WA.

Code: Select all

I got A.C. :D
Last edited by roberto0117 on Thu Oct 13, 2011 6:08 pm, edited 1 time in total.

roberto0117
New poster
Posts: 3
Joined: Sun Oct 09, 2011 5:40 pm

Re: 4815 Kid's Wishes

Post by roberto0117 » Mon Oct 10, 2011 2:42 pm

Maybe is there anybody with some Samples Input/Output to check if there is something wrong with the algorithm?

Post Reply

Return to “ACM ICPC Archive Board”