Time limit
2000 ms
Memory limit
221184 kB
Source
Codeforces Beta Round #39
Tags
combinatorics *2500
Editorial
Announcement Tutorial #1 (ru) Tutorial #2 (ru)
Descriptions:

Number Table

CodeForces - 40E