fork download
  1. #include <iostream>
  2. #include <cinttypes>
  3. using namespace std;
  4.  
  5. int main() {
  6. uint64_t n=1<<63;
  7. uint64_t p=1LLU<<63;
  8. std::cout<< std::hex << n<<std::endl;
  9. std::cout<< std::hex << p <<std::endl;
  10. return 0;
  11. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
0
8000000000000000