Distributed counters for a programming competition