fork download
  1. #include <iostream>
  2. using namespace std;
  3. #include <limits>
  4.  
  5. int main() {
  6. // your code goes here
  7. size_t x = std::numeric_limits<unsigned long>::max();
  8. ssize_t y = (ssize_t) x;
  9. std::cout<<y;
  10.  
  11. return 0;
  12. }
Success #stdin #stdout 0.01s 5436KB
stdin
Standard input is empty
stdout
-1