fork(1) download
  1. #include <iostream>
  2. #include <memory>
  3. using namespace std;
  4.  
  5. struct P {
  6. size_t height, width;
  7. std::unique_ptr<size_t[]> vals = std::make_unique<size_t[]>(height * width * 3);
  8. };
  9.  
  10. int main() {
  11.  
  12. P p{1, 2};
  13.  
  14. // your code goes here
  15. return 0;
  16. }
Success #stdin #stdout 0s 4516KB
stdin
Standard input is empty
stdout
Standard output is empty