Typically, when visiting the Maldives, you will find power outlets of the 220-240 variety, which is the three-pin style typically found in the United Kingdom.
Some resorts will offer adapters or converters for guests to be able to use their shavers and more. However, don’t depend on it and bring your own to ensure you can use the outlets.