Divisibility
922F2400· grandmaster1s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
3 3
Output
No
Sample 2of 3
Input
6 6
Output
Yes51 2 4 5 6
Sample 3of 3
Input
8 3
Output
Yes42 4 5 8
58%
922F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
3 3
No
6 6
Yes51 2 4 5 6
8 3
Yes42 4 5 8