#!/bin/bash
cat <<'EOF' > a.cpp
#include <bits/stdc++.h>
using namespace std;
int main(void) {
    vector<int> a(1000000000);
    a[99999999] = 7;
    cout << 0 << endl;
    return 0;
}
EOF
g++ a.cpp
./a.out &
sleep 1