79691817

Date: 2025-07-06 14:18:45
Score: 1.5
Natty:
Report link

A bit late, but the reason why activeGames.getOrDefault(id, Game(id)) always creates a new game is that you create a Game instance as an argument to be passed to getOrDefault(). When getOrDefault() starts, the instance has already been created.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: tucuxi