CF 487C - Prefix Product Sequence

Codeforces 487C: Prefix Product Sequence

CF 487C - Prefix Product Sequence

Rating: 2300
Tags: constructive algorithms, math, number theory
Solve time: 5m 22s
Verified: no

Solution