#include<iostream>
#include<cstdio>
#include<cstring>
#include<cmath>
using namespace std;
int main()
{
long long n, m, ans=0;
while(scanf("%lld%lld", &n, &m)==2)
{
ans=(n*m);
printf("%lld\n", ans-1);
}
return 0;
}
#include <stdio.h> #include<string.h> int main() { char* country = "Bangladesh"; char* country2; ...
No comments:
Post a Comment