I was trying to use the FastOlympicCoding package of Sublime. The only problem is that I dont know how to continuously change seed of the random function on each test case.
And srand(time(NULL)) is taking too much time (1 sec) to change the seed value so it's not good either.
I saw on other blogs that we can do this by changing the arguments for of int main but I have no idea how to do this kind of stuff in this package.
Maybe a stupid idea but, How about accessing an uninitialized integer array?
Edit: If this is about test case generation this video does it using arguments of the main function
How about
srand(chrono::steady_clock::now().time_since_epoch().count());
?