#51256: c++正解跟思路 (想學再點)


yp11451032@yphs.tp.edu.tw (711-23吳嘉恩)


#include <iostream>
using namespace std;
int main(){
int a,b;//宣告變數
while(cin>>a>>b){//重複輸入
cout<<a*b-1<<endl;//記得換行
}}