fork download
  1. #include <iostream>
  2. #include <cstdint>
  3. #include <limits>
  4.  
  5. using namespace std;
  6.  
  7. int main() {
  8. // your code goes here
  9. std::cout << std::numeric_limits<size_t>::max() << std::endl;
  10. std::cout << std::numeric_limits<uint8_t>::max() << std::endl;
  11. std::cout << std::numeric_limits<int32_t>::max() << std::endl;
  12. std::cout << std::numeric_limits<int8_t>::max() << std::endl;
  13.  
  14. std:cout << "Done" << std::endl;
  15. return 0;
  16. }
Success #stdin #stdout 0.01s 5276KB
stdin
Standard input is empty
stdout
18446744073709551615
�
2147483647

Done