123456

信鑫  •  3小时前


include

using namespace std;

int main() {

int x, y;
cin >> x >> y;
for (int i = 999; i; i--)
	if (i % x && i % y) {
		cout << i;
		break;
	}
return 0;

}


评论:

请先登录,才能进行评论