How to run this code

I wrote this code by myself just for time-pass. Can someone tell me how to run it or can someone give an input values to it?
Thanks. :slight_smile:

https://hastebin.com/peweroqaqi.cpp

You can use fstream library to take input from file, for such large inputs.