fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main() {
  5. int x=_gcd(15,5);
  6. cout<<x;
  7. return 0;
  8. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:5:17: error: ‘_gcd’ was not declared in this scope
  int x=_gcd(15,5);
                 ^
stdout
Standard output is empty