Time limit
1000 ms
Memory limit
262144 kB
Source
Codeforces Round #547 (Div. 3)
Tags
implementation math *1000
Editorial
Announcement Tutorial (en)
Descriptions: