fork download
  1. #include <iostream>
  2. #include <cstdint>
  3. int main(){
  4. static const std::uint64_t Len = 0x7ffffffff;
  5. std::uint64_t StackOverFlow[Len];
  6. StackOverFlow[0] = 0xdeadbeef;
  7.  
  8. return 0;
  9. }
Compilation error #stdin compilation error #stdout 0s 3336KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:5:33: error: size of array ‘StackOverFlow’ is too large
  std::uint64_t StackOverFlow[Len];
                                 ^
prog.cpp:6:2: error: ‘StackOverFlow’ was not declared in this scope
  StackOverFlow[0] = 0xdeadbeef;
  ^
stdout
Standard output is empty