How long can olives be left out of the refrigerator?
Traditional pickles made with brine and vinegar are very hardy, and where used in the days before refrigeration to store food over many months

The secret is to only use a very clean utensil to remove a single daily portion from the main storage vessel, and otherwise keep the main storage vessel tightly closed and in a cool and dark location

With modern pickles, who knows? Read the side of the jar, if it seems to have a decent amount of salt and/or vinegar it should be just fine

If you haven't put dirty utensils or your hands in it, it will last a long time (weeks or months, depending on the ambient temperature level) 

Otherwise, just keep them in the fridge :-)