C# Timing

Anybody know how can i reduce the execution time of my C# program…
ANy help is highly appreciated.
I tried:
Removing unused namespaces.
Removed Unused declarations.
Removed SOme looping- not all-as it was required for my program.
Initialized data whenever required instead of declaring all of them once.
Created function or modulus of the program.

Still same time, but adding function increased a little milliseconds :frowning:
Problem: CodeChef: Practical coding for everyone

Sorry can’t share the code now as the competition is going on.

Hi, Kindly post your query on the editorial page of the problem here: NUMFACT - Editorial - editorial - CodeChef Discuss