Domanda di colloquio di Optiver

Basic arithmetic but most be solved very quickly