{"problem":{"name":"[语言月赛202303] Hack Problem P","description":{"content":"下面程序想要实现的功能为： > 给出两个正整数 $x, y$，保证它们的最小公倍数（$\\mathrm{lcm}$）不大于 $10^9$。求它们的最小公倍数。 ```cpp #include <iostream> #include <algorithm> int main() {   int x, y;   std::cin >> x >> y;   int ans = x * y / std","description_type":"Markdown"},"platform":"Luogu","limit":{"time_limit":1000,"memory_limit":524288},"difficulty":{"LuoguStyle":"P2"},"is_remote":true,"is_sync":true,"sync_url":null,"sign":"LGB3727"},"statements":[{"statement_type":"Markdown","content":"下面程序想要实现的功能为：\n\n> 给出两个正整数 $x, y$，保证它们的最小公倍数（$\\mathrm{lcm}$）不大于 $10^9$。求它们的最小公倍数。\n\n```cpp\n#include <iostream>\n#include <algorithm>\n\nint main() {\n  int x, y;\n  std::cin >> x >> y;\n  int ans = x * y / std::__gcd(x, y);\n  std::cout << ans << std::endl;\n}\n```\n\n但是这个程序存在一些问题，请你提交一个程序，你提交的程序**应当输出一组这道题的输入数据，使得上面的程序输出错误的结果**。\n\n提示：\n1. `__gcd(x, y)` 可以求出 $x$ 和 $y$ 的最大公因数。\n2. $\\mathrm{lcm}(x,y)\n\\times\\mathrm{gcd}(x,y)=x\n\\times y$\n\n## Input\n\n无\n\n## Output\n\n你提交的程序输出的输入数据应当符合下面的格式：\n\n> $x \\quad y$\n\n你给出的数据需要满足 $1 \\leq x, y \\leq 10^9$，且你**必须保证**两数的最小公倍数也不超过 $10^9$。\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"LGB3727","tags":["2023","Special Judge","O2优化","语言月赛"],"sample_group":[],"created_at":"2026-03-03 11:09:25"}}