Problem lcm
User IWKR
Submission Time 2023-01-03 21:48:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lcm.cpp: In function ‘int main()’:
lcm.cpp:10:11: error: ‘__lcm’ was not declared in this scope; did you mean ‘std::__detail::__lcm’?
10 | cout << __lcm(a, b) << '/n';
| ^~~~~
| std::__detail::__lcm
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:84,
from lcm.cpp:1:
/usr/include/c++/9/numeric:114:5: note: ‘std::__detail::__lcm’ declared here
114 | __lcm(_Tp __m, _Tp __n)
| ^~~~~