Tuesday, 8 May 2012

UVa 10970 Big Chocolate Solution

#include<stdio.h>
int main()
{
int m,n,c;
while(scanf("%d%d",&m,&n)==2)
printf("%d\n",m*n-1);
return 0;
}

No comments:

Post a Comment