Write a C++ function that takes a map as an input and returns the largest pair in the map, in 8 lines or fewer. A pair is considered larger if its second value is larger than another pair's second value.
spam lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor creativity violence