Pabon_SEC

Big chocolate

Feb 17th, 2016
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.19 KB | None | 0 0
  1. #include<stdio.h>
  2.  
  3. int main()
  4. {
  5.     long long int a,b,M,N;
  6.  
  7.     while(scanf("%lld%lld",&M,&N)!=EOF)
  8.     {
  9.         a=M*N;
  10.         b=a-1;
  11.         printf("%lld\n",b);
  12.     }
  13.     return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment