Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2014
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.13 KB | None | 0 0
  1. /* UVa 10970 Big Chocolate */
  2. #include <stdio.h>
  3. int main()
  4. {
  5. int n,m;
  6. while(scanf("%d %d",&n,&m)!=EOF) printf("%d\n",m*n-1);
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement