Borderou de evaluare (job #3299609)
Utilizator | Data | 8 iunie 2025 17:45:38 | |
---|---|---|---|
Problema | CMMDC | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:8:11: error: '__gcd' was not declared in this scope; did you mean 'std::__gcd'?
8 | int c=__gcd(a,b);
| ^~~~~
| std::__gcd
In file included from /usr/include/c++/12.2.1/algorithm:61,
from main.cpp:2:
/usr/include/c++/12.2.1/bits/stl_algo.h:1182:5: note: 'std::__gcd' declared here
1182 | __gcd(_EuclideanRingElement __m, _EuclideanRingElement __n)
| ^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !