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