3224 - (*) Dividing Stones   

Description

 https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&category=380&page=show_problem&problem=3117

Input

Output

Sample Input  Download

Sample Output  Download

Tags




Discuss