Alwaldend
Docs
Light
Dark
Auto
Docs
Misc
Leetcode submissions
2025-08-20 18:44:00 +0300 MSK
2025-08-20 18:44:00 +0300 MSK
Count Distinct Numbers on Board
Tags:
Generated
Leetcode_submission
Links
https://leetcode.com/submissions/detail/1742221077/
Code
class
Solution
:
def
distinctIntegers
(self, n: int)
->
int:
if
n
==
1
:
return
1
return
n
-
1