CF 283D - Cows and Cool Sequences

Codeforces 283D: Cows and Cool Sequences

CF 283D - Cows and Cool Sequences

Rating: 2400
Tags: dp, math, number theory
Solve time: 2m 25s
Verified: no

Solution