cf/mirror

Divisiblity of Differences

CF
876B1300· pupil1s512 MB⌨ stdin/stdout

Examples

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