0
Suggest me a way to make this code run faster, it's a competitive coding question
2 Answers
+ 4
Two problems:
1) Without knowing the assignment, we can only inspect your code, try to understand what you intended to do, try to find a more efficient way for what we think you wanted to achieve etc.
2) The whole point of competitive programming is to find the most efficient way to solve a problem. Writing a seemingly inefficient code and asking others to optimize it for you contradicts what competitive programming is all about...
0
But I want a suggestion that will help me