Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
Java Enum Code coach problem
Does somebody have the same problem and how to solve it in correct way? https://code.sololearn.com/cnJDD4TG00C9/?ref=app
10 Respostas
+ 2
You are changing passed value to medium again.. Why? There is no need of line no:19
Edit : it's removed
+ 1
Yes, it's broken.
With the given Players and their Difficulty, you May never get the expected output.
Next point: there are only 3 players given. But scroll the list of expected output. There are 4 outputs expected.
0
But in expected results I see only three outputs(.
0
Yes, but you can scroll it. Last week, when I did it, there was a 4. line. I have added one Player. Changed All Difficulty of players to get expected output.
0
Oh yes, I didn't see this. First make your code running propper. Then you won't get the test cases.
0
I updated some lines of code but I am not sure that it's correct.
0
Looks good. And at this point I had to add Player 4 with Difficulty HARD to pass the test case. Did you found the 4. line of expected output in the meantime?
0
I am trying this at the moment
0
Yeah, it worked thank you. I think that team of Sololearn made some bugs in code coach section, isn't it?
0
Yes, that's it š