CPP
cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <iostream>
#include <vector>
using namespace std;
void* operator new (size_t t)
{
cout << t << endl;
return malloc(t);
}
int main()
{
vector<string> v;
string s = "12345678912345678900";
long long int cnt = 2^270;
for(auto i=1; i < cnt;++i)
v.push_back(s);
return 0;
}
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run