• + 2 comments

    Actually, you can include the algorithm library, and then you can simply use oneline to get the maximum value