how can i reduce the execution time of the program when i am using large arrays and long long integers.