my python code is working perfectly in other ides but showing nzec in codechef ide
if u have not given custom input…give custom input
its time limit exceeded error because your solution runs slow . try to optimize
Code needs to be optimized by time or space or both.
its 1 loop code only…still showing tle
Fibeasy from sept challenge
loops doesnt matter
number of operations does
so we should do <=10^8 operations
(u can use as many loops as u can)
i too have nzec error in python
Common causes of NZEC error are out-of-bound memory access, un-initialized variables and not enough inputs. Check your code for all of these.