Exit code 3221225725
is 0xC00000FD
in hex, which is STATUS_STACK_OVERFLOW
.
Essentially, your initializer list is too large. This is a known problem P2752R3, as explained here.
But the fix is currently supported only in GCC v14, see cppreference.
Anyway, as people have mentioned in comments to your question, never #include <bits/stdc++.h>
, because the standard C++ does not have that header, see Why should I not #include <bits/stdc++.h>
?.
Also, don't use using namespace std;
, certainly never in headers, but preferably not in source code as well, see What's the problem with using namespace std;
?.