Problem glottalstops
User Elnathan
Submission Time 2024-07-10 16:31:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

glottalstops.cpp: In function ‘int main()’:
glottalstops.cpp:4:50: error: ‘__gcd’ was not declared in this scope; did you mean ‘std::__gcd’?
4 | main(){long long n;scanf("%d", &n);printf("%ll", __gcd(n));}
| ^~~~~
| std::__gcd
In file included from /usr/include/c++/9/algorithm:62,
from glottalstops.cpp:2:
/usr/include/c++/9/bits/stl_algo.h:1238:5: note: ‘std::__gcd’ declared here
1238 | __gcd(_EuclideanRingElement __m, _EuclideanRingElement __n)
| ^~~~~