0

How to improve time complexity?

This code is correct but it shows time limit exceeded in the codechef oj. I want some help from to improve its time complexity. What is the wrong in this code? https://code.sololearn.com/conR9PjAKP0W/?ref=app

7th Jul 2021, 12:14 PM
Anikur Rahman
Anikur Rahman - avatar
3 Answers
+ 1
UDDHAV PROG You can find the question statement of this code in "Codechef July long challenge 2021"
7th Jul 2021, 12:29 PM
Anikur Rahman
Anikur Rahman - avatar
0
Tell us what to enter
7th Jul 2021, 12:26 PM
UJCoder
UJCoder - avatar
0
Ok
7th Jul 2021, 12:30 PM
UJCoder
UJCoder - avatar