Bash and a Tough Math Puzzle
914D1900· candidate master2.5s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
32 6 341 1 2 21 1 3 32 1 91 1 3 2
Output
YESYESNO
Sample 2of 2
Input
51 2 3 4 561 1 4 22 3 61 1 4 21 1 5 22 5 101 1 5 2
Output
NOYESNOYES
58%
914D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)