acmsguru |
---|
Finished |
ERROR". Otherwise, print to output n lines. i-th line should contain two non-negative integers, denoting the number of schoolboys joined and the number of schoolgirls separated from the teacher respectively exactly before he recalculated students at i-th time. If there are multiple solutions, output any.
sample input | sample output |
3 3 2 2 3 | 1 2 2 1 |
sample input | sample output |
3 3 3 1 2 5 | ERROR |
sample input | sample output |
2 2 1 2 | 0 0 |
Name |
---|