Pages

Wednesday 3 October 2012

UVA - 10970 - Big Chocolate

#include <stdio.h>


int main()
{
        int x,y;
        while(scanf("%d %d",&x,&y)== 2){
            printf("%d\n",x*y-1);
        }
    return 0;
}

No comments:

Post a Comment