CF 407C - Curious Array

Codeforces 407C: Curious Array

CF 407C - Curious Array

Rating: 2500
Tags: brute force, combinatorics, implementation, math
Solve time: 34s
Verified: no

Solution