UVA 10970

#include<iostream>
using namespace std;
int main()
{
    int m,n;
    while(cin>>m>>n)
    {
        cout<<m*n-1<<endl;
    }
    return 0;
}

 

posted @ 2012-04-28 12:12  open your eyes  阅读(100)  评论(0编辑  收藏  举报