现在的位置: 首页 > 综合 > 正文

UVA 10970 Big Chocolate

2019年04月06日 ⁄ 综合 ⁄ 共 260字 ⁄ 字号 评论关闭

大意略。

#include <iostream>
#include <cstdlib>
#include <cstdio>
#include <string>
#include <cstring>
#include <cmath>
#include <vector>
#include <queue>
#include <stack>
#include <algorithm>
using namespace std;

int main()
{
	int n, m;
	while(~scanf("%d%d", &n, &m)) printf("%d\n", n*m-1);
	return 0;
}

抱歉!评论已关闭.