Added srand, typo
Mix -> template arguments
rand() -> reentrant rand_r()
rand() -> reentrant rand_r() + test calculator
Removed comments
time limit moved to Calculate(), added maximizing function
Preparing tests
Added main program