lcm, gcd not working

Revision en2, by 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.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Saiyan_1991 2020-04-27 13:04:18 98
en1 English Saiyan_1991 2020-04-27 03:59:13 218 Initial revision (published)