I am trying to solve a question whose overall time limit is 3 sec. It has three subtasks. Time limit for each sub tasks in not mentioned, only overall time limit is given. So my first question is Does different subtasks have different time limit?
If the answer to the above question is NO then What should be the worst case time complexity of code to pass in 3 sec on Codechef including test cases?
Like 10^6, 10^7, 10^8 or 10^9?