next up previous
Next: Spamming Up: Beehives Previous: Sample Input

Sample Output

8 2 7 13 19 25 28 29 30
8 2 7 14 22 31 32 33 34
0
10 2 8 15 23 31 39 46 52 56 57
17 8 18 29 41 54 68 83 99 108 109 110 111 112 113 114 115 116



ACM Programming Contest Account
Mon Feb 5 17:30:22 EST 2001