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