cf/mirror

Sereja ans Anagrams

CF
367B1900· candidate master1s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
5 3 1
1 2 3 2 1
1 2 3
Output
2
1 3
Sample 2of 2
Input
6 3 2
1 3 2 2 3 1
1 2 3
Output
2
1 2
367B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)