fork download
  1. #include <iostream>
  2. #include <string.h>
  3. using namespace std;
  4.  
  5. int main() {
  6. // your code goes here
  7. int *arr = new int[100];
  8. memset(arr,0xff,sizeof(int)*100);
  9. cout << arr[0] << arr[1];
  10. return 0;
  11. }
Success #stdin #stdout 0s 3472KB
stdin
Standard input is empty
stdout
-1-1