Time limit exceeded
I have a problem: the code is written, but the time limit is exceeded. How do I rewrite the code to make it work? https://code.sololearn.com/cyw7t0g41BOh/?ref=app
A for loop works like this: for(declare variable; condition; raise variable) You put candy++ where you should have put the condition, so it will never return false and the loop will never end.
change for( ... ; ... ;) to for(; ... ; ... )
Moritz Vogel I think like you said it will never return false instead of true🤔🤔😂
Moritz Vogel Just edit it and we'll delete the other posts.
Decimal to Hex in C++
Tuple Hadouken : I cannot tell what this is, in Python 3.11 (problem likely not due to it being in 3.11 though)
Locked out by Rocket Icon