Three detained for high-tech exam cheating