#include <iostream>using namespace std;int main(){ while(true){ int a, b; cin>>a>>b; cout<<(a*b)-1; }}
while(true){
無限迴圈