Cut Ribbon
Problem Link :- [https://codeforces.com/problemset/problem/189/A]  Polycarpus has a ribbon, its...
Tags: codeforces, math, array, bruteforce