Big Chocolate


SUBMITTED BY: Guest

DATE: Dec. 5, 2013, 3:20 p.m.

FORMAT: C++

SIZE: 197 Bytes

HITS: 680

  1. #include <stdio.h>
  2. int main()
  3. {
  4. int m, n, c;
  5. while(scanf("%d %d", &m, &n)!=EOF) {
  6. c = (m*n) - 1;
  7. printf("%d\n", c);
  8. }
  9. return 0;
  10. }

comments powered by Disqus