+ 6
how can i improve time on my codes?
in frapascript it has over 2000 limes of code and it say time limit exceeded
2 odpowiedzi
+ 3
It’s more likely that there is a bug somewhere in the program that causes an infinite loop, although if this is a time or memory problem, you could first try to get rid of as much of the code and variables as you can. You could also switch to a language that supports pointers and pass by reference instead of value as long as you don’t have to change the parameter’s value in the function.