Hi,↵
↵
I came across [this](http://codeforces.me/problemset/problem/1540/A) problem but I am unable to get:↵
1. how is the graph built↵
2. time loop meaning cycle?↵
3. the hint — each pair of pastures is connected by at most one road in each direction.↵
4. what is the approach ?↵
↵
Can someone explain this problem to me in a more detailed and simpler way? ↵
↵
↵
I think the editorial did its part but I am not able to do mine! : (↵
↵
↵
I came across [this](http://codeforces.me/problemset/problem/1540/A) problem but I am unable to get:↵
1. how is the graph built↵
2. time loop meaning cycle?↵
3. the hint — each pair of pastures is connected by at most one road in each direction.↵
4. what is the approach ?↵
↵
Can someone explain this problem to me in a more detailed and simpler way? ↵
↵
↵
I think the editorial did its part but I am not able to do mine! : (↵
↵




