10970

超级大水题一道

//============================================================================
// Name        : 10970.cpp
// Author      : 
// Version     :
// Copyright   : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================

#include <iostream>
using namespace std;

int main() {
	int m, n;
	while(cin >> m >> n){
		cout << m*n-1 << endl;
	}
	return 0;
}

  

posted @ 2011-07-24 11:51  KOKO's  阅读(160)  评论(0编辑  收藏  举报