Perfect Groups
980D2100· master1s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
25 5
Output
3 0
Sample 2of 3
Input
55 -4 2 1 8
Output
5 5 3 2 0
Sample 3of 3
Input
10
Output
1
58%
980D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
25 5
3 0
55 -4 2 1 8
5 5 3 2 0
10
1