I've been trying to solve one of my solved problem. 6151 — Beehives
I've sovled it a along time ago. It's giving me WA. Just a simple problem, finding the shortest cycle. Then I submitted my previous Accepted code. But it also giving me Wrong Answer verdict.
Here is my previous accepted code. Now I am afraid to try and solve another problem on that judge. Is there any issues?
Thank You.