cf/mirror

Marin and Anti-coprime Permutation

CF
1658B800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
7
1
2
3
4
5
6
1000
Output
0
1
0
4
0
36
665702330
1658B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)