Problem | glottalstops |
---|---|
User | Elnathan |
Submission Time | 2024-07-10 16:31:26 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
glottalstops.cpp: In function ‘int main()’:
glottalstops.cpp:4:62: error: no matching function for call to ‘__gcd(long long int&)’
4 | main(){long long n;scanf("%d", &n);printf("%ll", std::__gcd(n));}
| ^
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: candidate: ‘template<class _EuclideanRingElement> _EuclideanRingElement std::__gcd(_EuclideanRingElement, _EuclideanRingElement)’
1238 | __gcd(_EuclideanRingElement __m, _EuclideanRingElement __n)
| ^~~~~
/usr/include/c++/9/bits/stl_algo.h:1238:5: note: template argument deduction/substitution failed:
glottalstops.cpp:4:62: note: candidate expects 2 arguments, 1 provided
4 | main(){long long n;scanf("%d", &n);printf("%ll", std::__gcd(n));}
|