+ 1
How to solve Time Limit Exceeded
I'm trying the exercise in the book Head First Java about branching and the code runs but it says "Time Limit Exceeded". Anyone willing to help? 😁 you can see my code on my timeline thanks
4 Antworten
+ 7
Time limit is exceeded because there are too many bottles of beer🍺 (in this case, 99) but limited time on SL's online compiler.
You get about 3 seconds (I don't know the actual number) to compile & run your code on their environment.
So, if you want to get rid of time limit, either decrease the number of bottles 😄😂 , or run your code on a locally installed IDE.
+ 1
here's the link to my code
https://code.sololearn.com/c6FPMRq31rUm/?ref=app
0
answer me yall
0
i thought there's something wrong with the logic.. 😂 anyway i appreciate your efforts answering my questions, thank you!