cf/mirror

Relatively Prime Pairs

CF
1051B1000· newbie2s256 MB⌨ stdin/stdout

Examples

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