Just a heads up if someone else gets this bug:
#pragma GCC optimize("Ofast") #pragma GCC target("avx,avx2,fma")
I usually add these two lines of pragmas in my code. But on submitting it to the POI judge, it gives runtime error 4, and when excluded, it doesn't.
Would also be nice if someone could elaborate on why Runtime error 4 is returned on passing the pragmas.