PROBLEM LINKS:
DIFFICULTY:
Medium
PREREQUISITES:
Math, Cycles
SOLUTION:`
http://olympiads.win.tue.nl/ioi/ioi2005/contest/ioi2005-tasks-and-solutions-a5.pdf
EDITORIALIST’S SOLUTION:
Can be found here.
Medium
Math, Cycles
http://olympiads.win.tue.nl/ioi/ioi2005/contest/ioi2005-tasks-and-solutions-a5.pdf
Can be found here.