Комментарии

Array b should be of size m, but is that related to TLE?

На shishyando → Codeforces Round #671 Editorial, 6 лет назад
+7

On clicking the link for jury solution of E, it shows "You are not allowed to view the requested page." P.S. It is fixed now.

На vovuh → Codeforces Round #667 (Div. 3), 6 лет назад
0

How will it raise his/her rating?

0

No, it should not, as I said they only check the output text file, they don't run your code, just check it for plagiarism.

+8

No you don't need to do that, you can read the input either from stdin or from file, it doesn't matter, they don't run your code, as given in the FAQ.