fork download
  1. unsigned long long mpz2ull (mpz_class n)
  2. {
  3. mpz_class hi=(n>>32);
  4. unsigned long long r = hi.get_ui();
  5. return r<<32 | n.get_ui();
  6. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1:29: error: 'mpz_class' was not declared in this scope
prog.cpp:2:1: error: expected ',' or ';' before '{' token
stdout
Standard output is empty