0
Time limit exceeded
Canāt see the problem... Manually setting int elements = 1; or less works however and returns false... Any help suuuper appreciated! https://code.sololearn.com/cQBpM2Jeor0o/?ref=app
5 Answers
+ 5
in your code the mistake is u place a greater than symbol in last two condition statements ...just replace the greater than to less than in the last else if statement
then it works
+ 1
@Gordie , you just answered my second question I just wrote :P Thank you! I should have seen that.
0
Thanks!