On Algorithms Operating in Adversarial Conditions