Array Division
808D1900· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
31 3 2
Output
YES
Sample 2of 3
Input
51 2 3 4 5
Output
NO
Sample 3of 3
Input
52 2 3 4 5
Output
YES
58%
808D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
31 3 2
YES
51 2 3 4 5
NO
52 2 3 4 5
YES