Algorithm of 10970 - Big Chocolate

Problem Description Link
Algorithm:
This is a very simple problem. Just read this problem carefully.
To solve this problem you can follow this technique the minimum number of cuts needed to split the
 entire chocolate into unit size pieces is (m*n-1)
image

No comments:

Post a Comment

Write your comment - Share Knowledge and Experience