fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. double *array = new double[1000000];
  7. for(int i = 0; i < 1000000; i++)
  8. {
  9. *(array + i) = 0;
  10. }
  11. return 0;
  12. }
Success #stdin #stdout 0s 11152KB
stdin
Standard input is empty
stdout
Standard output is empty