Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* UVa 10970 Big Chocolate */
- #include <stdio.h>
- int main()
- {
- int n,m;
- while(scanf("%d %d",&n,&m)!=EOF) printf("%d\n",m*n-1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement