Problem | exponentiate |
---|---|
User | YEethui |
Submission Time | 2023-10-13 13:58:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exponentiate.cpp: In function ‘int main()’:
exponentiate.cpp:28:28: error: ‘__gcd’ was not declared in this scope; did you mean ‘std::__detail::__gcd’?
28 | unsigned int gcd = __gcd(a, m);
| ^~~~~
| std::__detail::__gcd
In file included from exponentiate.cpp:2:
/usr/include/c++/9/numeric:103:5: note: ‘std::__detail::__gcd’ declared here
103 | __gcd(_Tp __m, _Tp __n)
| ^~~~~