3/16/2013

10970 Big Chocolate - UVA


  1. #include<iostream>
  2. using namespace std;
  3. int main ()
  4. {
  5.         int m , n;
  6.         while(cin>>m>>n)
  7.         {
  8.                 int res = (m*n) - 1;
  9.                 cout<<res<<endl;
  10.         }
  11.         return 0;
  12. }

You can find more of my solutions on Here

No comments:

Post a Comment