lcm, gcd not working

Правка en2, от Saiyan_1991, 2020-04-27 13:04:18

my g++ version is 9.3.0 but std::lcm() std::gcd() is not working. An error message is showing that "'lcm' was not declared in this scope" or "'gcd' was not declared in this scope". what should I do?

UPD: problem solved...keeping this post for those people who are encountering similar problem.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Saiyan_1991 2020-04-27 13:04:18 98
en1 Английский Saiyan_1991 2020-04-27 03:59:13 218 Initial revision (published)