Time limit
1000 ms
Memory limit
65536 kB
OS
Linux
Source
POJ Contest,Author:Mathematica@ZSU
Descriptions:

Farey Sequence

POJ - 2478