forked from kalmar/DALGLI0
spacing
This commit is contained in:
parent
8bf068c6fe
commit
679f76a102
@ -1,22 +1,19 @@
|
||||
## Zadanie
|
||||
|
||||
Napisać algorytm, który dla danego `n ∈ ℕ` znajdzie wszystkie:
|
||||
|
||||
1. elementy odwracalne
|
||||
2. dzielniki zera
|
||||
3. elementy nilpotentne
|
||||
4. elementy idempotentne
|
||||
4. elementy idempotentne
|
||||
|
||||
w pierścieniu `{ℤ/nℤ, +, ⋅}`.
|
||||
|
||||
### Przykłady:
|
||||
|
||||
* Input:
|
||||
> `4`
|
||||
* Output:
|
||||
> `[[1,3], [0,2], [0,2], [0,1]]`
|
||||
|
||||
* Input:
|
||||
> `6`
|
||||
* Output:
|
||||
> `[[1,5], [0,2,3,4], [0], [0,1,3,4]]`
|
||||
> Input: `4`
|
||||
> Output: `[[1,3], [0,2], [0,2], [0,1]]`
|
||||
|
||||
> Input: `6`
|
||||
> Output: `[[1,5], [0,2,3,4], [0], [0,1,3,4]]`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user