You can always use any of online judge services allowing you to set problem/organize contests (like http://spoj.pl) but how do you know your candidate is really solving the problem by himself?
What is the advantage here?
You'd save the time needed to switch between environments if you want to examine the candidate in different languages.