0
Its not breaking a Loop (Java)
I dont have Any soloution can someone help? Code: ------- https://code.sololearn.com/cX41Y2D9jRR7/?ref=app -------
11 Réponses
+ 3
Remove first line from your code because self define package will not work here.
After removing that line working fine.
+ 3
Booztay here in Sololearn Playground we can't take input at running time. So whatever you are getting in case 2 from the input it will not work.
+ 2
Booztay one more thing you have given so much time for each thread. Just remove one 0 from your threads time and check.
+ 2
Booztay Yes.
+ 2
Booztay Yes you are right but check the output. It's giving execution timeout because of that time given in threads. So you have to give time as 100, 200, 300..
+ 1
AJ Anant i just post my Code from here to got an answer, im compiling it in other App
+ 1
AJ Anant i already Remove it
+ 1
AJ Anant the Thread.sleep(); thingy?
+ 1
AJ Anant ive used it so, user can read the description before the Randomazation start
+ 1
AJ Anant ive been using it so, user can read the description before the Randomazation start
+ 1
AJ Anant im compiling it in other app, i just post in here to get an answer, because im out of soloution