cf/mirror

Divisibility

CF
922F2400· grandmaster1s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
3 3
Output
No
Sample 2of 3
Input
6 6
Output
Yes
5
1 2 4 5 6
Sample 3of 3
Input
8 3
Output
Yes
4
2 4 5 8
922F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)