Difference of GCDs
1708B1100· newbie1s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
45 1 59 1000 200010 30 351 1000000000 1000000000
Output
YES1 2 3 4 5YES1145 1926 1440 1220 1230 1350 1001 1000 1233NOYES1000000000
58%
1708B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)